App::Chart::Gtk2::WatchlistSymbolMenu -- menu for watchlist symbol
use App::Chart::Gtk2::WatchlistSymbolMenu; App::Chart::Gtk2::WatchlistSymbolMenu->popup_from_treeview ($event, $treeview);
App::Chart::Gtk2::WatchlistSymbolMenu is a subclass of Gtk::Menu,
App::Chart::Gtk2::WatchlistSymbolMenu
Gtk::Menu
Gtk2::Widget Gtk2::Container Gtk2::MenuShell Gtk2::Menu App::Chart::Gtk2::WatchlistSymbolMenu
A App::Chart::Gtk2::WatchlistSymbolMenu shows the following things which can be done from a symbol in the Watchlist. It's split out from the main Watchlist code to keep the size there down and since it may not be needed at all if not used.
+----------+ | <SYMBOL> | +----------+ | Chart | view the full chart | Refresh | get a new quote | Intraday | view an intraday graph | Web > | web links from App::Chart::Gtk2::WeblinkMenu +----------+
App::Chart::Gtk2::WatchlistSymbolMenu->new (key=>value,...)
Create and return a new App::Chart::Gtk2::WatchlistSymbolMenu object. Optional key/value pairs set initial properties as per Glib::Object->new.
Glib::Object->new
App::Chart::Gtk2::WatchlistSymbolMenu->popup_from_treeview ($event, $treeview)
$wsmenu->popup_from_treeview ($event, $treeview)
Popup the given $wsmenu, or as a class method create and popup a new menu, in both cases for the symbol under the mouse pointer in $treeview.
$wsmenu
$treeview
$event should be a Gtk2::Gdk::Event giving the mouse position and the model in $treeview is expected to be a App::Chart::Gtk2::WatchlistModel.
$event
Gtk2::Gdk::Event
App::Chart::Gtk2::WatchlistModel
symbol
App::Chart::Gtk2::Job
The stock or commodity symbol string to be acted on by the menu. This is shown in a non-clickable entry in the menu.
symlist
App::Chart::Gtk2::Symlist
The symlist the symbol is from. This is only used for the "Chart" menu item to give a symlist to the main view so Next/Prev will go from within that symlist.
App::Chart::Gtk2::WatchlistDialog, App::Chart::Gtk2::Symlist
To install two_face, copy and paste the appropriate command in to your terminal.
cpanm
cpanm two_face
CPAN shell
perl -MCPAN -e shell install two_face
For more information on module installation, please visit the detailed CPAN module installation guide.