[gtk+] Move documentation to inline comments: GtkHPaned



commit f7f7d4eee484c5413a1ebd82a2ad3a2c617396ae
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Apr 11 02:36:23 2011 +0100

    Move documentation to inline comments: GtkHPaned

 docs/reference/gtk/tmpl/.gitignore     |    1 +
 docs/reference/gtk/tmpl/gtkhpaned.sgml |   39 --------------------------------
 gtk/gtkhpaned.c                        |   19 +++++++++++++++
 3 files changed, 20 insertions(+), 39 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index c992c53..3f60574 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -31,6 +31,7 @@ gtkfeatures.sgml
 gtkfixed.sgml
 gtkfilefilter.sgml
 gtkhbox.sgml
+gtkhpaned.sgml
 gtkiconview.sgml
 gtkimagemenuitem.sgml
 gtkimcontextsimple.sgml
diff --git a/gtk/gtkhpaned.c b/gtk/gtkhpaned.c
index 86742f5..e0b864c 100644
--- a/gtk/gtkhpaned.c
+++ b/gtk/gtkhpaned.c
@@ -30,6 +30,18 @@
 #include "gtkorientable.h"
 
 
+/**
+ * SECTION:gtkhpaned
+ * @Short_description: A container with two panes arranged horizontally
+ * @Title: GtkHPaned
+ *
+ * The HPaned widget is a container widget with two
+ * children arranged horizontally. The division between
+ * the two panes is adjustable by the user by dragging
+ * a handle. See #GtkPaned for details.
+ */
+
+
 G_DEFINE_TYPE (GtkHPaned, gtk_hpaned, GTK_TYPE_PANED)
 
 static void
@@ -44,6 +56,13 @@ gtk_hpaned_init (GtkHPaned *hpaned)
                                   GTK_ORIENTATION_HORIZONTAL);
 }
 
+/**
+ * gtk_hpaned_new:
+ *
+ * Create a new #GtkHPaned
+ *
+ * Returns: the new #GtkHPaned
+ */
 GtkWidget *
 gtk_hpaned_new (void)
 {



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