man Gtk2::Menu () - Gtk2::Menu

NAME

Gtk2::Menu

HIERARCHY

  Glib::Object
  +----Glib::Object::_Unregistered::GInitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::MenuShell
                           +----Gtk2::Menu

INTERFACES

  Gtk2::Atk::ImplementorIface

METHODS

widget = Gtk2::Menu->new

$menu->set_accel_group ($accel_group)

$menu->set_accel_path ($accel_path)

$menu->set_active ($index)

$menu->detach

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

$menu->set_monitor ($monitor_num)

$menu->popdown

$menu->reposition

$menu->set_screen ($screen)

$menu->set_tearoff_state ($torn_off)

$menu->set_title ($title)

PROPERTIES

'tearoff-state' (boolean : readable / writable / private)
A boolean that indicates whether the menu is torn-off
'tearoff-title' (string : readable / writable / private)
A title that may be displayed by the window manager when this menu is torn-off

SIGNALS

move-scroll (Gtk2::Menu, Gtk2::ScrollType)

ENUMS AND FLAGS

enum Gtk2::ScrollType

* 'none' / 'GTK_SCROLL_NONE'
* 'jump' / 'GTK_SCROLL_JUMP'
* 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
* 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
* 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
* 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
* 'step-up' / 'GTK_SCROLL_STEP_UP'
* 'step-down' / 'GTK_SCROLL_STEP_DOWN'
* 'page-up' / 'GTK_SCROLL_PAGE_UP'
* 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
* 'step-left' / 'GTK_SCROLL_STEP_LEFT'
* 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
* 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
* 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
* 'start' / 'GTK_SCROLL_START'
* 'end' / 'GTK_SCROLL_END'

SEE ALSO

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

COPYRIGHT

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

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