Description Methods and Functions Hierarchy Detailed Description Structures Convenient Construction Signals Properties Author(s) References
Renders a toggle button in a cell
gtkCellRendererToggleNew()
gtkCellRendererToggleGetRadio(object)
gtkCellRendererToggleSetRadio(object, radio)
gtkCellRendererToggleGetActive(object)
gtkCellRendererToggleSetActive(object, setting)
gtkCellRendererToggleGetActivatable(object)
gtkCellRendererToggleSetActivatable(object, setting)
gtkCellRendererToggle()
1 2 3 4 5 | GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkCellRenderer
+----GtkCellRendererToggle
|
GtkCellRendererToggle
renders a toggle button in a cell. The
button is drawn as a radio- or checkbutton, depending on the
radio
property. When activated, it emits the toggled signal.
GtkCellRendererToggle
undocumented
gtkCellRendererToggle
is the equivalent of gtkCellRendererToggleNew
.
toggled(cell.renderer, path, user.data)
The ::toggled signal is emitted when the cell is toggled.
cell.renderer
the object which received the signal
path
string representation of GtkTreePath
describing the
event location
user.data
user data set when the signal handler was connected.
activatable
[logical : Read / Write]The toggle button can be activated. Default value: TRUE
active
[logical : Read / Write]The toggle state of the button. Default value: FALSE
inconsistent
[logical : Read / Write]The inconsistent state of the button. Default value: FALSE
indicator-size
[integer : Read / Write]Size of check or radio indicator. Allowed values: >= 0 Default value: 13
radio
[logical : Read / Write]Draw the toggle button as a radio button. Default value: FALSE
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkCellRendererToggle.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.