ExoCellRendererIcon

ExoCellRendererIcon — Renders an icon in a cell

Synopsis

#include <exo/exo.h>

                    ExoCellRendererIcon;
GtkCellRenderer *   exo_cell_renderer_icon_new          (void);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkCellRenderer
                     +----ExoCellRendererIcon

Properties

  "follow-state"             gboolean              : Read / Write / Construct
  "icon"                     gchar*                : Read / Write
  "size"                     gint                  : Read / Write / Construct

Description

An ExoCellRendererIcon can be used to render an icon in a cell. It allows to render either a named icon, which is looked up using the GtkIconTheme, or an image file loaded from the file system. The icon name or absolute path to the image file is set via the icon property.

To support the ExoIconView (and GtkIconView), ExoCellRendererIcon supports rendering icons based on the state of the view if the follow-state property is set.

Details

ExoCellRendererIcon

typedef struct _ExoCellRendererIcon ExoCellRendererIcon;

The ExoCellRendererIcon struct contains only private fields and should not be directly accessed.


exo_cell_renderer_icon_new ()

GtkCellRenderer *   exo_cell_renderer_icon_new          (void);

Creates a new ExoCellRendererIcon. Adjust rendering parameters using object 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. For example you can bind the icon property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon name/a> property on the cell renderer to an icon nam