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
http://user42.tuxfamily.org/chart/index.html
Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2017 Kevin Ryde
Chart is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
Chart is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Chart; see the file COPYING. Failing that, see http://www.gnu.org/licenses/.
To install App::Chart, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Chart
CPAN shell
perl -MCPAN -e shell install App::Chart
For more information on module installation, please visit the detailed CPAN module installation guide.