Kevin Ryde
and 1 contributors

NAME

App::Chart::Gtk2::IntradayModeComboBox -- combobox intraday mode selector

SYNOPSIS

 use App::Chart::Gtk2::IntradayModeComboBox;
 my $combobox = App::Chart::IntradayModeCombo->new;

WIDGET HIERARCHY

App::Chart::Gtk2::IntradayModeComboBox is a subclass of Gtk2::ComboBox,

    Gtk2::Widget
      Gtk2::Container
        Gtk2::Bin
          Gtk2::ComboBox
            App::Chart::Gtk2::IntradayModeComboBox

DESCRIPTION

App::Chart::Gtk2::IntradayModeComboBox presents available intraday data modes, like "1 Day" or "5 Days", for a given stock symbol. The mode property changes according to the mode selected.

FUNCTIONS

App::Chart::IntradayModeCombo->new (key=>value,...)

Create and return a new App::Chart::IntradayModeCombo object. Optional key/value pairs set initial properties as per Glib::Object->new.

PROPERTIES

symbol (string, default empty "")

The symbol for which to display intraday modes. If the symbol has no intraday handlers at all then the ComboBox is empty and insensitive.

When changing the symbol if the current mode is not available in the new symbol then it changes to the first mode of that new symbol.

mode (string, default empty "")

The selected intraday mode key, such as "1d". This changes with the user selection, and can be set programmatically to change the ComboBox display.

SEE ALSO

App::Chart::Gtk2::IntradayDialog

HOME PAGE

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

LICENCE

Copyright 2008, 2009, 2010, 2011 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/.