Part IV. Additional cell renderers

Table of Contents

ExoCellRendererEllipsizedText — Renders text in a cell
ExoCellRendererIcon — Renders an icon in a cell

Gtk+ contains various cell renderers that are intended to be used with GtkTreeView and GtkComboBox, but are difficult to use with ExoIconView (or even GtkIconView), mainly because the renderers do not follow the state of the view and render appropriate indicators.

Because of these issues, the ExoCellRendererEllipsizedText (the name of the class is rather confusing) and the ExoCellRendererIcon classes are provided, which both include a follow-state property that tells whether the renderer should follow the state of the view and draw appropriate indicators.

The ExoCellRendererIcon class should also be preferred over the the GtkCellRendererPixbuf class when using named icons or image files because it uses a fixed size for layouting and loads the icons only on-demand (utilizing the thumbnail database whenever possible).