|  |  |  | Evolution Utilities Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
struct ECellToggle; ECell * e_cell_toggle_new (const gchar **icon_names,guint n_icon_names); void e_cell_toggle_construct (ECellToggle *cell_toggle,const gchar **icon_names,guint n_icon_names); GPtrArray * e_cell_toggle_get_pixbufs (ECellToggle *cell_toggle);
ECell * e_cell_toggle_new (const gchar **icon_names,guint n_icon_names);
Creates a new ECell renderer that can be used to render toggle
buttons with the icons specified in icon_names.  The value returned
by ETableModel::get_value is typecast into an integer and clamped
to the [0..n_icon_names) range.  That will select the image rendered.
NULL elements in icon_names will show no icon for the corresponding
integer value.
| 
 | array of icon names, some of which may be NULL | 
| 
 | length of the icon_namesarray | 
| Returns : | an ECell object that can be used to render multi-state toggle cells. | 
void e_cell_toggle_construct (ECellToggle *cell_toggle,const gchar **icon_names,guint n_icon_names);
Constructs the cell_toggle object with the icon_names and n_icon_names
arguments.
| 
 | a fresh ECellToggle object | 
| 
 | array of icon names, some of which may be NULL | 
| 
 | length of the icon_namesarray |