Gtk2::Notebook Glib::Object +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Notebook Gtk2::Atk::ImplementorIface

widget = Gtk2::Notebook->new

integer = $notebook->append_page ($child, $tab_label=undef)

integer = $notebook->append_page_menu ($child, $tab_label, $menu_label)

integer = $notebook->get_current_page

$notebook->set_current_page ($page_num)

integer = $notebook->insert_page ($child, $tab_label, $position)

integer = $notebook->insert_page_menu ($child, $tab_label, $menu_label, $position)

widget or undef = $notebook->get_menu_label ($child)

$notebook->set_menu_label ($child, $menu_label=undef)

string = $notebook->get_menu_label_text ($child)

$notebook->set_menu_label_text ($child, $menu_text)

integer = $notebook->get_n_pages

$notebook->next_page

widget or undef = $notebook->get_nth_page ($page_num)

integer = $notebook->page_num ($child)

$notebook->popup_disable

$notebook->popup_enable

integer = $notebook->prepend_page ($child, $tab_label=undef)

integer = $notebook->prepend_page_menu ($child, $tab_label, $menu_label)

$notebook->prev_page

(expand, fill, pack_type) = $notebook->query_tab_label_packing ($child)

$notebook->remove_page ($page_num)

$notebook->reorder_child ($child, $position)

boolean = $notebook->get_scrollable

$notebook->set_scrollable ($scrollable)

boolean = $notebook->get_show_border

$notebook->set_show_border ($show_border)

boolean = $notebook->get_show_tabs

$notebook->set_show_tabs ($show_tabs)

$notebook->set_tab_border ($border_width)

$notebook->set_tab_hborder ($tab_hborder)

widget = $notebook->get_tab_label ($child)

$notebook->set_tab_label_packing ($child, $expand, $fill, $pack_type)

$notebook->set_tab_label ($child, $tab_label=undef)

string = $notebook->get_tab_label_text ($child)

$notebook->set_tab_label_text ($child, $tab_text)

positiontype = $notebook->get_tab_pos

$notebook->set_tab_pos ($pos)

$notebook->set_tab_vborder ($tab_vborder)
If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page Whether tabs should have homogeneous sizes The index of the current page If TRUE, scroll arrows are added if there are too many tabs to fit Whether the border should be shown or not Whether tabs should be shown or not Width of the border around the tab labels Width of the horizontal border of tab labels Which side of the notebook holds the tabs Width of the vertical border of tab labels

flags Gtk2::Gdk::EventMask
Gtk2, Glib::Object, Gtk2::Object, Gtk2::Widget, Gtk2::Container Copyright (C) 2003-2005 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.