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

NAME

App::Chart::Gtk2::TickerModel -- ticker display data model object

SYNOPSIS

 use App::Chart::Gtk2::TickerModel;
 my $model = App::Chart::Gtk2::TickerModel->new ($symlist);

OBJECT HIERARCHY

App::Chart::Gtk2::TickerModel is a subclass of Gtk2::TreeModelFilter,

    Glib::Object
      Gtk2::TreeModelFilter
        App::Chart::Gtk2::TickerModel

DESCRIPTION

A App::Chart::Gtk2::TickerModel object presents the data from a given App::Chart::Gtk2::Symlist in a form suitable for the App::Chart::Gtk2::Ticker widget. This means presenting each symbol as symbol, price, and some Pango spans for up/down colour. Currently this is its sole use.

FUNCTIONS

App::Chart::Gtk2::TickerModel->new ($symlist)

Create and return a App::Chart::Gtk2::TickerModel object presenting the symbols in $symlist.

PROPERTIES

symlist (App::Chart::Gtk2::Symlist object, read-only)

The symlist to track and get data from. The intention is that this is "construct-only", ie. to be set only when first constructing the model. To present a different symlist create a new model.

SEE ALSO

App::Chart::Gtk2::Ticker

HOME PAGE

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

LICENCE

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