diff options
author | Owen Taylor <otaylor@src.gnome.org> | 1999-08-16 18:51:52 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-08-16 18:51:52 +0000 |
commit | 91a5956707f72e6ca4f57c2af51fab378bf22949 (patch) | |
tree | df292b9e1130dc0906526afadd0742d38ce480a9 /docs/reference/gtk/tmpl/gtkcheckbutton.sgml | |
parent | 0455fa3029a4744fa40ab58bf4f837bfa1890509 (diff) | |
download | gtk+-91a5956707f72e6ca4f57c2af51fab378bf22949.tar.gz |
Initial revision
Diffstat (limited to 'docs/reference/gtk/tmpl/gtkcheckbutton.sgml')
-rw-r--r-- | docs/reference/gtk/tmpl/gtkcheckbutton.sgml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/docs/reference/gtk/tmpl/gtkcheckbutton.sgml b/docs/reference/gtk/tmpl/gtkcheckbutton.sgml new file mode 100644 index 0000000000..bdbbbf7ab3 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkcheckbutton.sgml @@ -0,0 +1,60 @@ +<!-- ##### 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> + +@toggle_button: + +<!-- ##### 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. + + |