Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Style Properties Author(s) References
Create widgets with a discrete toggle button
gtkCheckButtonNew(show = TRUE)
gtkCheckButtonNewWithLabel(label, show = TRUE)
gtkCheckButtonNewWithMnemonic(label, show = TRUE)
gtkCheckButton(label, show = TRUE)
1 2 3 4 5 6 7 8 9 10 | GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
+----GtkToggleButton
+----GtkCheckButton
+----GtkRadioButton
|
GtkCheckButton implements
AtkImplementorIface, GtkBuildable
and GtkActivatable
.
A GtkCheckButton
places a discrete GtkToggleButton
next to a widget, (usually a GtkLabel
). See the section on GtkToggleButton
widgets for more information about toggle/check buttons.
The important signal ('toggled') is also inherited from GtkToggleButton
.
GtkCheckButton
toggle_button
is a GtkToggleButton
representing the actual toggle button that composes the check button.
gtkCheckButton
is the result of collapsing the constructors of GtkCheckButton
(gtkCheckButtonNew
, gtkCheckButtonNewWithLabel
, gtkCheckButtonNewWithMnemonic
) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.
indicator-size
[integer : Read]Size of check or radio indicator. Allowed values: >= 0 Default value: 13
indicator-spacing
[integer : Read]Spacing around check or radio indicator. Allowed values: >= 0 Default value: 2
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkCheckButton.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.