The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::Chart::Gtk2::TickerMenu -- menu for ticker

SYNOPSIS

use App::Chart::Gtk2::TickerMenu;

WIDGET HIERARCHY

App::Chart::Gtk2::TickerMenu is a subclass of Gtk::Menu,

Gtk2::Widget
  Gtk2::Container
    Gtk2::MenuShell
      Gtk2::Menu
        App::Chart::Gtk2::TickerMenu

DESCRIPTION

A App::Chart::Gtk2::TickerMenu shows the following things which can be done from a symbol in the ticker. It's split out from the main Ticker code to keep the size there down and since it may not be needed at all if not used.

+----------+
| Refresh  |    update quotes
| Symbols  |    the symlist to display
| Run      |    whether to scroll the ticker
+----------+
| <SYMBOL> |
| Intraday |    view an intraday graph
| Web >    |    web links from App::Chart::Gtk2::WeblinkMenu
+----------+
| Help     |
| Quit     |    or hide
+----------+

FUNCTIONS

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

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

PROPERTIES

symbol (App::Chart::Gtk2::Job, default undef)

The stock or commodity symbol string to show, or undef if none. This is shown in a non-clickable entry in the menu.

ticker (App::Chart::Gtk2::Ticker object, default undef)

The ticker to act on.

SEE ALSO

App::Chart::Gtk2::Ticker