1Gtk2::MenuShell(3)    User Contributed Perl Documentation   Gtk2::MenuShell(3)
2
3
4

NAME

6       Gtk2::MenuShell
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::MenuShell
15

INTERFACES

17         Glib::Object::_Unregistered::AtkImplementorIface
18

METHODS

20       $menu_shell->activate_item ($menu_item, $force_deactivate)
21
22           * $menu_item (Gtk2::Widget)
23           * $force_deactivate (boolean)
24
25       $menu_shell->append ($child)
26
27           * $child (Gtk2::Widget)
28
29       $menu_shell->cancel
30
31       $menu_shell->deactivate
32
33       $menu_shell->deselect
34
35       $menu_shell->insert ($child, $position)
36
37           * $child (Gtk2::Widget)
38           * $position (integer)
39
40       $menu_shell->prepend ($child)
41
42           * $child (Gtk2::Widget)
43
44       $menu_shell->select_first ($search_sensitive)
45
46           * $search_sensitive (boolean)
47
48       $menu_shell->select_item ($menu_item)
49
50           * $menu_item (Gtk2::Widget)
51
52       boolean = $menu_shell->get_take_focus
53
54       $menu_shell->set_take_focus ($take_focus)
55
56           * $take_focus (boolean)
57

PROPERTIES

59       'take-focus' (boolean : readable / writable / private)
60           A boolean that determines whether the menu grabs the keyboard focus
61

SIGNALS

63       deactivate (Gtk2::MenuShell)
64       selection-done (Gtk2::MenuShell)
65       move-current (Gtk2::MenuShell, Gtk2::MenuDirectionType)
66       activate-current (Gtk2::MenuShell, boolean)
67       cancel (Gtk2::MenuShell)
68       cycle-focus (Gtk2::MenuShell, Gtk2::DirectionType)
69

ENUMS AND FLAGS

71       enum Gtk2::DirectionType
72
73       * 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
74       * 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
75       * 'up' / 'GTK_DIR_UP'
76       * 'down' / 'GTK_DIR_DOWN'
77       * 'left' / 'GTK_DIR_LEFT'
78       * 'right' / 'GTK_DIR_RIGHT'
79
80       enum Gtk2::MenuDirectionType
81
82       * 'parent' / 'GTK_MENU_DIR_PARENT'
83       * 'child' / 'GTK_MENU_DIR_CHILD'
84       * 'next' / 'GTK_MENU_DIR_NEXT'
85       * 'prev' / 'GTK_MENU_DIR_PREV'
86

SEE ALSO

88       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
89       Gtk2::Container
90
92       Copyright (C) 2003-2007 by the gtk2-perl team.
93
94       This software is licensed under the LGPL.  See Gtk2 for a full notice.
95
96
97
98perl v5.8.8                       2007-03-18                Gtk2::MenuShell(3)
Impressum