man Gtk2::Notebook () - Gtk2::Notebook

NAME

Gtk2::Notebook

HIERARCHY

  Glib::Object
  +----Glib::Object::_Unregistered::GInitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Notebook

INTERFACES

  Gtk2::Atk::ImplementorIface

METHODS

widget = Gtk2::Notebook->new

(integer return since Gtk2-Perl 1.080) (integer return since Gtk2-Perl 1.080)

$notebook->set_current_page ($page_num)

(integer return since Gtk2-Perl 1.080) (integer return since Gtk2-Perl 1.080)

$notebook->next_page

$notebook->popup_disable

$notebook->popup_enable

(integer return since Gtk2-Perl 1.080) (integer return since Gtk2-Perl 1.080)

$notebook->prev_page

$notebook->remove_page ($page_num)

$notebook->set_scrollable ($scrollable)

$notebook->set_show_border ($show_border)

$notebook->set_show_tabs ($show_tabs)

$notebook->set_tab_border ($border_width)

$notebook->set_tab_hborder ($tab_hborder)

$notebook->set_tab_pos ($pos)

$notebook->set_tab_vborder ($tab_vborder)

PROPERTIES

'enable-popup' (boolean : readable / writable / private)
If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page
'homogeneous' (boolean : readable / writable / private)
Whether tabs should have homogeneous sizes
'page' (integer : readable / writable / private)
The index of the current page
'scrollable' (boolean : readable / writable / private)
If TRUE, scroll arrows are added if there are too many tabs to fit
'show-border' (boolean : readable / writable / private)
Whether the border should be shown or not
'show-tabs' (boolean : readable / writable / private)
Whether tabs should be shown or not
'tab-border' (Glib::UInt : writable / private)
Width of the border around the tab labels
'tab-hborder' (Glib::UInt : readable / writable / private)
Width of the horizontal border of tab labels
'tab-pos' (Gtk2::PositionType : readable / writable / private)
Which side of the notebook holds the tabs
'tab-vborder' (Glib::UInt : readable / writable / private)
Width of the vertical border of tab labels

SIGNALS

switch-page (Gtk2::Notebook, gpointer, Glib::UInt)
boolean = focus-tab (Gtk2::Notebook, Gtk2::NotebookTab)
boolean = select-page (Gtk2::Notebook, boolean)
change-current-page (Gtk2::Notebook, integer)
move-focus-out (Gtk2::Notebook, Gtk2::DirectionType)

ENUMS AND FLAGS

enum Gtk2::DirectionType

* 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
* 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
* 'up' / 'GTK_DIR_UP'
* 'down' / 'GTK_DIR_DOWN'
* 'left' / 'GTK_DIR_LEFT'
* 'right' / 'GTK_DIR_RIGHT'

enum Gtk2::NotebookTab

* 'first' / 'GTK_NOTEBOOK_TAB_FIRST'
* 'last' / 'GTK_NOTEBOOK_TAB_LAST'

enum Gtk2::PackType

* 'start' / 'GTK_PACK_START'
* 'end' / 'GTK_PACK_END'

enum Gtk2::PositionType

* 'left' / 'GTK_POS_LEFT'
* 'right' / 'GTK_POS_RIGHT'
* 'top' / 'GTK_POS_TOP'
* 'bottom' / 'GTK_POS_BOTTOM'

SEE ALSO

Gtk2, Glib::Object, Glib::Object::_Unregistered::GInitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container

COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.