1Gtk2::MenuItem(3) User Contributed Perl Documentation Gtk2::MenuItem(3)
2
3
4
6 Gtk2::MenuItem
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Bin
15 +----Gtk2::Item
16 +----Gtk2::MenuItem
17
19 Glib::Object::_Unregistered::AtkImplementorIface
20
22 widget = Gtk2::MenuItem->new ($label=undef)
23
24 * $label (string)
25
26 widget = Gtk2::MenuItem->new_with_label ($label=undef)
27
28 * $label (string)
29
30 widget = Gtk2::MenuItem->new_with_mnemonic ($label=undef)
31
32 * $label (string)
33
34 $menu_item->set_accel_path ($accel_path)
35
36 * $accel_path (string)
37
38 $menu_item->activate
39
40 $menu_item->deselect
41
42 $menu_item->remove_submenu
43
44 boolean = $menu_item->get_right_justified
45
46 $menu_item->set_right_justified ($right_justified)
47
48 * $right_justified (boolean)
49
50 $menu_item->select
51
52 widget or undef = $menu_item->get_submenu
53
54 $menu_item->set_submenu ($submenu)
55
56 * $submenu (Gtk2::Widget)
57
58 $menu_item->toggle_size_allocate ($allocation)
59
60 * $allocation (integer)
61
62 requisition = $menu_item->toggle_size_request
63
65 activate (Gtk2::MenuItem)
66 activate-item (Gtk2::MenuItem)
67 toggle-size-request (Gtk2::MenuItem, gpointer)
68 toggle-size-allocate (Gtk2::MenuItem, integer)
69
71 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
72 Gtk2::Container, Gtk2::Bin, Gtk2::Item
73
75 Copyright (C) 2003-2007 by the gtk2-perl team.
76
77 This software is licensed under the LGPL. See Gtk2 for a full notice.
78
79
80
81perl v5.8.8 2007-03-18 Gtk2::MenuItem(3)