summaryrefslogtreecommitdiff
path: root/gtk/gtkbin.c
diff options
context:
space:
mode:
authorTadej Borovšak <tadeboro@gmail.com>2010-03-09 23:32:53 +0100
committerJavier Jardón <jjardon@gnome.org>2010-04-18 05:19:21 +0200
commit8e8d302d106e38d9b23db1afb22d80fc05b06194 (patch)
treeab503bfeaf9b8f6953d6b62caa4884e0120a7ae9 /gtk/gtkbin.c
parent4c0cf04688ec42035d7733a5fe3f08b72a0b75c3 (diff)
downloadgtk+-8e8d302d106e38d9b23db1afb22d80fc05b06194.tar.gz
[docs] Move documentation to inline comments: GtkBin
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612351 Signed-off-by: Javier Jardón <jjardon@gnome.org>
Diffstat (limited to 'gtk/gtkbin.c')
-rw-r--r--gtk/gtkbin.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk/gtkbin.c b/gtk/gtkbin.c
index 16f13794ee..3d533b2de2 100644
--- a/gtk/gtkbin.c
+++ b/gtk/gtkbin.c
@@ -24,6 +24,19 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+/**
+ * SECTION:gtkbin
+ * @Short_description: A container with just one child
+ * @Title: GtkBin
+ *
+ * The #GtkBin widget is a container with just one child.
+ * It is not very useful itself, but it is useful for deriving subclasses,
+ * since it provides common code needed for handling a single child widget.
+ *
+ * Many GTK+ widgets are subclasses of #GtkBin, including #GtkWindow,
+ * #GtkButton, #GtkFrame, #GtkHandleBox or #GtkScrolledWindow.
+ */
+
#include "config.h"
#include "gtkbin.h"
#include "gtkintl.h"