NAME

App::Chart::Gtk2::Main -- Chart program main window

SYNOPSIS

use App::Chart::Gtk2::Main;
App::Chart::Gtk2::Main->open ($symbol)

WIDGET HIERARCHY

App::Chart::Gtk2::Main is a subclass of Gtk2::Window.

Gtk2::Widget
  Gtk2::Container
    Gtk2::Bin
      Gtk2::Window
        App::Chart::Gtk2::Main

DESCRIPTION

A App::Chart::Gtk2::Main widget is the Chart program top-level main window, displaying the menus, graph, etc.

BASIC FUNCTIONS

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

Create and return a App::Chart::Gtk2::Main widget. Optional key/value pairs can be given to set initial properties (as per Glib::Object->new). The widget is not displayed, but can be using show in the usual way. Eg.

my $main = App::Chart::Gtk2::Main->new;
$main->show;
$main->menubar()

Return the menubar widget (a Gtk2::MenuBar).

SYMBOL NAVIGATION FUNCTIONS

$main->goto_symbol ($symbol)

Display $symbol. $symbol can be undef to display nothing.

$main->goto_next
$main->goto_prev

Go to the next or previous symbol in the current symlist, or next or previous symlist, etc. These functions are the "Next" and "Previous" menu entries and toolbar items.

$main->go_back
$main->go_forward

Go back or forward in the history list of displayed symbols. These functions are the "Back" and "Forward" menu entries and toolbar items.

PROPERTIES

...

SEE ALSO

App::Chart::Gtk2::View, App::Chart::Gtk2::WeblinkMenu

HOME PAGE

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

LICENCE

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