[gtk+] [docs] Move documentation to inline comments: GtkBin
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] [docs] Move documentation to inline comments: GtkBin
- Date: Sun, 18 Apr 2010 03:19:34 +0000 (UTC)
commit 8e8d302d106e38d9b23db1afb22d80fc05b06194
Author: Tadej Borovšak <tadeboro gmail com>
Date: Tue Mar 9 23:32:53 2010 +0100
[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>
docs/reference/gtk/tmpl/gtkbin.sgml | 54 -----------------------------------
gtk/gtkbin.c | 13 ++++++++
2 files changed, 13 insertions(+), 54 deletions(-)
---
diff --git a/gtk/gtkbin.c b/gtk/gtkbin.c
index 16f1379..3d533b2 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]