[gtk+] Move documentation to inline comments: GtkScaleButton



commit 08bd42cf8db968f87349f3f2ae23385943a3d2d3
Author: Javier Jardón <jjardon gnome org>
Date:   Sun May 16 00:32:05 2010 +0200

    Move documentation to inline comments: GtkScaleButton

 docs/reference/gtk/tmpl/.gitignore          |    1 +
 docs/reference/gtk/tmpl/gtkscalebutton.sgml |  158 ---------------------------
 gtk/gtkscalebutton.c                        |   13 ++
 3 files changed, 14 insertions(+), 158 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 102a012..618a2dd 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -8,6 +8,7 @@ gtkorientable.sgml
 gtkpagesetupunixdialog.sgml
 gtkradioaction.sgml
 gtkrecentaction.sgml
+gtkscalebutton.sgml
 gtkseparator.sgml
 gtktesting.sgml
 gtktextiter.sgml
diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c
index 029123b..f994d6e 100644
--- a/gtk/gtkscalebutton.c
+++ b/gtk/gtkscalebutton.c
@@ -60,6 +60,19 @@
 #include "gtkintl.h"
 #include "gtkalias.h"
 
+
+/**
+ * SECTION:gtkscalebutton
+ * @Short_description: A button which pops up a scale
+ * @Title: GtkScaleButton
+ *
+ * #GtkScaleButton provides a button which pops up a scale widget.
+ * This kind of widget is commonly used for volume controls in multimedia
+ * applications, and GTK+ provides a #GtkVolumeButton subclass that
+ * is tailored for this use case.
+ */
+
+
 #define SCALE_SIZE 100
 #define CLICK_TIMEOUT 250
 



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