1Gtk2::MenuShell(3) User Contributed Perl Documentation Gtk2::MenuShell(3)
2
3
4
6 Gtk2::MenuShell
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::MenuShell
15
17 Glib::Object::_Unregistered::AtkImplementorIface
18 Gtk2::Buildable
19
21 $menu_shell->activate_item ($menu_item, $force_deactivate)
22 · $menu_item (Gtk2::Widget)
23
24 · $force_deactivate (boolean)
25
26 $menu_shell->append ($child)
27 · $child (Gtk2::Widget)
28
29 $menu_shell->cancel
30 Since: gtk+ 2.4
31
32 $menu_shell->deactivate
33 $menu_shell->deselect
34 $menu_shell->insert ($child, $position)
35 · $child (Gtk2::Widget)
36
37 · $position (integer)
38
39 $menu_shell->prepend ($child)
40 · $child (Gtk2::Widget)
41
42 $menu_shell->select_first ($search_sensitive)
43 · $search_sensitive (boolean)
44
45 Since: gtk+ 2.2
46
47 $menu_shell->select_item ($menu_item)
48 · $menu_item (Gtk2::Widget)
49
50 boolean = $menu_shell->get_take_focus
51 Since: gtk+ 2.8
52
53 $menu_shell->set_take_focus ($take_focus)
54 · $take_focus (boolean)
55
56 Since: gtk+ 2.8
57
59 'take-focus' (boolean : readable / writable / private)
60 A boolean that determines whether the menu grabs the keyboard focus
61
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 boolean = move-selected (Gtk2::MenuShell, integer)
70
72 enum Gtk2::DirectionType
73 · 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
74
75 · 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
76
77 · 'up' / 'GTK_DIR_UP'
78
79 · 'down' / 'GTK_DIR_DOWN'
80
81 · 'left' / 'GTK_DIR_LEFT'
82
83 · 'right' / 'GTK_DIR_RIGHT'
84
85 enum Gtk2::MenuDirectionType
86 · 'parent' / 'GTK_MENU_DIR_PARENT'
87
88 · 'child' / 'GTK_MENU_DIR_CHILD'
89
90 · 'next' / 'GTK_MENU_DIR_NEXT'
91
92 · 'prev' / 'GTK_MENU_DIR_PREV'
93
95 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
96 Gtk2::Container
97
99 Copyright (C) 2003-2008 by the gtk2-perl team.
100
101 This software is licensed under the LGPL. See Gtk2 for a full notice.
102
103
104
105perl v5.12.0 2010-05-02 Gtk2::MenuShell(3)