static void
_test_eio_clear(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
{
- elm_genlist_clear(data);
+ elm_gen_clear(data);
}
void
my_gl_clear(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Evas_Object *gl = data;
- elm_genlist_clear(gl);
+ elm_gen_clear(gl);
}
static void
*
* @ingroup Gengrid
*/
- EAPI void elm_gengrid_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
+ EINA_DEPRECATED EAPI void elm_gengrid_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
* Get the selected item in a given gengrid widget
*
* @ingroup Genlist
*/
- EAPI void elm_genlist_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
+ EINA_DEPRECATED EAPI void elm_genlist_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
* Enable or disable multi-selection in the genlist
*
evas_object_smart_callback_call(wr->obj, SIG_DIRECTORY_OPEN, (void *)wr->path);
if (!wr->parent)
{
- elm_genlist_clear(wr->wd->files_list);
- elm_gengrid_clear(wr->wd->files_grid);
+ elm_gen_clear(wr->wd->files_list);
+ elm_gen_clear(wr->wd->files_grid);
eina_stringshare_replace(&wr->wd->path, wr->path);
_do_anchors(wr->obj, wr->path);
}
evas_object_smart_callback_call(obj, SIG_DIRECTORY_OPEN, (void *)path);
if (!parent)
{
- elm_genlist_clear(wd->files_list);
- elm_gengrid_clear(wd->files_grid);
+ elm_gen_clear(wd->files_list);
+ elm_gen_clear(wd->files_grid);
eina_stringshare_replace(&wd->path, path);
_do_anchors(obj, path);
}
{
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
- elm_gengrid_clear(obj);
+ elm_gen_clear(obj);
evas_object_del(wd->pan_smart);
wd->pan_smart = NULL;
}
{
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
- elm_genlist_clear(obj);
+ elm_gen_clear(obj);
evas_object_del(wd->pan_smart);
wd->pan_smart = NULL;
}
evas_object_event_callback_del_full(st->genlist, EVAS_CALLBACK_DEL, _store_genlist_del, st);
evas_object_smart_callback_del(st->genlist, "realized", _store_genlist_item_realized);
evas_object_smart_callback_del(st->genlist, "unrealized", _store_genlist_item_unrealized);
- elm_genlist_clear(st->genlist);
+ elm_gen_clear(st->genlist);
st->genlist = NULL;
}
if (st->free) st->free(st);
evas_object_event_callback_del_full(st->genlist, EVAS_CALLBACK_DEL, _store_genlist_del, st);
evas_object_smart_callback_del(st->genlist, "realized", _store_genlist_item_realized);
evas_object_smart_callback_del(st->genlist, "unrealized", _store_genlist_item_unrealized);
- elm_genlist_clear(st->genlist);
+ elm_gen_clear(st->genlist);
}
st->genlist = obj;
if (!st->genlist) return;
evas_object_smart_callback_add(st->genlist, "realized", _store_genlist_item_realized, st);
evas_object_smart_callback_add(st->genlist, "unrealized", _store_genlist_item_unrealized, st);
evas_object_event_callback_add(st->genlist, EVAS_CALLBACK_DEL, _store_genlist_del, st);
- elm_genlist_clear(st->genlist);
+ elm_gen_clear(st->genlist);
}
EAPI void