The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Chart::Gtk2::Ticker -- stock ticker widget

SYNOPSIS

 use App::Chart::Gtk2::Ticker;
 my $ticker = App::Chart::Gtk2::Ticker->new;

 my $symlist = App::Chart::Gtk2::Symlist::All->instance;
 $ticker->set (symlist => $symlist);

WIDGET HIERARCHY

App::Chart::Gtk2::Ticker is a subclass of Gtk2::Ex::TickerView,

    Gtk2::Widget
      ...
        Gtk2::Ex::TickerView
          App::Chart::Gtk2::Ticker

DESCRIPTION

A App::Chart::Gtk2::Ticker widget showing stock quotes scrolling across the window for a given symlist (App::Chart::Gtk2::Symlist)

FUNCTIONS

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.

$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.

$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.

PROPERTIES

symlist (App::Chart::Gtk2::Symlist, default favourites or all)

A Symlist object which is the stock symbols to display.

SEE ALSO

App::Chart::Gtk2::TickerMain, App::Chart::Gtk2::Symlist, Gtk2::Ex::TickerView