From de210bd2ae9079b950cbe41daa0b8334ee4f1e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 11 Apr 2011 02:54:53 +0100 Subject: [PATCH] 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(-) delete mode 100644 docs/reference/gtk/tmpl/gtkhscrollbar.sgml 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 @@ - -GtkHScrollbar - - -A horizontal scrollbar - - - - -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. - - - - -#GtkScrollbar, #GtkScrolledWindow - - - - - - - - - - -The #GtkHScrollbar struct contains private data and should be accessed -using the functions below. - - - - - - - - -@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