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           The toggle button can be activated
36
37       'active' (boolean : default false : readable / writable / private)
38           The toggle state of the button
39
40       'inconsistent' (boolean : default false : readable / writable /
41       private)
42           The inconsistent state of the button
43
44       'indicator-size' (integer : default 13 : readable / writable / private)
45           Size of check or radio indicator
46
47       'radio' (boolean : default false : readable / writable / private)
48           Draw the toggle button as a radio button
49

SIGNALS

51       toggled (Gtk2::CellRendererToggle, string)
52

SEE ALSO

54       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
55       Gtk2::CellRenderer
56
58       Copyright (C) 2003-2011 by the gtk2-perl team.
59
60       This software is licensed under the LGPL.  See Gtk2 for a full notice.
61
62
63
64perl v5.30.1                      2020-01-30       Gtk2::CellRendererToggle(3)
Impressum