1
<!-- ##### SECTION Title ##### -->
4
<!-- ##### SECTION Short_Description ##### -->
5
Create widgets with a discrete toggle button
7
<!-- ##### SECTION Long_Description ##### -->
9
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.
12
The important signal ('toggled') is also inherited from #GtkToggleButton.
15
<!-- ##### SECTION See_Also ##### -->
19
<term>#GtkCheckMenuItem</term>
20
<listitem><para>add check buttons to your menus.</para></listitem>
23
<term>#GtkButton</term>
24
<listitem><para>a more general button.</para></listitem>
27
<term>#GtkToggleButton</term>
28
<listitem><para>#GtkCheckButton's parent.</para></listitem>
31
<term>#GtkRadioButton</term>
32
<listitem><para>group check buttons together.</para></listitem>
37
<!-- ##### SECTION Stability_Level ##### -->
40
<!-- ##### SECTION Image ##### -->
43
<!-- ##### STRUCT GtkCheckButton ##### -->
45
<structfield>toggle_button</structfield> is a #GtkToggleButton representing the actual toggle button that composes the check button.
49
<!-- ##### ARG GtkCheckButton:indicator-size ##### -->
54
<!-- ##### ARG GtkCheckButton:indicator-spacing ##### -->
59
<!-- ##### FUNCTION gtk_check_button_new ##### -->
61
Creates a new #GtkCheckButton.
65
@Returns: a #GtkWidget.
68
<!-- ##### FUNCTION gtk_check_button_new_with_label ##### -->
70
Creates a new #GtkCheckButton with a #GtkLabel to the right of it.
73
@label: the text for the check button.
74
@Returns: a #GtkWidget.
77
<!-- ##### FUNCTION gtk_check_button_new_with_mnemonic ##### -->