NAME
App::Chart::Gtk2::WeblinkMenu -- menu of weblinks for stock symbol
SYNOPSIS
use App::Chart::Gtk2::WeblinkMenu;
my $menu = App::Chart::Gtk2::WeblinkMenu->new;
DESCRIPTION
A App::Chart::Gtk2::WeblinkMenu widget displays a menu of the weblinks (see App::Chart::Weblink) for a given stock symbol. Clicking on one of the menu items opens the corresponding weblink in a browser as per $weblink->open
.
+---------------------------+
| FOOEX Company Information |
| Google Stock Page |
| Yahoo Stock Page |
+---------------------------+
Any parent menu item holding the WeblinkMenu is set sensitive or insensitive according to whether there's weblinks for the given symbol, including insensitive when the symbol is the empty string.
WIDGET HIERARCHY
App::Chart::Gtk2::WeblinkMenu
is a subclass of Gtk2::Menu
,
Gtk2::Widget
Gtk2::Container
Gtk2::MenuShell
Gtk2::Menu
App::Chart::Gtk2::WeblinkMenu
FUNCTIONS
App::Chart::Gtk2::WeblinkMenu->new (key=>value,...)
-
Create and return a new
App::Chart::Gtk2::WeblinkMenu
object. Optional key/value pairs can be given to set initial properties as perGlib::Object->new
.
PROPERTIES
symbol
(string, default empty "")-
The stock or commodity symbol (a string) to display links for. This can be an empty string "" for no symbol (and hence no links showing).