Top |
Functions
ECell * | e_cell_toggle_new () |
void | e_cell_toggle_construct () |
GPtrArray * | e_cell_toggle_get_pixbufs () |
void | e_cell_toggle_set_icon_descriptions () |
const gchar * | e_cell_toggle_get_icon_description () |
Functions
e_cell_toggle_new ()
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.
Parameters
icon_names |
array of icon names, some of which may be |
|
n_icon_names |
length of the |
e_cell_toggle_construct ()
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.
Parameters
cell_toggle |
a fresh ECellToggle object |
|
icon_names |
array of icon names, some of which may be |
|
n_icon_names |
length of the |
e_cell_toggle_set_icon_descriptions ()
void e_cell_toggle_set_icon_descriptions (ECellToggle *cell_toggle
,const gchar **descriptions
,gint n_descriptions
);
e_cell_toggle_get_icon_description ()
const gchar * e_cell_toggle_get_icon_description (ECellToggle *cell_toggle
,gint n
);