summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-04-11 02:54:53 +0100
committerJavier Jardón <jjardon@gnome.org>2011-04-11 02:54:53 +0100
commitde210bd2ae9079b950cbe41daa0b8334ee4f1e07 (patch)
treeab153bf4b79af0167f22b8020d7795773b5d3ada
parent5f7433a64409a9985beec78365e0677aec45e816 (diff)
downloadgtk+-de210bd2ae9079b950cbe41daa0b8334ee4f1e07.tar.gz
Move documentation to inline comments: GtkHScrollbar
-rw-r--r--docs/reference/gtk/tmpl/.gitignore1
-rw-r--r--docs/reference/gtk/tmpl/gtkhscrollbar.sgml44
-rw-r--r--gtk/gtkhscrollbar.c15
3 files changed, 16 insertions, 44 deletions
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 14a42b0a74..144426830c 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/docs/reference/gtk/tmpl/gtkhscrollbar.sgml b/docs/reference/gtk/tmpl/gtkhscrollbar.sgml
deleted file mode 100644
index 6412e07dba..0000000000
--- a/docs/reference/gtk/tmpl/gtkhscrollbar.sgml
+++ /dev/null
@@ -1,44 +0,0 @@
-<!-- ##### SECTION Title ##### -->
-GtkHScrollbar
-
-<!-- ##### SECTION Short_Description ##### -->
-A horizontal scrollbar
-
-<!-- ##### SECTION Long_Description ##### -->
-
-<para>
-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.
-</para>
-
-<!-- ##### SECTION See_Also ##### -->
-<para>
-#GtkScrollbar, #GtkScrolledWindow
-</para>
-
-<!-- ##### SECTION Stability_Level ##### -->
-
-
-<!-- ##### SECTION Image ##### -->
-
-
-<!-- ##### STRUCT GtkHScrollbar ##### -->
-<para>
-The #GtkHScrollbar struct contains private data and should be accessed
-using the functions below.
-</para>
-
-
-<!-- ##### FUNCTION gtk_hscrollbar_new ##### -->
-<para>
-
-</para>
-
-@adjustment:
-@Returns:
-
-
diff --git a/gtk/gtkhscrollbar.c b/gtk/gtkhscrollbar.c
index f2933a1952..5b1f1fb9ae 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