Gtk2::Menu Glib::Object +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::MenuShell +----Gtk2::Menu Gtk2::Atk::ImplementorIface

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)

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

widget = $menu->get_attach_widget

$menu->detach

list = Gtk2::Menu->get_for_attach_widget ($widget)

$menu->set_monitor ($monitor_num)

$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)

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

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