From 24c3b956f35aa495a660e00aa6491cf12aa647f5 Mon Sep 17 00:00:00 2001 From: Garrett Regier Date: Sat, 6 Nov 2010 18:02:11 +0100 Subject: [PATCH] docs: Move documentation to inline comments: GtkCellRendererText MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Javier Jardón --- docs/reference/gtk/tmpl/.gitignore | 1 + .../gtk/tmpl/gtkcellrenderertext.sgml | 288 ------------------ gtk/gtkcellrenderertext.c | 14 + 3 files changed, 15 insertions(+), 288 deletions(-) delete mode 100644 docs/reference/gtk/tmpl/gtkcellrenderertext.sgml diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore index 2ad13ef893..5826d9018c 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/docs/reference/gtk/tmpl/gtkcellrenderertext.sgml b/docs/reference/gtk/tmpl/gtkcellrenderertext.sgml deleted file mode 100644 index f324099c3d..0000000000 --- a/docs/reference/gtk/tmpl/gtkcellrenderertext.sgml +++ /dev/null @@ -1,288 +0,0 @@ - -GtkCellRendererText - - -Renders text in a cell - - - -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 ellipsize -property allows it. - - - -If the mode is %GTK_CELL_RENDERER_MODE_EDITABLE, -the #GtkCellRendererText allows to edit its text using an entry. - - - - - - - - - - - - - - - - - - - - - - - - -@cellrenderertext: the object which received the signal. -@arg1: -@arg2: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -@void: -@Returns: - - - - - - - -@renderer: -@number_of_rows: - - 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,