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,