App::Chart::SymbolHistory -- previously visited symbols
use App::Chart::SymbolHistory; my $history = App::Chart::SymbolHistory->new;
App::Chart::SymbolHistory is a subclass of Glib::Object.
App::Chart::SymbolHistory
Glib::Object
Glib::Object App::Chart::SymbolHistory
A App::Chart::SymbolHistory object records a history of visited symbol and symlist, allowing navigation back or forward in the list.
App::Chart::SymbolHistory->new
Create and return a new symbol history object.
$history->goto ($symbol, $symlist)
Add symbol+symlist to $history as the currently viewed position. If this is different than previously noted then that previous symbol+symlist is added to the "back" list.
$history
$history->back()
$history->forward()
Go back or forward in $history. The return is values ($symbol, $symlist) which is where to go to, or (undef,undef) if nothing further to go to.
($symbol, $symlist)
(undef,undef)
$history->back_menu
$history->forward_menu
Return a Gtk2::Menu of symbols to go back or forward to.
Gtk2::Menu
back-action
Gtk2::Action
forward-action
Action objects to be set sensitive or insensitive according to whether there's anything to go back or forward to.
menu-activate
Emitted when an item symbol+symlist is selected from the back or forward menus (as created by the back_menu etc functions above).
back_menu
Gtk2::Ex::MenuView
To install App::Chart, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Chart
CPAN shell
perl -MCPAN -e shell install App::Chart
For more information on module installation, please visit the detailed CPAN module installation guide.