{
// called on a change but delayed in case multiple changes happen in a
// short timespan
- elm_genlist_item_top_bring_in(elm_object_item_data_get(event_info));
+ elm_genlist_item_bring_in(elm_object_item_data_get(event_info),
+ ELM_GENLIST_ITEM_SCROLLTO_TOP);
}
void
_index_selected_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
// called on final select
- elm_genlist_item_top_bring_in(elm_object_item_data_get(event_info));
+ elm_genlist_item_bring_in(elm_object_item_data_get(event_info),
+ ELM_GENLIST_ITEM_SCROLLTO_TOP);
}
static void
if (!glit) glit = elm_genlist_first_item_get(list);
elm_genlist_item_selected_set(glit, EINA_TRUE);
- elm_genlist_item_show(glit);
+ elm_genlist_item_show(glit, ELM_GENLIST_ITEM_SCROLLTO_IN);
}
static void
Elm_Object_Item *glit = data;
if (!glit) return;
- elm_genlist_item_middle_bring_in(glit);
+ elm_genlist_item_bring_in(glit, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE);
}
static void
Elm_Object_Item *glit = data;
if (!glit) return;
- elm_genlist_item_middle_show(glit);
+ elm_genlist_item_show(glit, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE);
}
static void
Elm_Object_Item *glit = data;
if (!glit) return;
- elm_genlist_item_top_bring_in(glit);
+ elm_genlist_item_bring_in(glit, ELM_GENLIST_ITEM_SCROLLTO_TOP);
}
static void
Elm_Object_Item *glit = data;
if (!glit) return;
- elm_genlist_item_top_show(glit);
+ elm_genlist_item_show(glit, ELM_GENLIST_ITEM_SCROLLTO_TOP);
}
static void