Elementary context popup item class. More...
Macros | |
#define | ELM_CTXPOPUP_ITEM_CLASS elm_ctxpopup_item_class_get() |
Get the context popup item class. | |
Functions | |
EOAPI Elm_Widget_Item * | elm_obj_ctxpopup_item_prev_get (const Eo *obj) |
Get the item before this one in the widget's list of items. More... | |
EOAPI Elm_Widget_Item * | elm_obj_ctxpopup_item_next_get (const Eo *obj) |
Get the item after this one in the widget's list of items. More... | |
EOAPI void | elm_obj_ctxpopup_item_selected_set (Eo *obj, Eina_Bool selected) |
Indicates whether this item is currently selected. More... | |
EOAPI Eina_Bool | elm_obj_ctxpopup_item_selected_get (const Eo *obj) |
Indicates whether this item is currently selected. More... | |
EOAPI void | elm_obj_ctxpopup_item_init (Eo *obj, Evas_Smart_Cb func, const void *data) |
Init context popup item. More... | |
Elm_Widget_Item * | elm_ctxpopup_item_prev_get (const Elm_Ctxpopup_Item *obj) |
Get the item before this one in the widget's list of items. More... | |
Elm_Widget_Item * | elm_ctxpopup_item_next_get (const Elm_Ctxpopup_Item *obj) |
Get the item after this one in the widget's list of items. More... | |
void | elm_ctxpopup_item_selected_set (Elm_Ctxpopup_Item *obj, Eina_Bool selected) |
Indicates whether this item is currently selected. More... | |
Eina_Bool | elm_ctxpopup_item_selected_get (const Elm_Ctxpopup_Item *obj) |
Indicates whether this item is currently selected. More... | |
void | elm_ctxpopup_item_init (Elm_Ctxpopup_Item *obj, Evas_Smart_Cb func, const void *data) |
Init context popup item. More... | |
Elementary context popup item class.
EOAPI Elm_Widget_Item * elm_obj_ctxpopup_item_prev_get | ( | const Eo * | obj | ) |
Get the item before this one in the widget's list of items.
See also elm_obj_ctxpopup_item_next_get.
[in] | obj | The object. |
null
is returned. Referenced by elm_ctxpopup_item_prev_get().
EOAPI Elm_Widget_Item * elm_obj_ctxpopup_item_next_get | ( | const Eo * | obj | ) |
Get the item after this one in the widget's list of items.
See also elm_obj_ctxpopup_item_prev_get.
[in] | obj | The object. |
null
is returned. Referenced by elm_ctxpopup_item_next_get().
EOAPI void elm_obj_ctxpopup_item_selected_set | ( | Eo * | obj, |
Eina_Bool | selected | ||
) |
Indicates whether this item is currently selected.
Set the selected state of item
.
This sets the selected state of the given item it
. true
for selected, false
for not selected.
If a new item is selected the previously selected will be unselected. Previously selected item can be retrieved with elm_obj_ctxpopup_selected_item_get.
Selected items will be highlighted.
[in] | obj | The object. |
[in] | selected | The selection state. |
Referenced by elm_ctxpopup_item_selected_set().
EOAPI Eina_Bool elm_obj_ctxpopup_item_selected_get | ( | const Eo * | obj | ) |
Indicates whether this item is currently selected.
Get the selected state of this item.
[in] | obj | The object. |
Referenced by elm_ctxpopup_item_selected_get().
EOAPI void elm_obj_ctxpopup_item_init | ( | Eo * | obj, |
Evas_Smart_Cb | func, | ||
const void * | data | ||
) |
Init context popup item.
[in] | obj | The object. |
[in] | func | Smart callback function |
[in] | data | Data pointer |
Referenced by elm_ctxpopup_item_init().
Elm_Widget_Item * elm_ctxpopup_item_prev_get | ( | const Elm_Ctxpopup_Item * | obj | ) |
Get the item before this one in the widget's list of items.
See also elm_ctxpopup_item_next_get.
[in] | obj | The object. |
null
is returned. References elm_obj_ctxpopup_item_prev_get().
Elm_Widget_Item * elm_ctxpopup_item_next_get | ( | const Elm_Ctxpopup_Item * | obj | ) |
Get the item after this one in the widget's list of items.
See also elm_ctxpopup_item_prev_get.
[in] | obj | The object. |
null
is returned. References elm_obj_ctxpopup_item_next_get().
void elm_ctxpopup_item_selected_set | ( | Elm_Ctxpopup_Item * | obj, |
Eina_Bool | selected | ||
) |
Indicates whether this item is currently selected.
Set the selected state of item
.
This sets the selected state of the given item it
. true
for selected, false
for not selected.
If a new item is selected the previously selected will be unselected. Previously selected item can be retrieved with elm_ctxpopup_selected_item_get.
Selected items will be highlighted.
[in] | obj | The object. |
[in] | selected | The selection state. |
References elm_obj_ctxpopup_item_selected_set().
Eina_Bool elm_ctxpopup_item_selected_get | ( | const Elm_Ctxpopup_Item * | obj | ) |
Indicates whether this item is currently selected.
Get the selected state of this item.
[in] | obj | The object. |
References elm_obj_ctxpopup_item_selected_get().
void elm_ctxpopup_item_init | ( | Elm_Ctxpopup_Item * | obj, |
Evas_Smart_Cb | func, | ||
const void * | data | ||
) |
Init context popup item.
[in] | obj | The object. |
[in] | func | Smart callback function |
[in] | data | Data pointer |
References elm_obj_ctxpopup_item_init().