*
* This code places a Elementary diskselector widgets on a window,
* along with some buttons trigerring actions on it (though its API).
- * It covers most of Elm_Diskselector_Item functions.
+ * It covers most of diskselector item functions.
*
* On our @c main function, we are adding a default diskselector with
* 3 items. We are only setting their labels (second parameter of function
static void
_disk_sel(void *data __UNUSED__, Evas_Object * obj __UNUSED__, void *event_info)
{
- Elm_Diskselector_Item *it = event_info;
- printf("Equinox: %s\n", elm_diskselector_item_label_get(it));
+ Elm_Object_Item *ds_it = event_info;
+ printf("Equinox: %s\n", elm_diskselector_item_label_get(ds_it));
}
static void
_disk_next(void *data __UNUSED__, Evas_Object * obj __UNUSED__, void *event_info)
{
- Elm_Diskselector_Item *next, *prev, *it = event_info;
- prev = elm_diskselector_item_prev_get(it);
- next = elm_diskselector_item_next_get(it);
- printf("Prev: %s, Next: %s\n", elm_diskselector_item_label_get(prev),
- elm_diskselector_item_label_get(next));
+ Elm_Object_Item *next_ds_it, *prev_ds_it, *ds_it = event_info;
+ prev_ds_it = elm_diskselector_item_prev_get(ds_it);
+ next_ds_it = elm_diskselector_item_next_get(ds_it);
+ printf("Prev: %s, Next: %s\n",
+ elm_diskselector_item_label_get(prev_ds_it),
+ elm_diskselector_item_label_get(next_ds_it));
}
static void
_print_disk_info_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
- Elm_Diskselector_Item *it = event_info;
- printf("Selected label: %s\n", elm_diskselector_item_label_get(it));
+ Elm_Object_Item *ds_it = event_info;
+ printf("Selected label: %s\n", elm_diskselector_item_label_get(ds_it));
}
static Evas_Object *
_disk_create(Evas_Object *win, Eina_Bool round)
{
- Elm_Diskselector_Item *it;
+ Elm_Object_Item *ds_it;
Evas_Object *di;
di = elm_diskselector_add(win);
elm_diskselector_item_append(di, "May", NULL, NULL, NULL);
elm_diskselector_item_append(di, "June", NULL, NULL, NULL);
elm_diskselector_item_append(di, "July", NULL, NULL, NULL);
- it = elm_diskselector_item_append(di, "August", NULL, NULL, NULL);
+ ds_it = elm_diskselector_item_append(di, "August", NULL, NULL, NULL);
elm_diskselector_item_append(di, "September", NULL, _disk_sel, NULL);
elm_diskselector_item_append(di, "October", NULL, NULL, NULL);
elm_diskselector_item_append(di, "November", NULL, NULL, NULL);
elm_diskselector_item_append(di, "December", NULL, NULL, NULL);
- elm_diskselector_item_selected_set(it, EINA_TRUE);
+ elm_diskselector_item_selected_set(ds_it, EINA_TRUE);
elm_diskselector_round_set(di, round);
return di;
test_diskselector(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Evas_Object *win, *bg, *bx, *disk, *ic;
- Elm_Diskselector_Item *it;
+ Elm_Object_Item *ds_it;
char buf[PATH_MAX];
int idx = 0;
elm_box_pack_end(bx, disk);
evas_object_show(disk);
evas_object_smart_callback_add(disk, "selected", _print_disk_info_cb, NULL);
- it = elm_diskselector_selected_item_get(disk);
- elm_diskselector_item_selected_set(it, EINA_FALSE);
+ ds_it = elm_diskselector_selected_item_get(disk);
+ elm_diskselector_item_selected_set(ds_it, EINA_FALSE);
disk = _disk_create(win, EINA_FALSE);
evas_object_size_hint_weight_set(disk, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_box_pack_end(bx, disk);
evas_object_show(disk);
evas_object_smart_callback_add(disk, "selected", _print_disk_info_cb, NULL);
- it = elm_diskselector_first_item_get(disk);
- it = elm_diskselector_item_next_get(it);
- elm_diskselector_item_selected_set(it, EINA_TRUE);
+ ds_it = elm_diskselector_first_item_get(disk);
+ ds_it = elm_diskselector_item_next_get(ds_it);
+ elm_diskselector_item_selected_set(ds_it, EINA_TRUE);
disk = _disk_create(win, EINA_FALSE);
evas_object_size_hint_weight_set(disk, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
// displayed item number setting example
disk = elm_diskselector_add(win);
elm_diskselector_display_item_num_set(disk, 5);
- printf("Number of Items in DiskSelector : %d\n", elm_diskselector_display_item_num_get(disk));
+ printf("Number of Items in DiskSelector : %d\n",
+ elm_diskselector_display_item_num_get(disk));
for (idx = 0; idx < (int)(sizeof(month_list) / sizeof(month_list[0])); idx++)
{
- it = elm_diskselector_item_append(disk, month_list[idx], NULL, NULL, NULL);
+ ds_it = elm_diskselector_item_append(disk, month_list[idx], NULL, NULL,
+ NULL);
}
- elm_diskselector_item_selected_set(it, EINA_TRUE);
+ elm_diskselector_item_selected_set(ds_it, EINA_TRUE);
elm_diskselector_round_set(disk, EINA_TRUE);
evas_object_size_hint_weight_set(disk, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(disk, EVAS_HINT_FILL, 0.5);
// displayed item number setting example
disk = elm_diskselector_add(win);
elm_diskselector_display_item_num_set(disk, 7);
- printf("Number of Items in DiskSelector : %d\n", elm_diskselector_display_item_num_get(disk));
+ printf("Number of Items in DiskSelector : %d\n",
+ elm_diskselector_display_item_num_get(disk));
for (idx = 1; idx < 31; idx++)
{
snprintf(date, sizeof(date), "%d", idx);
- it = elm_diskselector_item_append(disk, date, NULL, NULL, NULL);
+ ds_it = elm_diskselector_item_append(disk, date, NULL, NULL, NULL);
}
- elm_diskselector_item_selected_set(it, EINA_TRUE);
+ elm_diskselector_item_selected_set(ds_it, EINA_TRUE);
elm_diskselector_round_set(disk, EINA_TRUE);
evas_object_size_hint_weight_set(disk, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(disk, EVAS_HINT_FILL, 0.5);
evas_object_show(disk);
evas_object_smart_callback_add(disk, "selected", _print_disk_info_cb, NULL);
-
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
static void
_add_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
- Elm_Diskselector_Item *it;
+ Elm_Object_Item *ds_it;
Evas_Object *ds = data;
char label[32];
snprintf(label, sizeof(label), "Item %i", counter++);
- it = elm_diskselector_item_append(ds, label, NULL, NULL, NULL);
- if (!it)
- printf("Error adding item\n");
+ ds_it = elm_diskselector_item_append(ds, label, NULL, NULL, NULL);
+ if (!ds_it) printf("Error adding item\n");
}
static void
_add_ic_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
- Elm_Diskselector_Item *it;
+ Elm_Object_Item *ds_it;
Evas_Object *ic, *ds = data;
char label[32];
ic = elm_icon_add(ds);
elm_icon_standard_set(ic, "home");
- it = elm_diskselector_item_append(ds, label, ic, NULL, NULL);
- if (!it)
- printf("Error adding item with icon\n");
+ ds_it = elm_diskselector_item_append(ds, label, ic, NULL, NULL);
+ if (!ds_it) printf("Error adding item with icon\n");
}
static void
_sel_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
- Elm_Diskselector_Item *it = event_info;
- printf("Selected label: %s\n", elm_diskselector_item_label_get(it));
+ Elm_Object_Item *ds_it = event_info;
+ printf("Selected label: %s\n", elm_diskselector_item_label_get(ds_it));
}
static void
_add_func_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
- Elm_Diskselector_Item *it;
+ Elm_Object_Item *ds_it;
Evas_Object *ds = data;
char label[32];
snprintf(label, sizeof(label), "Item %i", counter++);
- it = elm_diskselector_item_append(ds, label, NULL, _sel_cb, NULL);
- if (!it)
- printf("Error adding item\n");
+ ds_it = elm_diskselector_item_append(ds, label, NULL, _sel_cb, NULL);
+ if (!ds_it) printf("Error adding item\n");
}
static void
_sel_data_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info)
{
char *content = data;
- Elm_Diskselector_Item *it = event_info;
+ Elm_Object_Item *ds_it = event_info;
printf("Selected label: %s with data: %s\n",
- elm_diskselector_item_label_get(it), content);
+ elm_diskselector_item_label_get(ds_it), content);
}
static void
static void
_add_data_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
- Elm_Diskselector_Item *it;
+ Elm_Diskselector_Item *ds_it;
Evas_Object *ds = data;
char label[32];
char *content = malloc(sizeof(char) * 32);
snprintf(content, 32, "Item content %i", counter);
snprintf(label, sizeof(label), "Item %i", counter++);
- it = elm_diskselector_item_append(ds, label, NULL, _sel_data_cb, content);
- if (!it) {
+ ds_it = elm_diskselector_item_append(ds, label, NULL, _sel_data_cb, content);
+ if (!ds_it) {
printf("Error adding item\n");
return;
}
- elm_diskselector_item_del_cb_set(it, _free_data);
+ elm_diskselector_item_del_cb_set(ds_it, _free_data);
}
static void
_del_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
- Elm_Diskselector_Item *selected_item;
+ Elm_Object_Item *selected_ds_it;
Evas_Object *ds = data;
- selected_item = elm_diskselector_selected_item_get(ds);
- elm_diskselector_item_del(selected_item);
+ selected_ds_it = elm_diskselector_selected_item_get(ds);
+ elm_diskselector_item_del(selected_ds_it);
}
static void
_unselect_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
- Elm_Diskselector_Item *selected_item;
+ Elm_Object_Item *selected_ds_it;
Evas_Object *ds = data;
- selected_item = elm_diskselector_selected_item_get(ds);
- elm_diskselector_item_selected_set(selected_item, EINA_FALSE);
+ selected_ds_it = elm_diskselector_selected_item_get(ds);
+ elm_diskselector_item_selected_set(selected_ds_it, EINA_FALSE);
}
static void
_print_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
const Eina_List *l, *items;
- Elm_Diskselector_Item *it;
+ Elm_Object_Item *ds_it;
Evas_Object *ds = data;
items = elm_diskselector_items_get(ds);
- EINA_LIST_FOREACH(items, l, it)
- printf("%s\n", elm_diskselector_item_label_get(it));
+ EINA_LIST_FOREACH(items, l, ds_it)
+ printf("%s\n", elm_diskselector_item_label_get(ds_it));
}
static void
static void
_select_first_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
- Elm_Diskselector_Item *first_item;
+ Elm_Object_Item *first_ds_it;
Evas_Object *ds = data;
- first_item = elm_diskselector_first_item_get(ds);
- if (first_item)
- elm_diskselector_item_selected_set(first_item, EINA_TRUE);
+ first_ds_it = elm_diskselector_first_item_get(ds);
+ if (first_ds_it)
+ elm_diskselector_item_selected_set(first_ds_it, EINA_TRUE);
}
static void
_select_last_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
- Elm_Diskselector_Item *last_item;
+ Elm_Object_Item *last_ds_it;
Evas_Object *ds = data;
- last_item = elm_diskselector_last_item_get(ds);
- if (last_item)
- elm_diskselector_item_selected_set(last_item, EINA_TRUE);
+ last_ds_it = elm_diskselector_last_item_get(ds);
+ if (last_ds_it)
+ elm_diskselector_item_selected_set(last_ds_it, EINA_TRUE);
}
static void
_select_next_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
- Elm_Diskselector_Item *selected_item, *next_item;
+ Elm_Diskselector_Item *selected_ds_it, *next_ds_it;
Evas_Object *ds = data;
- selected_item = elm_diskselector_selected_item_get(ds);
- if (!selected_item) return;
+ selected_ds_it = elm_diskselector_selected_item_get(ds);
+ if (!selected_ds_it) return;
- next_item = elm_diskselector_item_next_get(selected_item);
- if (next_item)
- elm_diskselector_item_selected_set(next_item, EINA_TRUE);
+ next_ds_it = elm_diskselector_item_next_get(selected_ds_it);
+ if (next_ds_it)
+ elm_diskselector_item_selected_set(next_ds_it, EINA_TRUE);
}
static void
_select_prev_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
- Elm_Diskselector_Item *selected_item, *prev_item;
+ Elm_Object_Item *selected_ds_it, *prev_ds_it;
Evas_Object *ds = data;
- selected_item = elm_diskselector_selected_item_get(ds);
- if (!selected_item) return;
+ selected_ds_it = elm_diskselector_selected_item_get(ds);
+ if (!selected_ds_it) return;
- prev_item = elm_diskselector_item_prev_get(selected_item);
- if (prev_item)
- elm_diskselector_item_selected_set(prev_item, EINA_TRUE);
+ prev_ds_it = elm_diskselector_item_prev_get(selected_ds_it);
+ if (prev_ds_it)
+ elm_diskselector_item_selected_set(prev_ds_it, EINA_TRUE);
}
EAPI_MAIN int
* @file Elementary.h
* @brief Elementary Widget Library
*/
-#include <elm_intro.h>
-#include <elm_getting_started.h>
-#include <elm_authors.h>
-
#ifndef ELEMENTARY_H
#define ELEMENTARY_H
-/**
- * @file Elementary.h
- * @brief Elementary's API
- *
- * Elementary API.
- */
-
#define ELM_UNIX
#undef ELM_WIN32
#undef ELM_WINCE
{
#endif
+/* docs */
+#include <elm_intro.h>
+#include <elm_getting_started.h>
+#include <elm_authors.h>
+
#define ELM_VERSION_MAJOR 0
#define ELM_VERSION_MINOR 8
#define DISPLAY_ITEM_NUM_MIN 3
typedef struct _Widget_Data Widget_Data;
+typedef struct _Elm_Diskselector_Item Elm_Diskselector_Item;
struct _Widget_Data
{
static const char *widtype = NULL;
-#define ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it, ...) \
- ELM_WIDGET_ITEM_CHECK_OR_RETURN((Elm_Widget_Item *)it, __VA_ARGS__); \
- ELM_CHECK_WIDTYPE(WIDGET(it), widtype) __VA_ARGS__;
-
static Eina_Bool _move_scroller(void *data);
static void _del_hook(Evas_Object * obj);
static void _del_pre_hook(Evas_Object * obj);
return wd->items;
}
-EAPI Elm_Diskselector_Item *
+EAPI Elm_Object_Item *
elm_diskselector_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data)
{
Elm_Diskselector_Item *it;
if (!wd->idler)
wd->idler = ecore_idle_enterer_before_add(_move_scroller, obj);
_sizing_eval(obj);
- return it;
+ return (Elm_Object_Item *) it;
}
EAPI void
-elm_diskselector_item_del(Elm_Diskselector_Item * it)
+elm_diskselector_item_del(Elm_Object_Item * it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it);
- Elm_Diskselector_Item *dit;
- Elm_Diskselector_Item *item;
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
+ Elm_Diskselector_Item *item, *item2, *dit;
Eina_List *l;
int i = 0;
- Widget_Data *wd = elm_widget_data_get(WIDGET(it));
+ Widget_Data *wd;
+ item = (Elm_Diskselector_Item *) it;
+ wd = elm_widget_data_get(WIDGET(item));
if (!wd) return;
- elm_box_unpack(wd->main_box, VIEW(it));
+ elm_box_unpack(wd->main_box, VIEW(item));
if (wd->round)
- wd->r_items = eina_list_remove(wd->r_items, it);
+ wd->r_items = eina_list_remove(wd->r_items, item);
- wd->items = eina_list_remove(wd->items, it);
+ wd->items = eina_list_remove(wd->items, item);
- if (wd->selected_item == it)
+ if (wd->selected_item == item)
{
dit = (Elm_Diskselector_Item *) eina_list_nth(wd->items, 0);
- if (dit != it)
+ if (dit != item)
wd->selected_item = dit;
else
wd->selected_item = eina_list_nth(wd->items, 1);
_selected_item_indicate(wd->selected_item);
}
- _item_del(it);
+ _item_del(item);
wd->item_count -= 1;
if (wd->round)
evas_object_hide(wd->VIEW(last));
evas_object_hide(wd->VIEW(s_last));
- EINA_LIST_FOREACH(wd->under_items, l, item)
- evas_object_hide(VIEW(item));
+ EINA_LIST_FOREACH(wd->under_items, l, item2)
+ evas_object_hide(VIEW(item2));
- EINA_LIST_FOREACH(wd->over_items, l, item)
- evas_object_hide(VIEW(item));
+ EINA_LIST_FOREACH(wd->over_items, l, item2)
+ evas_object_hide(VIEW(item2));
}
else
{
for (i = 2; i < CEIL(wd->display_item_num); i++)
{
dit = eina_list_nth(wd->items, i);
- item = eina_list_nth(wd->over_items, i - 2);
- eina_stringshare_replace(&item->label, dit->label);
- edje_object_part_text_set(VIEW(item), "elm.text", item->label);
+ item2 = eina_list_nth(wd->over_items, i - 2);
+ eina_stringshare_replace(&item2->label, dit->label);
+ edje_object_part_text_set(VIEW(item2), "elm.text", item2->label);
}
dit = eina_list_nth(wd->items, eina_list_count(wd->items) - 1);
for (i = 3; i <= CEIL(wd->display_item_num); i++)
{
dit = eina_list_nth(wd->items, wd->item_count - i);
- item = eina_list_nth(wd->under_items, i - 3);
- eina_stringshare_replace(&item->label, dit->label);
- edje_object_part_text_set(VIEW(item), "elm.text", item->label);
+ item2 = eina_list_nth(wd->under_items, i - 3);
+ eina_stringshare_replace(&item2->label, dit->label);
+ edje_object_part_text_set(VIEW(item2), "elm.text",
+ item2->label);
}
}
}
}
EAPI const char *
-elm_diskselector_item_label_get(const Elm_Diskselector_Item * it)
+elm_diskselector_item_label_get(const Elm_Object_Item * it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it, NULL);
- return it->label;
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
+ return ((Elm_Diskselector_Item *) it)->label;
}
EAPI void
-elm_diskselector_item_label_set(Elm_Diskselector_Item * it, const char *label)
+elm_diskselector_item_label_set(Elm_Object_Item * it, const char *label)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it);
- eina_stringshare_replace(&it->label, label);
- edje_object_part_text_set(VIEW(it), "elm.text", it->label);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
+ Elm_Diskselector_Item *item = (Elm_Diskselector_Item *) it;
+ eina_stringshare_replace(&item->label, label);
+ edje_object_part_text_set(VIEW(item), "elm.text", item->label);
}
-EAPI Elm_Diskselector_Item *
+EAPI Elm_Object_Item *
elm_diskselector_selected_item_get(const Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return NULL;
- return wd->selected_item;
+ return (Elm_Object_Item *) wd->selected_item;
}
EAPI void
-elm_diskselector_item_selected_set(Elm_Diskselector_Item *it, Eina_Bool selected)
+elm_diskselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Widget_Data *wd;
- wd = elm_widget_data_get(WIDGET(it));
+ Elm_Diskselector_Item *item = (Elm_Diskselector_Item *) it;
+ wd = elm_widget_data_get(WIDGET(item));
if (!wd) return;
- if ((wd->selected_item == it) && (selected))
+ if ((wd->selected_item == item) && (selected))
return;
- if ((wd->selected_item == it) && (!selected))
+ if ((wd->selected_item == item) && (!selected))
wd->selected_item = eina_list_data_get(wd->items);
else
{
- wd->selected_item = it;
+ wd->selected_item = item;
_selected_item_indicate(wd->selected_item);
}
if (!wd->idler)
- wd->idler = ecore_idle_enterer_before_add(_move_scroller, WIDGET(it));
+ wd->idler = ecore_idle_enterer_before_add(_move_scroller, WIDGET(item));
}
EAPI Eina_Bool
-elm_diskselector_item_selected_get(const Elm_Diskselector_Item *it)
+elm_diskselector_item_selected_get(const Elm_Object_Item *it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
- Widget_Data *wd;
-
- wd = elm_widget_data_get(WIDGET(it));
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
+ Widget_Data *wd = elm_widget_data_get(WIDGET(it));
if (!wd) return EINA_FALSE;
- return (wd->selected_item == it);
+ return (wd->selected_item == ((Elm_Diskselector_Item *) it));
}
EAPI void
-elm_diskselector_item_del_cb_set(Elm_Diskselector_Item *it, Evas_Smart_Cb func)
+elm_diskselector_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
elm_widget_item_del_cb_set(it, func);
}
EAPI void *
-elm_diskselector_item_data_get(const Elm_Diskselector_Item *it)
+elm_diskselector_item_data_get(const Elm_Object_Item *it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it, NULL);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
return elm_widget_item_data_get(it);
}
EAPI Evas_Object *
-elm_diskselector_item_icon_get(const Elm_Diskselector_Item *it)
+elm_diskselector_item_icon_get(const Elm_Object_Item *it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it, NULL);
- return it->icon;
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
+ return ((Elm_Diskselector_Item *) it)->icon;
}
EAPI void
-elm_diskselector_item_icon_set(Elm_Diskselector_Item *it, Evas_Object *icon)
+elm_diskselector_item_icon_set(Elm_Object_Item *it, Evas_Object *icon)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it);
- _item_icon_set(it, icon);
- _check_identical_item(it, icon);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
+ _item_icon_set((Elm_Diskselector_Item *) it, icon);
+ _check_identical_item((Elm_Diskselector_Item *) it, icon);
}
-EAPI Elm_Diskselector_Item *
-elm_diskselector_item_prev_get(const Elm_Diskselector_Item *it)
+EAPI Elm_Object_Item *
+elm_diskselector_item_prev_get(const Elm_Object_Item *it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it, NULL);
- if (it->node->prev) return it->node->prev->data;
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
+ Elm_Diskselector_Item *item = (Elm_Diskselector_Item *) it;
+ if (item->node->prev) return item->node->prev->data;
else return NULL;
}
-EAPI Elm_Diskselector_Item *
-elm_diskselector_item_next_get(const Elm_Diskselector_Item *it)
+EAPI Elm_Object_Item *
+elm_diskselector_item_next_get(const Elm_Object_Item *it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it, NULL);
- if (it->node->next) return it->node->next->data;
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
+ Elm_Diskselector_Item *item = (Elm_Diskselector_Item *) it;
+ if (item->node->next) return item->node->next->data;
else return NULL;
}
-EAPI Elm_Diskselector_Item *
+EAPI Elm_Object_Item *
elm_diskselector_first_item_get(const Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
- Widget_Data *wd;
-
- wd = elm_widget_data_get(obj);
- if (!wd || !wd->items)
- return NULL;
-
+ Widget_Data *wd = elm_widget_data_get(obj);
+ if (!wd || !wd->items) return NULL;
return eina_list_data_get(wd->items);
}
-EAPI Elm_Diskselector_Item *
+EAPI Elm_Object_Item *
elm_diskselector_last_item_get(const Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
-
- Widget_Data *wd;
- wd = elm_widget_data_get(obj);
- if (!wd || !wd->items)
- return NULL;
-
+ Widget_Data *wd = elm_widget_data_get(obj);
+ if (!wd || !wd->items) return NULL;
return eina_list_data_get(eina_list_last(wd->items));
}
EAPI void
-elm_diskselector_item_tooltip_text_set(Elm_Diskselector_Item *item, const char *text)
+elm_diskselector_item_tooltip_text_set(Elm_Object_Item *it, const char *text)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(item);
- elm_widget_item_tooltip_text_set(item, text);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
+ elm_widget_item_tooltip_text_set(it, text);
}
EAPI void
-elm_diskselector_item_tooltip_content_cb_set(Elm_Diskselector_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb)
+elm_diskselector_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(item);
- elm_widget_item_tooltip_content_cb_set(item, func, data, del_cb);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
+ elm_widget_item_tooltip_content_cb_set(it, func, data, del_cb);
}
EAPI void
-elm_diskselector_item_tooltip_unset(Elm_Diskselector_Item *item)
+elm_diskselector_item_tooltip_unset(Elm_Object_Item *it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(item);
- elm_widget_item_tooltip_unset(item);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
+ elm_widget_item_tooltip_unset(it);
}
EAPI void
-elm_diskselector_item_tooltip_style_set(Elm_Diskselector_Item *item, const char *style)
+elm_diskselector_item_tooltip_style_set(Elm_Object_Item *it, const char *style)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(item);
- elm_widget_item_tooltip_style_set(item, style);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
+ elm_widget_item_tooltip_style_set(it, style);
}
EAPI const char *
-elm_diskselector_item_tooltip_style_get(const Elm_Diskselector_Item *item)
+elm_diskselector_item_tooltip_style_get(const Elm_Object_Item *it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(item, NULL);
- return elm_widget_item_tooltip_style_get(item);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
+ return elm_widget_item_tooltip_style_get(it);
}
EAPI void
-elm_diskselector_item_cursor_set(Elm_Diskselector_Item *item, const char *cursor)
+elm_diskselector_item_cursor_set(Elm_Object_Item *it, const char *cursor)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(item);
- elm_widget_item_cursor_set(item, cursor);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
+ elm_widget_item_cursor_set(it, cursor);
}
EAPI const char *
-elm_diskselector_item_cursor_get(const Elm_Diskselector_Item *item)
+elm_diskselector_item_cursor_get(const Elm_Object_Item *it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(item, NULL);
- return elm_widget_item_cursor_get(item);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
+ return elm_widget_item_cursor_get(it);
}
EAPI void
-elm_diskselector_item_cursor_unset(Elm_Diskselector_Item *item)
+elm_diskselector_item_cursor_unset(Elm_Object_Item *it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(item);
- elm_widget_item_cursor_unset(item);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
+ elm_widget_item_cursor_unset(it);
}
EAPI void
-elm_diskselector_item_cursor_style_set(Elm_Diskselector_Item *item, const char *style)
+elm_diskselector_item_cursor_style_set(Elm_Object_Item *it, const char *style)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(item);
- elm_widget_item_cursor_style_set(item, style);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
+ elm_widget_item_cursor_style_set(it, style);
}
EAPI const char *
-elm_diskselector_item_cursor_style_get(const Elm_Diskselector_Item *item)
+elm_diskselector_item_cursor_style_get(const Elm_Object_Item *it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(item, NULL);
- return elm_widget_item_cursor_style_get(item);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
+ return elm_widget_item_cursor_style_get(it);
}
EAPI void
-elm_diskselector_item_cursor_engine_only_set(Elm_Diskselector_Item *item, Eina_Bool engine_only)
+elm_diskselector_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(item);
- elm_widget_item_cursor_engine_only_set(item, engine_only);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
+ elm_widget_item_cursor_engine_only_set(it, engine_only);
}
EAPI Eina_Bool
-elm_diskselector_item_cursor_engine_only_get(const Elm_Diskselector_Item *item)
+elm_diskselector_item_cursor_engine_only_get(const Elm_Object_Item *it)
{
- ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(item, EINA_FALSE);
- return elm_widget_item_cursor_engine_only_get(item);
+ ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
+ return elm_widget_item_cursor_engine_only_get(it);
}
EAPI void
* @{
*/
-typedef struct _Elm_Diskselector_Item Elm_Diskselector_Item; /**< Item handle for a diskselector item. Created with elm_diskselector_item_append() and deleted with elm_diskselector_item_del(). */
-
/**
* Add a new diskselector widget to the given parent Elementary
* (container) object.
*
* @ingroup Diskselector
*/
-EAPI Evas_Object *
- elm_diskselector_add(Evas_Object *parent)
-EINA_ARG_NONNULL(1);
+EAPI Evas_Object *elm_diskselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
/**
* Enable or disable round mode.
*
* @ingroup Diskselector
*/
-EAPI int elm_diskselector_display_item_num_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
+EAPI int elm_diskselector_display_item_num_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
* Set bouncing behaviour when the scrolled content reaches an edge.
* Get a list of all the diskselector items.
*
* @param obj The diskselector object.
- * @return An @c Eina_List of diskselector items, #Elm_Diskselector_Item,
+ * @return An @c Eina_List of diskselector items, #Elm_Object_Item,
* or @c NULL on failure.
*
* @see elm_diskselector_item_append()
*
* @ingroup Diskselector
*/
-EAPI Elm_Diskselector_Item *elm_diskselector_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
+EAPI Elm_Object_Item *elm_diskselector_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
+
/**
* Delete them item from the diskselector.
*
- * @param item The item of diskselector to be deleted.
+ * @param it The item of diskselector to be deleted.
*
* If deleting all diskselector items is required, elm_diskselector_clear()
* should be used instead of getting items list and deleting each one.
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_del(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* Set the function called when a diskselector item is freed.
*
- * @param item The item to set the callback on
+ * @param it The item to set the callback on
* @param func The function called
*
* If there is a @p func, then it will be called prior item's memory release.
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_del_cb_set(Elm_Diskselector_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
/**
* Get the data associated to the item.
*
- * @param item The diskselector item
+ * @param it The diskselector item
* @return The data associated to @p it
*
* The return value is a pointer to data associated to @p item when it was
*
* @ingroup Diskselector
*/
-EAPI void *elm_diskselector_item_data_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI void *elm_diskselector_item_data_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* Set the icon associated to the item.
*
- * @param item The diskselector item
+ * @param it The diskselector item
* @param icon The icon object to associate with @p it
*
* The icon object to use at left side of the item. An
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_icon_set(Elm_Diskselector_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_icon_set(Elm_Object_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
/**
* Get the icon associated to the item.
*
* @ingroup Diskselector
*/
-EAPI Evas_Object *elm_diskselector_item_icon_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI Evas_Object *elm_diskselector_item_icon_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* Set the label of item.
*
- * @param item The item of diskselector.
+ * @param it The item of diskselector.
* @param label The label of item.
*
* The label to be displayed by the item.
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_label_set(Elm_Diskselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
/**
* Get the label of item.
*
- * @param item The item of diskselector.
+ * @param it The item of diskselector.
* @return The label of item.
*
* The return value is a pointer to the label associated to @p item when it was
*
* @ingroup Diskselector
*/
-EAPI const char *elm_diskselector_item_label_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI const char *elm_diskselector_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* Get the selected item.
*
* @ingroup Diskselector
*/
-EAPI Elm_Diskselector_Item *elm_diskselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
+EAPI Elm_Object_Item *elm_diskselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
* Set the selected state of an item.
*
- * @param item The diskselector item
+ * @param it The diskselector item
* @param selected The selected state
*
* This sets the selected state of the given item @p it.
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_selected_set(Elm_Diskselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) EINA_ARG_NONNULL(1);
/*
* Get whether the @p item is selected or not.
*
- * @param item The diskselector item.
+ * @param it The diskselector item.
* @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
* it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
*
*
* @ingroup Diskselector
*/
-EAPI Eina_Bool elm_diskselector_item_selected_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI Eina_Bool elm_diskselector_item_selected_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* Get the first item of the diskselector.
*
* @ingroup Diskselector
*/
-EAPI Elm_Diskselector_Item *elm_diskselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
+EAPI Elm_Object_Item *elm_diskselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
* Get the last item of the diskselector.
*
* @ingroup Diskselector
*/
-EAPI Elm_Diskselector_Item *elm_diskselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
+EAPI Elm_Object_Item *elm_diskselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
* Get the item before @p item in diskselector.
*
- * @param item The diskselector item.
+ * @param it The diskselector item.
* @return The item before @p item, or @c NULL if none or on failure.
*
* The list of items follows append order. So it will return item appended
*
* @ingroup Diskselector
*/
-EAPI Elm_Diskselector_Item *elm_diskselector_item_prev_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI Elm_Object_Item *elm_diskselector_item_prev_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* Get the item after @p item in diskselector.
*
- * @param item The diskselector item.
+ * @param it The diskselector item.
* @return The item after @p item, or @c NULL if none or on failure.
*
* The list of items follows append order. So it will return item appended
*
* @ingroup Diskselector
*/
-EAPI Elm_Diskselector_Item *elm_diskselector_item_next_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI Elm_Object_Item *elm_diskselector_item_next_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* Set the text to be shown in the diskselector item.
*
- * @param item Target item
+ * @param it Target item
* @param text The text to set in the content
*
* Setup the text as tooltip to object. The item can have only one tooltip,
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_tooltip_text_set(Elm_Diskselector_Item *item, const char *text) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_tooltip_text_set(Elm_Object_Item *it, const char *text) EINA_ARG_NONNULL(1);
/**
* Set the content to be shown in the tooltip item.
* return a valid Evas_Object. This object is then managed fully by
* tooltip system and is deleted when the tooltip is gone.
*
- * @param item the diskselector item being attached a tooltip.
+ * @param it the diskselector item being attached a tooltip.
* @param func the function used to create the tooltip contents.
* @param data what to provide to @a func as callback data/context.
* @param del_cb called when data is not needed anymore, either when
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_tooltip_content_cb_set(Elm_Diskselector_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb) EINA_ARG_NONNULL(1);
/**
* Unset tooltip from item.
*
- * @param item diskselector item to remove previously set tooltip.
+ * @param it diskselector item to remove previously set tooltip.
*
* Remove tooltip from item. The callback provided as del_cb to
* elm_diskselector_item_tooltip_content_cb_set() will be called to notify
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_tooltip_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_tooltip_unset(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* Sets a different style for this item tooltip.
* elm_diskselector_item_tooltip_content_cb_set() or
* elm_diskselector_item_tooltip_text_set()
*
- * @param item diskselector item with tooltip already set.
+ * @param it diskselector item with tooltip already set.
* @param style the theme style to use (default, transparent, ...)
*
* @see elm_object_tooltip_style_set() for more details.
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_tooltip_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_tooltip_style_set(Elm_Object_Item *it, const char *style) EINA_ARG_NONNULL(1);
/**
* Get the style for this item tooltip.
*
- * @param item diskselector item with tooltip already set.
+ * @param it diskselector item with tooltip already set.
* @return style the theme style in use, defaults to "default". If the
* object does not have a tooltip set, then NULL is returned.
*
*
* @ingroup Diskselector
*/
-EAPI const char *elm_diskselector_item_tooltip_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI const char *elm_diskselector_item_tooltip_style_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* Set the cursor to be shown when mouse is over the diskselector item
*
- * @param item Target item
+ * @param it Target item
* @param cursor the cursor name to be used.
*
* @see elm_object_cursor_set() for more details.
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_cursor_set(Elm_Diskselector_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_cursor_set(Elm_Object_Item *it, const char *cursor) EINA_ARG_NONNULL(1);
/**
* Get the cursor to be shown when mouse is over the diskselector item
*
- * @param item diskselector item with cursor already set.
+ * @param it diskselector item with cursor already set.
* @return the cursor name.
*
* @see elm_object_cursor_get() for more details.
*
* @ingroup Diskselector
*/
-EAPI const char *elm_diskselector_item_cursor_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI const char *elm_diskselector_item_cursor_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* Unset the cursor to be shown when mouse is over the diskselector item
*
- * @param item Target item
+ * @param it Target item
*
* @see elm_object_cursor_unset() for more details.
* @see elm_diskselector_cursor_set()
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_cursor_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_cursor_unset(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* Sets a different style for this item cursor.
* @note before you set a style you should define a cursor with
* elm_diskselector_item_cursor_set()
*
- * @param item diskselector item with cursor already set.
+ * @param it diskselector item with cursor already set.
* @param style the theme style to use (default, transparent, ...)
*
* @see elm_object_cursor_style_set() for more details.
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_cursor_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_cursor_style_set(Elm_Object_Item *it, const char *style) EINA_ARG_NONNULL(1);
/**
* Get the style for this item cursor.
*
- * @param item diskselector item with cursor already set.
+ * @param it diskselector item with cursor already set.
* @return style the theme style in use, defaults to "default". If the
* object does not have a cursor set, then @c NULL is returned.
*
*
* @ingroup Diskselector
*/
-EAPI const char *elm_diskselector_item_cursor_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI const char *elm_diskselector_item_cursor_style_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
+
/**
* Set if the cursor set should be searched on the theme or should use
* with elm_diskselector_item_cursor_set().
* By default it will only look for cursors provided by the engine.
*
- * @param item widget item with cursor already set.
+ * @param it widget item with cursor already set.
* @param engine_only boolean to define if cursors set with
* elm_diskselector_item_cursor_set() should be searched only
* between cursors provided by the engine or searched on widget's
*
* @ingroup Diskselector
*/
-EAPI void elm_diskselector_item_cursor_engine_only_set(Elm_Diskselector_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
+EAPI void elm_diskselector_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
/**
* Get the cursor engine only usage for this item cursor.
*
- * @param item widget item with cursor already set.
+ * @param it widget item with cursor already set.
* @return engine_only boolean to define it cursors should be looked only
* between the provided by the engine or searched on widget's theme as well.
* If the item does not have a cursor set, then @c EINA_FALSE is returned.
*
* @ingroup Diskselector
*/
-EAPI Eina_Bool elm_diskselector_item_cursor_engine_only_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
+EAPI Eina_Bool elm_diskselector_item_cursor_engine_only_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* @}
*/
+