Part III. Additional cell renderers

Table of Contents

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 ExoCellRendererIcon class is provided, which includes 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).