1Gtk2::CheckMenuItem(3)User Contributed Perl DocumentationGtk2::CheckMenuItem(3)
2
3
4

NAME

6       Gtk2::CheckMenuItem
7

HIERARCHY

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                                            +----Gtk2::CheckMenuItem
18

INTERFACES

20         Glib::Object::_Unregistered::AtkImplementorIface
21         Gtk2::Buildable
22         Glib::Object::_Unregistered::GtkActivatable
23

METHODS

25   widget = Gtk2::CheckMenuItem->new ($label=undef)
26           ·   $label (string)
27
28   widget = Gtk2::CheckMenuItem->new_with_label ($label=undef)
29           ·   $label (string)
30
31   widget = Gtk2::CheckMenuItem->new_with_mnemonic ($label=undef)
32           ·   $label (string)
33
34   boolean = $check_menu_item->get_active
35   $check_menu_item->set_active ($is_active)
36           ·   $is_active (boolean)
37
38   boolean = $check_menu_item->get_draw_as_radio
39           Since: gtk+ 2.4
40
41   $check_menu_item->set_draw_as_radio ($draw_as_radio)
42           ·   $draw_as_radio (boolean)
43
44           Since: gtk+ 2.4
45
46   boolean = $check_menu_item->get_inconsistent
47   $check_menu_item->set_inconsistent ($setting)
48           ·   $setting (boolean)
49
50   $menu_item->set_show_toggle ($always)
51           ·   $always (boolean)
52
53   $check_menu_item->toggled

PROPERTIES

55       'active' (boolean : readable / writable / private)
56           Whether the menu item is checked
57
58       'draw-as-radio' (boolean : readable / writable / private)
59           Whether the menu item looks like a radio menu item
60
61       'inconsistent' (boolean : readable / writable / private)
62           Whether to display an "inconsistent" state
63

SIGNALS

65       toggled (Gtk2::CheckMenuItem)
66

SEE ALSO

68       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
69       Gtk2::Container, Gtk2::Bin, Gtk2::Item, Gtk2::MenuItem
70
72       Copyright (C) 2003-2008 by the gtk2-perl team.
73
74       This software is licensed under the LGPL.  See Gtk2 for a full notice.
75
76
77
78perl v5.12.0                      2010-05-02            Gtk2::CheckMenuItem(3)
Impressum