[gtk+] Move documentation to inline comments: GtkFontButton



commit 9dc0e7460ee3ff62bed6e017d581f69fcc4dbf57
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Apr 11 02:47:43 2011 +0100

    Move documentation to inline comments: GtkFontButton

 docs/reference/gtk/tmpl/.gitignore         |    1 +
 docs/reference/gtk/tmpl/gtkfontbutton.sgml |  194 ----------------------------
 gtk/gtkfontbutton.c                        |   12 ++
 3 files changed, 13 insertions(+), 194 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index d33890a..4b829a2 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -31,6 +31,7 @@ gtkexpander.sgml
 gtkfeatures.sgml
 gtkfixed.sgml
 gtkfilefilter.sgml
+gtkfontbutton.sgml
 gtkhbox.sgml
 gtkhpaned.sgml
 gtkiconview.sgml
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index 1f6c7b1..0cd08f4 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -45,6 +45,18 @@
 #include <stdio.h>
 
 
+/**
+ * SECTION:gtkfontbutton
+ * @Short_description: A button to launch a font selection dialog
+ * @Title: GtkFontButton
+ * @See_also: #GtkFontSelectionDialog, #GtkColorButton.
+ *
+ * The #GtkFontButton is a button which displays the currently selected
+ * font an allows to open a font selection dialog to change the font.
+ * It is suitable widget for selecting a font in a preference dialog.
+ */
+
+
 struct _GtkFontButtonPrivate 
 {
   gchar         *title;



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