App::Chart::Gtk2::IntradayModeComboBox -- combobox intraday mode selector
use App::Chart::Gtk2::IntradayModeComboBox; my $combobox = App::Chart::IntradayModeCombo->new;
App::Chart::Gtk2::IntradayModeComboBox is a subclass of
Gtk2::Widget Gtk2::Container Gtk2::Bin Gtk2::ComboBox App::Chart::Gtk2::IntradayModeComboBox
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.
Create and return a new
App::Chart::IntradayModeComboobject. Optional key/value pairs set initial properties as per
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
modeis 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.
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/.