App::Chart::Gtk2::Ticker -- stock ticker widget
use App::Chart::Gtk2::Ticker; my $ticker = App::Chart::Gtk2::Ticker->new; my $symlist = App::Chart::Gtk2::Symlist::All->instance; $ticker->set (symlist => $symlist);
App::Chart::Gtk2::Ticker is a subclass of Gtk2::Ex::TickerView,
App::Chart::Gtk2::Ticker
Gtk2::Ex::TickerView
Gtk2::Widget ... Gtk2::Ex::TickerView App::Chart::Gtk2::Ticker
A App::Chart::Gtk2::Ticker widget showing stock quotes scrolling across the window for a given symlist (App::Chart::Gtk2::Symlist)
App::Chart::Gtk2::Ticker->new (key => value, ...)
Create and return a App::Chart::Gtk2::Ticker widget. Optional key/value pairs can be given to set initial properties as per Glib::Object->new.
Glib::Object->new
$ticker->menu()
Return the Gtk2::Menu which is popped up by mouse button 3 in the ticker. An application can add items to this, such as "Hide" or "Quit", or perhaps a submenu to change what's displayed.
Gtk2::Menu
$ticker->refresh()
Download fresh prices for the symbols displayed. This is the "Refresh" item in the button-3 menu.
$ticker->help()
Open the Chart manual at the section on the ticker. This is the "Help" item in the button-3 menu.
App::Chart::Gtk2::Symlist
A Symlist object which is the stock symbols to display.
App::Chart::Gtk2::TickerMain, App::Chart::Gtk2::Symlist, Gtk2::Ex::TickerView
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.