summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderertext.c
diff options
context:
space:
mode:
authorGarrett Regier <alias301@gmail.com>2010-11-06 18:02:11 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-11-08 11:31:02 +0900
commit24c3b956f35aa495a660e00aa6491cf12aa647f5 (patch)
tree13bfa13ffa14728414d3bfedc548d7f468fa0e09 /gtk/gtkcellrenderertext.c
parent322db81256abbf1ffe63ce740c99d1e72ec0087e (diff)
downloadgtk+-24c3b956f35aa495a660e00aa6491cf12aa647f5.tar.gz
docs: Move documentation to inline comments: GtkCellRendererText
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Diffstat (limited to 'gtk/gtkcellrenderertext.c')
-rw-r--r--gtk/gtkcellrenderertext.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c
index f5945cc881..a93f16c9dc 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,