* item pointed to by that index item. When one releases the mouse
* button, the second callback takes place. There, we check that the
* reported item data, on @c event_info, is the same reported by
- * elm_index_item_selected_get(), which gives the last selection's
+ * elm_index_selected_item_get(), which gives the last selection's
* data on the index widget.
*
* The first of the three buttons that follow will call
void *event_info __UNUSED__)
{
Elm_Object_Item *iit;
- Elm_Object_Item *lit = elm_index_item_selected_get(d.index, 0);
+ Elm_Object_Item *lit = elm_index_selected_item_get(d.index, 0);
iit = elm_index_item_find(d.index, lit);
fprintf(stdout, "New index item selected. Comparing item reported"
" via callback with the selection returned by the API: "
- "%s.\n", lit == elm_index_item_selected_get(obj, 0) ? "OK" :
+ "%s.\n", lit == elm_index_selected_item_get(obj, 0) ? "OK" :
"FAIL, something went wrong");
}
}
-EINA_DEPRECATED EAPI Elm_Object_Item *
-elm_index_item_selected_get(const Evas_Object *obj, int level)
-{
- return elm_index_selected_item_get(obj, level);
-}
-
EAPI Elm_Object_Item *
elm_index_selected_item_get(const Evas_Object *obj, int level)
{
*
* Selected items will be highlighted.
*
- * @see elm_index_item_selected_get()
* @see elm_index_selected_item_get()
*
* @ingroup Index