[gtk+] Move documentation to inline comments: GtkHScrollbar



commit de210bd2ae9079b950cbe41daa0b8334ee4f1e07
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Apr 11 02:54:53 2011 +0100

    Move documentation to inline comments: GtkHScrollbar

 docs/reference/gtk/tmpl/.gitignore         |    1 +
 docs/reference/gtk/tmpl/gtkhscrollbar.sgml |   44 ----------------------------
 gtk/gtkhscrollbar.c                        |   15 +++++++++
 3 files changed, 16 insertions(+), 44 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 14a42b0..1444268 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -34,6 +34,7 @@ gtkfilefilter.sgml
 gtkfontbutton.sgml
 gtkhbox.sgml
 gtkhpaned.sgml
+gtkhscrollbar.sgml
 gtkiconview.sgml
 gtkimagemenuitem.sgml
 gtkimcontext.sgml
diff --git a/gtk/gtkhscrollbar.c b/gtk/gtkhscrollbar.c
index f2933a1..5b1f1fb 100644
--- a/gtk/gtkhscrollbar.c
+++ b/gtk/gtkhscrollbar.c
@@ -32,6 +32,21 @@
 #include "gtkintl.h"
 
 
+/**
+ * SECTION:gtkhscrollbar
+ * @Short_description: A horizontal scrollbar
+ * @Title: GtkHScrollbar
+ * @See_also: #GtkScrollbar, #GtkScrolledWindow
+ *
+ * The #GtkHScrollbar widget is a widget arranged horizontally creating a
+ * scrollbar. See #GtkScrollbar for details on
+ * scrollbars. #GtkAdjustment pointers may be added to handle the
+ * adjustment of the scrollbar or it may be left %NULL in which case one
+ * will be created for you. See #GtkScrollbar for a description of what the
+ * fields in an adjustment represent for a scrollbar.
+ */
+
+
 G_DEFINE_TYPE (GtkHScrollbar, gtk_hscrollbar, GTK_TYPE_SCROLLBAR)
 
 static void



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