forked from enlightenment/efl
add elm_object_item_data_get elm_object_item_data_set to wrap corresponding elm_widget_item calls
SVN revision: 63313
This commit is contained in:
parent
263b5a8b2b
commit
1360b4df3b
|
@ -1104,6 +1104,24 @@ extern "C" {
|
|||
|
||||
#define elm_object_item_text_get(it) elm_object_item_text_part_get((it), NULL)
|
||||
|
||||
/**
|
||||
* Get the data associated with an object item
|
||||
* @param it The object item
|
||||
* @return The data associated with @p it
|
||||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI void *elm_object_item_data_get(const Elm_Object_Item *it);
|
||||
|
||||
/**
|
||||
* Set the data associated with an object item
|
||||
* @param it The object item
|
||||
* @param data The data to be associated with @p it
|
||||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI void elm_object_item_data_set(Elm_Object_Item *it, void *data);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
|
@ -2115,3 +2115,14 @@ elm_object_item_access_info_set(Elm_Object_Item *it, const char *txt)
|
|||
_elm_widget_item_access_info_set((Elm_Widget_Item *)it, txt);
|
||||
}
|
||||
|
||||
EAPI void *
|
||||
elm_object_item_data_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return elm_widget_item_data_get(it);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_object_item_data_set(Elm_Object_Item *it, void *data)
|
||||
{
|
||||
elm_widget_item_data_set(it, data);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue