1Gtk2::CheckMenuItem(3)User Contributed Perl DocumentationGtk2::CheckMenuItem(3)
2
3
4
6 Gtk2::CheckMenuItem - wrapper for GtkCheckMenuItem
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 +----Gtk2::CheckMenuItem
18
20 Glib::Object::_Unregistered::AtkImplementorIface
21 Gtk2::Buildable
22 Gtk2::Activatable
23
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
55 'active' (boolean : default false : readable / writable / private)
56 Whether the menu item is checked
57
58 'draw-as-radio' (boolean : default false : readable / writable /
59 private)
60 Whether the menu item looks like a radio menu item
61
62 'inconsistent' (boolean : default false : readable / writable /
63 private)
64 Whether to display an "inconsistent" state
65
67 'indicator-size' (integer : default 13 : readable / private)
68 Size of check or radio indicator
69
71 toggled (Gtk2::CheckMenuItem)
72
74 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
75 Gtk2::Container, Gtk2::Bin, Gtk2::Item, Gtk2::MenuItem
76
78 Copyright (C) 2003-2011 by the gtk2-perl team.
79
80 This software is licensed under the LGPL. See Gtk2 for a full notice.
81
82
83
84perl v5.30.1 2020-01-30 Gtk2::CheckMenuItem(3)