Gtk2::Menu Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::MenuShell +----Gtk2::Menu Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable

widget = Gtk2::Menu->new

accelgroup = $menu->get_accel_group

$menu->set_accel_group ($accel_group)

$menu->set_accel_path ($accel_path)

widget = $menu->get_active

$menu->set_active ($index)

$menu->attach ($child, $left_attach, $right_attach, $top_attach, $bottom_attach)
Since: gtk+ 2.4

$menu->attach_to_widget ($attach_widget, $detacher)

widget = $menu->get_attach_widget

$menu->detach

list = Gtk2::Menu->get_for_attach_widget ($widget)
Since: gtk+ 2.6

$menu->set_monitor ($monitor_num)
Since: gtk+ 2.4

$menu->popdown

$menu->popup ($parent_menu_shell, $parent_menu_item, $menu_pos_func, $data, $button, $activate_time)

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

$menu->reposition

$menu->set_screen ($screen)
Since: gtk+ 2.2

boolean = $menu->get_tearoff_state

$menu->set_tearoff_state ($torn_off)

string = $menu->get_title

$menu->set_title ($title)
A boolean that indicates whether the menu is torn-off A title that may be displayed by the window manager when this menu is torn-off

enum Gtk2::ScrollType
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::MenuShell Copyright (C) 2003-2007 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.