EAPI Eina_List *elm_genlist_edit_selected_items_get(const Evas_Object *obj);
EAPI void elm_genlist_edit_item_selected_set(Elm_Genlist_Item *it, Eina_Bool selected) EINA_ARG_NONNULL(1);
EAPI const Eina_Bool elm_genlist_edit_item_selected_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);;
- EAPI void elm_genlist_item_rename_mode_set(Elm_Genlist_Item *it, int emode);
+ EAPI Evas_Object *elm_genlist_item_rename_mode_set(Elm_Genlist_Item *it, int emode);
EAPI void elm_genlist_item_move_after(Elm_Genlist_Item *it, Elm_Genlist_Item *after );
EAPI void elm_genlist_item_move_before(Elm_Genlist_Item *it, Elm_Genlist_Item *before);
EAPI void elm_genlist_effect_set(const Evas_Object *obj, Eina_Bool emode);
*
* @ingroup Genlist
*/
-EAPI void
+EAPI Evas_Object *
elm_genlist_item_rename_mode_set(Elm_Genlist_Item *it, int emode)
{
if (!it) return;
s = it->itc->func.label_get((void *)it->base.data, it->base.widget, list->data);
if (s)
{
- Evas_Object *entry = elm_editfield_entry_get(editfield);
+ entry = elm_editfield_entry_get(editfield);
elm_entry_entry_set(entry,s);
free(s);
}
label_cnt++;
}
}
- }
-
+ }\r
+
+ return entry;
}
static void _sweep_finish(void *data, Evas_Object *o, const char *emission, const char *source)