glt_exp(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
Elm_Object_Item *glit = event_info;
- Evas_Object *gl = elm_genlist_item_genlist_get(glit);
+ Evas_Object *gl = elm_object_item_widget_get(glit);
int val = (int)(long) elm_object_item_data_get(glit);
Elm_Object_Item *glit1, *glit2, *glit3;
gl4_exp(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
Elm_Object_Item *glit = event_info;
- Evas_Object *gl = elm_genlist_item_genlist_get(glit);
+ Evas_Object *gl = elm_object_item_widget_get(glit);
int val = (int)(long) elm_object_item_data_get(glit);
val *= 10;
elm_genlist_item_append(gl, &itc4,
gl9_exp(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
Elm_Object_Item *glit = event_info;
- Evas_Object *gl = elm_genlist_item_genlist_get(glit);
+ Evas_Object *gl = elm_object_item_widget_get(glit);
int val = (int)(long) elm_object_item_data_get(glit);
val *= 10;
elm_genlist_item_append(gl, &itc1,
void *event_info)
{
Elm_Object_Item *glit = event_info;
- Evas_Object *gl = elm_genlist_item_genlist_get(glit);
+ Evas_Object *gl = elm_object_item_widget_get(glit);
int val = (int)(long) elm_object_item_data_get(glit);
Elm_Object_Item *glit1, *glit2, *glit3;
Eina_List *l;
Elm_Object_Item *glit = event_info;
Node_Data *it_data, *d = elm_object_item_data_get(glit);
- Evas_Object *list = elm_genlist_item_genlist_get(glit);
+ Evas_Object *list = elm_object_item_widget_get(glit);
Elm_Genlist_Item_Class *ic;
*/
EINA_DEPRECATED EAPI void elm_genlist_item_del(Elm_Object_Item *it);
+/**
+ * Get the genlist object's handle which contains a given genlist
+ * item
+ *
+ * @param it The item to fetch the container from
+ * @return The genlist (parent) object
+ *
+ * This returns the genlist object itself that an item belongs to.
+ * @deprecated Use elm_object_item_widget_get() instead
+ *
+ * @ingroup Genlist
+ */
+EINA_DEPRECATED EAPI Evas_Object *elm_genlist_item_genlist_get(const Elm_Object_Item *it);
+
+
#define ELM_IMAGE_ROTATE_90_CW 1
#define ELM_IMAGE_ROTATE_180_CW 2
#define ELM_IMAGE_ROTATE_90_CCW 3
EAPI Elm_Object_Item *elm_genlist_item_prev_get(const Elm_Object_Item *it);
/**
- * Get the genlist object's handle which contains a given genlist
- * item
- *
- * @param it The item to fetch the container from
- * @return The genlist (parent) object
- *
- * This returns the genlist object itself that an item belongs to.
- *
- * @ingroup Genlist
- */
-EAPI Evas_Object *elm_genlist_item_genlist_get(const Elm_Object_Item *it);
-
-/**
* Get the parent item of the given item
*
* @param it The item