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

METHODS

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

PROPERTIES

60       'active' (boolean : readable / writable / private)
61           Whether the menu item is checked
62
63       'draw-as-radio' (boolean : readable / writable / private)
64           Whether the menu item looks like a radio menu item
65
66       'inconsistent' (boolean : readable / writable / private)
67           Whether to display an "inconsistent" state
68

SIGNALS

70       toggled (Gtk2::CheckMenuItem)
71

SEE ALSO

73       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
74       Gtk2::Container, Gtk2::Bin, Gtk2::Item, Gtk2::MenuItem
75
77       Copyright (C) 2003-2007 by the gtk2-perl team.
78
79       This software is licensed under the LGPL.  See Gtk2 for a full notice.
80
81
82
83perl v5.8.8                       2007-03-18            Gtk2::CheckMenuItem(3)
Impressum