[gtk+] Move documentation to inline comments: GtkInvisible



commit 735f3a23a41f51f72fb64562643d339489a82f51
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Apr 11 02:31:56 2011 +0100

    Move documentation to inline comments: GtkInvisible

 docs/reference/gtk/tmpl/.gitignore        |    1 +
 docs/reference/gtk/tmpl/gtkinvisible.sgml |   73 -----------------------------
 gtk/gtkinvisible.c                        |   14 ++++++
 3 files changed, 15 insertions(+), 73 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index f91bf79..c992c53 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -35,6 +35,7 @@ gtkiconview.sgml
 gtkimagemenuitem.sgml
 gtkimcontextsimple.sgml
 gtkimmulticontext.sgml
+gtkinvisible.sgml
 gtkitemfactory.sgml
 gtklayout.sgml
 gtklinkbutton.sgml
diff --git a/gtk/gtkinvisible.c b/gtk/gtkinvisible.c
index 7003a18..42e0a5b 100644
--- a/gtk/gtkinvisible.c
+++ b/gtk/gtkinvisible.c
@@ -31,6 +31,20 @@
 #include "gtkprivate.h"
 #include "gtkintl.h"
 
+
+/**
+ * SECTION:gtkinvisible
+ * @Short_description: A widget which is not displayed
+ * @Title: GtkInvisible
+ *
+ * The #GtkInvisible widget is used internally in GTK+, and is probably not
+ * very useful for application developers.
+ *
+ * It is used for reliable pointer grabs and selection handling in the code
+ * for drag-and-drop.
+ */
+
+
 struct _GtkInvisiblePrivate
 {
   GdkScreen    *screen;



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