-
- wd = elm_widget_data_get(item->base.widget);
- if (!wd)
- return;
-
- if (wd->walking > 0)
- {
- item->deleted = EINA_TRUE;
- return;
- }
-
- _flipselector_walk(wd);
-
- wd->items = eina_list_remove(wd->items, item);
- _item_free(item);
- _sentinel_eval(wd);
-
- _flipselector_unwalk(wd);
-}
-
-EAPI const char *
-elm_flipselector_item_label_get(const Elm_Flipselector_Item *item)
-{
- ELM_FLIPSELECTOR_ITEM_CHECK_DELETED_RETURN(item, NULL);
-
- Elm_Flipselector_Item *_item;
- Widget_Data *wd;
- Eina_List *l;
-
- wd = elm_widget_data_get(item->base.widget);
- if ((!wd) || (!wd->items))
- return NULL;
-
- EINA_LIST_FOREACH(wd->items, l, _item)
- if (_item == item)
- return item->label;
-
- return NULL;
-}
-
-EAPI void
-elm_flipselector_item_label_set(Elm_Flipselector_Item *item, const char *label)
-{
- ELM_FLIPSELECTOR_ITEM_CHECK_DELETED_RETURN(item);
-
- Widget_Data *wd;
- Eina_List *l;
-
- if ((!item) || (!label))
- return;
-
- wd = elm_widget_data_get(item->base.widget);
- if ((!wd) || (!wd->items))
- return;
-
- l = eina_list_data_find_list(wd->items, item);
- if (!l)
- return;
-
- eina_stringshare_del(item->label);
- item->label = eina_stringshare_add_length(label, wd->max_len);
-
- if (strlen(label) >
- strlen(elm_flipselector_item_label_get(DATA_GET(wd->sentinel))))
- wd->sentinel = l;
-
- if (wd->current == l)
- {
- _update_view(item->base.widget);
- _sizing_eval(wd->self);
- }
-
- return;
-}
-
-EAPI Elm_Flipselector_Item *
-elm_flipselector_item_prev_get(Elm_Flipselector_Item *item)
-{
- ELM_FLIPSELECTOR_ITEM_CHECK_DELETED_RETURN(item, NULL);
-
- Elm_Flipselector_Item *_item;
- Widget_Data *wd;