summaryrefslogtreecommitdiff
path: root/gtk/gtkradiotoolbutton.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-04-15 17:26:46 +0100
committerJavier Jardón <jjardon@gnome.org>2011-04-18 02:08:36 +0100
commit7ee963c26001cc2854b935ec3597a0fb4a51b33d (patch)
tree08d1e7e7781ccac91ea0f8969db96c5f99603046 /gtk/gtkradiotoolbutton.c
parentb810bc88ec9636a2d8bb3e0cdfeedc2f8b100585 (diff)
downloadgtk+-7ee963c26001cc2854b935ec3597a0fb4a51b33d.tar.gz
Move documentation to inline comments: GtkRadioToolButton
Diffstat (limited to 'gtk/gtkradiotoolbutton.c')
-rw-r--r--gtk/gtkradiotoolbutton.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/gtk/gtkradiotoolbutton.c b/gtk/gtkradiotoolbutton.c
index 6ca58532eb..56f45e3dd8 100644
--- a/gtk/gtkradiotoolbutton.c
+++ b/gtk/gtkradiotoolbutton.c
@@ -27,6 +27,26 @@
#include "gtkprivate.h"
+/**
+ * SECTION:gtkradiotoolbutton
+ * @Short_description: A toolbar item that contains a radio button
+ * @Title: GtkRadioToolButton
+ * @See_also: #GtkToolbar, #GtkToolButton
+ *
+ * A #GtkRadioToolButton is a #GtkToolItem that contains a radio button,
+ * that is, a button that is part of a group of toggle buttons where only
+ * one button can be active at a time.
+ *
+ * Use gtk_radio_tool_button_new() to create a new
+ * #GtkRadioToolButton. Use gtk_radio_tool_button_new_from_widget() to
+ * create a new #GtkRadioToolButton that is part of the same group as an
+ * existing #GtkRadioToolButton. Use
+ * gtk_radio_tool_button_new_from_stock() or
+ * gtk_radio_tool_button_new_with_stock_from_widget() create a new
+ * #GtkRadioToolButton containing a stock item.
+ */
+
+
enum {
PROP_0,
PROP_GROUP