forked from enlightenment/enlightenment
Wrapper functions for getting an items 'value'. To be used in new Shelf
Contents dialog. SVN revision: 47844
This commit is contained in:
parent
f08bdd1c4c
commit
c0bb6d2148
|
@ -677,6 +677,13 @@ e_widget_ilist_item_data_get(const E_Ilist_Item *it)
|
|||
return wcb->data;
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
e_widget_ilist_item_value_get(const E_Ilist_Item *it)
|
||||
{
|
||||
E_Widget_Callback *wcb = it->data2;
|
||||
return wcb->value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the nth element of an ilist
|
||||
* @param obj the ilist
|
||||
|
|
|
@ -40,6 +40,7 @@ EAPI const char *e_widget_ilist_item_label_get(const E_Ilist_Item *it);
|
|||
EAPI Evas_Object *e_widget_ilist_item_icon_get(const E_Ilist_Item *it);
|
||||
EAPI Evas_Object *e_widget_ilist_item_end_get(const E_Ilist_Item *it);
|
||||
EAPI void *e_widget_ilist_item_data_get(const E_Ilist_Item *it);
|
||||
EAPI const char *e_widget_ilist_item_value_get(const E_Ilist_Item *it);
|
||||
|
||||
EAPI void e_widget_ilist_nth_show(Evas_Object *obj, int n, int top);
|
||||
EAPI void e_widget_ilist_selected_set(Evas_Object *obj, int n);
|
||||
|
|
Loading…
Reference in New Issue