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

HOME PAGE

http://user42.tuxfamily.org/chart/index.html

LICENCE

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