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

NAME

6       Gtk2::ToggleButton
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::Button
16                                       +----Gtk2::ToggleButton
17

INTERFACES

19         Glib::Object::_Unregistered::AtkImplementorIface
20

METHODS

22       widget = Gtk2::ToggleButton->new ($label=undef)
23
24           * $label (string)
25
26       widget = Gtk2::ToggleButton->new_with_label ($label=undef)
27
28           * $label (string)
29
30       widget = Gtk2::ToggleButton->new_with_mnemonic ($label=undef)
31
32           * $label (string)
33
34       boolean = $toggle_button->get_active
35
36       $toggle_button->set_active ($is_active)
37
38           * $is_active (boolean)
39
40       boolean = $toggle_button->get_inconsistent
41
42       $toggle_button->set_inconsistent ($setting)
43
44           * $setting (boolean)
45
46       boolean = $toggle_button->get_mode
47
48       $toggle_button->set_mode ($draw_indicator)
49
50           * $draw_indicator (boolean)
51
52       $toggle_button->toggled
53

PROPERTIES

55       'active' (boolean : readable / writable / private)
56           If the toggle button should be pressed in or not
57
58       'draw-indicator' (boolean : readable / writable / private)
59           If the toggle part of the button is displayed
60
61       'inconsistent' (boolean : readable / writable / private)
62           If the toggle button is in an "in between" state
63

SIGNALS

65       toggled (Gtk2::ToggleButton)
66

SEE ALSO

68       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
69       Gtk2::Container, Gtk2::Bin, Gtk2::Button
70
72       Copyright (C) 2003-2007 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.8.8                       2007-03-18             Gtk2::ToggleButton(3)
Impressum