forked from AuroraMiddleware/gtk
25e0ae0186
Thu May 30 07:59:38 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenu.c (gtk_menu_style_set): add gtk_menu_style_set(). fixes #79345
79 lines
1.8 KiB
Plaintext
79 lines
1.8 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GtkCheckButton
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
create widgets with a discrete toggle button.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
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.
|
|
</para>
|
|
<para>
|
|
The important signal ('toggled') is also inherited from #GtkToggleButton.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term>#GtkCheckMenuItem</term>
|
|
<listitem><para>add check buttons to your menus.</para></listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term>#GtkButton</term>
|
|
<listitem><para>a more general button.</para></listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term>#GtkToggleButton</term>
|
|
<listitem><para>#GtkCheckButton's parent.</para></listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term>#GtkRadioButton</term>
|
|
<listitem><para>group check buttons together.</para></listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GtkCheckButton ##### -->
|
|
<para>
|
|
<structfield>toggle_button</structfield> is a #GtkToggleButton representing the actual toggle button that composes the check button.
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_check_button_new ##### -->
|
|
<para>
|
|
Creates a new #GtkCheckButton.
|
|
</para>
|
|
|
|
@Returns: a #GtkWidget.
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_check_button_new_with_label ##### -->
|
|
<para>
|
|
Creates a new #GtkCheckButton with a #GtkLabel to the right of it.
|
|
</para>
|
|
|
|
@label: the text for the check button.
|
|
@Returns: a #GtkWidget.
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_check_button_new_with_mnemonic ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@label:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### ARG GtkCheckButton:indicator-size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkCheckButton:indicator-spacing ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|