[gtk+] Move documentation to inline comments: GtkCellRendererAccel



commit 610d46d12ee808c66f2821ac76e0c894f91aa32a
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Apr 11 03:00:24 2011 +0100

    Move documentation to inline comments: GtkCellRendererAccel

 docs/reference/gtk/tmpl/.gitignore                |    1 +
 docs/reference/gtk/tmpl/gtkcellrendereraccel.sgml |   90 ---------------------
 gtk/gtkcellrendereraccel.c                        |   15 ++++
 3 files changed, 16 insertions(+), 90 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 1444268..469aa22 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -11,6 +11,7 @@ gtkcalendar.sgml
 gtkcelleditable.sgml
 gtkcelllayout.sgml
 gtkcellrenderer.sgml
+gtkcellrendereraccel.sgml
 gtkcellrendererprogress.sgml
 gtkcellrenderertext.sgml
 gtkcellrenderertoggle.sgml
diff --git a/gtk/gtkcellrendereraccel.c b/gtk/gtkcellrendereraccel.c
index 3cfaf74..4cafe70 100644
--- a/gtk/gtkcellrendereraccel.c
+++ b/gtk/gtkcellrendereraccel.c
@@ -32,6 +32,21 @@
 #include "gtkprivate.h"
 
 
+/**
+ * SECTION:gtkcellrendereraccel
+ * @Short_description: Renders a keyboard accelerator in a cell
+ * @Title: GtkCellRendererAccel
+ *
+ * #GtkCellRendererAccel displays a keyboard accelerator (i.e. a
+ * key combination like <keycombo><keycap>Control</keycap><keycap>a</keycap></keycombo>.
+ * If the cell renderer is editable, the accelerator can be changed by
+ * simply typing the new combination.
+ *
+ * The #GtkCellRendererAccel cell renderer was added in GTK+ 2.10.
+ */
+
+
+
 static void gtk_cell_renderer_accel_get_property (GObject         *object,
                                                   guint            param_id,
                                                   GValue          *value,



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