diff options
author | Soeren Sandmann <ssp@localhost.localdomain> | 2002-09-01 12:34:21 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2002-09-01 12:34:21 +0000 |
commit | 1f4e829fe2c2210e32e964d1ba4292af5d0eb3a2 (patch) | |
tree | ccd1d0c30188dbc78f4c8562d736620993e6d185 /gtk/gtktogglebutton.c | |
parent | a0c80fcc67fbdf576d80536db299433cd70ca3f8 (diff) | |
download | gtk+-1f4e829fe2c2210e32e964d1ba4292af5d0eb3a2.tar.gz |
docs/reference/gtk/tmpl/gtkdialog.sgml
2002-09-01 Soeren Sandmann <ssp@localhost.localdomain>
* docs/reference/gtk/tmpl/gtkdialog.sgml
docs/reference/gtk/tmpl/gtkhbbox.sgml
docs/reference/gtk/tmpl/gtkvbbox.sgml
docs/reference/gtk/tmpl/gtktogglebutton.sgml
docs/reference/gtk/tmpl/gtktreeselection.sgml
gtk/gtktextbuffer.c
gtk/gtktogglebutton.c
gtk/gtktreesortable.c
Minor documentation fixes:
#79107, #82854, #76398, Vitaly Tishkov;
#88627, Brian Tarricone;
#81046, Owen Taylor
Diffstat (limited to 'gtk/gtktogglebutton.c')
-rw-r--r-- | gtk/gtktogglebutton.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c index 907f4a64c0..45aaae9252 100644 --- a/gtk/gtktogglebutton.c +++ b/gtk/gtktogglebutton.c @@ -250,6 +250,20 @@ gtk_toggle_button_get_property (GObject *object, } } +/** + * gtk_toggle_button_set_mode: + * @toggle_button: a #GtkToggleButton + * @draw_indicator: if %TRUE, draw the button as a separate indicator + * and label; if %FALSE, draw the button like a normal button + * + * Sets whether the button is displayed as a separate indicator and label. + * You can call this function on a checkbutton or a radiobutton with + * @draw_indicator = %FALSE to make the button look like a normal button + * + * This function only effects instances of classes like #GtkCheckButton + * and #GtkRadioButton that derive from #GtkToggleButton, + * not instances of #GtkToggleButton itself. + */ void gtk_toggle_button_set_mode (GtkToggleButton *toggle_button, gboolean draw_indicator) |