[gtk+] Move documentation to inline comments: GtkCellRendererToggle



commit fc0e045d92b8e5e9498ac2894f7833573284081d
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Apr 11 02:42:54 2011 +0100

    Move documentation to inline comments: GtkCellRendererToggle

 docs/reference/gtk/tmpl/.gitignore                 |    1 +
 docs/reference/gtk/tmpl/gtkcellrenderertoggle.sgml |  127 --------------------
 gtk/gtkcellrenderertoggle.c                        |   12 ++
 3 files changed, 13 insertions(+), 127 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 3f60574..d33890a 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -13,6 +13,7 @@ gtkcelllayout.sgml
 gtkcellrenderer.sgml
 gtkcellrendererprogress.sgml
 gtkcellrenderertext.sgml
+gtkcellrenderertoggle.sgml
 gtkcellview.sgml
 gtkcolorbutton.sgml
 gtkcolorsel.sgml
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index efc2066..2c8debd 100644
--- a/gtk/gtkcellrenderertoggle.c
+++ b/gtk/gtkcellrenderertoggle.c
@@ -26,6 +26,18 @@
 #include "gtktreeprivate.h"
 
 
+/**
+ * SECTION:gtkcellrenderertoggle
+ * @Short_description: Renders a toggle button in a cell
+ * @Title: GtkCellRendererToggle
+ *
+ * #GtkCellRendererToggle renders a toggle button in a cell. The
+ * button is drawn as a radio or a checkbutton, depending on the
+ * #GtkCellRendererToggle:radio property.
+ * When activated, it emits the #GtkCellRendererToggle::toggled signal.
+ */
+
+
 static void gtk_cell_renderer_toggle_get_property  (GObject                    *object,
 						    guint                       param_id,
 						    GValue                     *value,



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