NAME
App::Chart::SymbolHistory -- previously visited symbols
SYNOPSIS
use App::Chart::SymbolHistory;
my $history = App::Chart::SymbolHistory->new;
OBJECT HIERARCHY
App::Chart::SymbolHistory is a subclass of Glib::Object.
Glib::Object
App::Chart::SymbolHistory
DESCRIPTION
A App::Chart::SymbolHistory object records a history of visited symbol and symlist, allowing navigation back or forward in the list.
FUNCTIONS
App::Chart::SymbolHistory->new-
Create and return a new symbol history object.
$history->goto ($symbol, $symlist)-
Add symbol+symlist to
$historyas the currently viewed position. If this is different than previously noted then that previous symbol+symlist is added to the "back" list. $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. -
Return a
Gtk2::Menuof symbols to go back or forward to.
PROPERTIES
back-action(Gtk2::Action, default undef)forward-action(Gtk2::Action, default undef)-
Action objects to be set sensitive or insensitive according to whether there's anything to go back or forward to.
SIGNALS
-
Emitted when an item symbol+symlist is selected from the back or forward menus (as created by the
back_menuetc functions above).