[gtk+] Move documentation to inline comments: GtkToggleToolButton



commit fbb57d301dd41318ef58a2f5cd3a3415b889a432
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Apr 13 20:37:21 2011 +0100

    Move documentation to inline comments: GtkToggleToolButton

 docs/reference/gtk/tmpl/.gitignore               |    1 +
 docs/reference/gtk/tmpl/gtktoggletoolbutton.sgml |  105 ----------------------
 gtk/gtktoggletoolbutton.c                        |   15 +++
 3 files changed, 16 insertions(+), 105 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index ae6f645..409c0e8 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -103,6 +103,7 @@ gtktexttag.sgml
 gtktexttagtable.sgml
 gtktextview.sgml
 gtktoggleaction.sgml
+gtktoggletoolbutton.sgml
 gtktoolbar.sgml
 gtktoolitem.sgml
 gtktooltip.sgml
diff --git a/gtk/gtktoggletoolbutton.c b/gtk/gtktoggletoolbutton.c
index e6cea93..9207ca6 100644
--- a/gtk/gtktoggletoolbutton.c
+++ b/gtk/gtktoggletoolbutton.c
@@ -32,6 +32,21 @@
 #include "gtkprivate.h"
 
 
+/**
+ * SECTION:gtktoggletoolbutton
+ * @Short_description: A GtkToolItem containing a toggle button
+ * @Title: GtkToggleToolButton
+ * @See_also: #GtkToolbar, #GtkToolButton, #GtkSeparatorToolItem
+ *
+ * A #GtkToggleToolButton is a #GtkToolItem that contains a toggle
+ * button.
+ *
+ * Use gtk_toggle_tool_button_new() to create a new
+ * #GtkToggleToolButton. Use gtk_toggle_tool_button_new_from_stock() to
+ * create a new #GtkToggleToolButton containing a stock item.
+ */
+
+
 #define MENU_ID "gtk-toggle-tool-button-menu-id"
 
 enum {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]