[gtk+/treeview-refactor] docs: Move documentation to inline comments: GtkCellRendererText



commit 24c3b956f35aa495a660e00aa6491cf12aa647f5
Author: Garrett Regier <alias301 gmail com>
Date:   Sat Nov 6 18:02:11 2010 +0100

    docs: Move documentation to inline comments: GtkCellRendererText
    
    Signed-off-by: Javier Jardón <jjardon gnome org>

 docs/reference/gtk/tmpl/.gitignore               |    1 +
 docs/reference/gtk/tmpl/gtkcellrenderertext.sgml |  288 ----------------------
 gtk/gtkcellrenderertext.c                        |   14 +
 3 files changed, 15 insertions(+), 288 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 2ad13ef..5826d90 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -9,6 +9,7 @@ gtkbutton.sgml
 gtkcalendar.sgml
 gtkcelleditable.sgml
 gtkcellrenderer.sgml
+gtkcellrenderertext.sgml
 gtkcolorbutton.sgml
 gtkcolorsel.sgml
 gtkcombobox.sgml
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c
index f5945cc..a93f16c 100644
--- a/gtk/gtkcellrenderertext.c
+++ b/gtk/gtkcellrenderertext.c
@@ -32,6 +32,20 @@
 #include "gtktreeprivate.h"
 
 
+/**
+ * SECTION:gtkcellrenderertext
+ * @Short_description: Renders text in a cell
+ * @Title: GtkCellRendererText
+ *
+ * A #GtkCellRendererText renders a given text in its cell, using the font, color and
+ * style information provided by its properties. The text will be ellipsized if it is
+ * too long and the #GtkCellRendererText:ellipsize property allows it.
+ *
+ * If the #GtkCellRenderer:mode is %GTK_CELL_RENDERER_MODE_EDITABLE,
+ * the #GtkCellRendererText allows to edit its text using an entry.
+ */
+
+
 static void gtk_cell_renderer_text_finalize   (GObject                  *object);
 
 static void gtk_cell_renderer_text_get_property  (GObject                  *object,



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