Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkCellRenderer ╰── GtkCellRendererText ╰── ExoCellRendererEllipsizedText
The ExoCellRendererEllipsizedText renders a given text in its cell, using the font, color and style information provided by its properties (which are actually inherited from GtkCellRendererText).
Despite the rather confusing name of this class, it is mainly useful to render text in an ExoIconView (or a GtkIconView), which require the renderers to actually draw the state indicators. State indicators will be drawn only if the
follow-stateproperty is TRUE
.
GtkCellRenderer *
exo_cell_renderer_ellipsized_text_new (void
);
Creates a new ExoCellRendererEllipsizedText. Adjust rendering parameters using gobject properties,
which can be set globally via g_object_set()
. Also, with GtkCellLayout and GtkTreeViewColumn, you
can bind a property to a value in a GtkTreeModel.
“follow-state”
property“follow-state” gboolean
Specifies whether the text renderer should render the text based on the selection state of the items. This is necessary for ExoIconView which doesn't draw any item state indicators itself.
Flags: Read / Write
Default value: FALSE
Since: 0.3.1.9