1Gtk2::CellRendererTogglUes(e3r)Contributed Perl DocumentGattki2o:n:CellRendererToggle(3)
2
3
4

NAME

6       Gtk2::CellRendererToggle - wrapper for GtkCellRendererToggle
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::CellRenderer
13                        +----Gtk2::CellRendererToggle
14

METHODS

16   cellrenderer = Gtk2::CellRendererToggle->new
17   boolean = $toggle->get_activatable
18       Since: gtk+ 2.18
19
20   $toggle->set_activatable ($setting)
21       •   $setting (boolean)
22
23       Since: gtk+ 2.18
24
25   boolean = $toggle->get_active
26   $toggle->set_active ($setting)
27       •   $setting (boolean)
28
29   boolean = $toggle->get_radio
30   $toggle->set_radio ($radio)
31       •   $radio (boolean)
32

PROPERTIES

34       'activatable' (boolean : default true : readable / writable / private /
35       static-nick / static-blurb)
36           The toggle button can be activated
37
38       'active' (boolean : default false : readable / writable / private /
39       static-nick / static-blurb)
40           The toggle state of the button
41
42       'inconsistent' (boolean : default false : readable / writable / private
43       / static-nick / static-blurb)
44           The inconsistent state of the button
45
46       'indicator-size' (integer : default 13 : readable / writable / private
47       / static-nick / static-blurb)
48           Size of check or radio indicator
49
50       'radio' (boolean : default false : readable / writable / private /
51       static-nick / static-blurb)
52           Draw the toggle button as a radio button
53

SIGNALS

55       toggled (Gtk2::CellRendererToggle, string)
56

SEE ALSO

58       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
59       Gtk2::CellRenderer
60
62       Copyright (C) 2003-2011 by the gtk2-perl team.
63
64       This software is licensed under the LGPL.  See Gtk2 for a full notice.
65
66
67
68perl v5.36.0                      2022-07-22       Gtk2::CellRendererToggle(3)
Impressum