2 * @defgroup Diskselector Diskselector
5 * @image html img/widget/diskselector/preview-00.png
6 * @image latex img/widget/diskselector/preview-00.eps
8 * A diskselector is a kind of list widget. It scrolls horizontally,
9 * and can contain label and icon objects. Three items are displayed
10 * with the selected one in the middle.
12 * It can act like a circular list with round mode and labels can be
13 * reduced for a defined length for side items.
15 * Smart callbacks one can listen to:
16 * - "selected" - when item is selected, i.e. scroller stops.
18 * Available styles for it:
22 * @li @ref diskselector_example_01
23 * @li @ref diskselector_example_02
27 * @addtogroup Diskselector
31 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(). */
34 * Add a new diskselector widget to the given parent Elementary
37 * @param parent The parent object.
38 * @return a new diskselector widget handle or @c NULL, on errors.
40 * This function inserts a new diskselector widget on the canvas.
42 * @ingroup Diskselector
44 EAPI Evas_Object *elm_diskselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
47 * Enable or disable round mode.
49 * @param obj The diskselector object.
50 * @param round @c EINA_TRUE to enable round mode or @c EINA_FALSE to
53 * Disabled by default. If round mode is enabled the items list will
54 * work like a circle list, so when the user reaches the last item,
55 * the first one will popup.
57 * @see elm_diskselector_round_get()
59 * @ingroup Diskselector
61 EAPI void elm_diskselector_round_set(Evas_Object *obj, Eina_Bool round) EINA_ARG_NONNULL(1);
64 * Get a value whether round mode is enabled or not.
66 * @see elm_diskselector_round_set() for details.
68 * @param obj The diskselector object.
69 * @return @c EINA_TRUE means round mode is enabled. @c EINA_FALSE indicates
70 * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
72 * @ingroup Diskselector
74 EAPI Eina_Bool elm_diskselector_round_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
77 * Get the side labels max length.
79 * @deprecated use elm_diskselector_side_label_length_get() instead:
81 * @param obj The diskselector object.
82 * @return The max length defined for side labels, or 0 if not a valid
85 * @ingroup Diskselector
87 EINA_DEPRECATED EAPI int elm_diskselector_side_label_lenght_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
90 * Set the side labels max length.
92 * @deprecated use elm_diskselector_side_label_length_set() instead:
94 * @param obj The diskselector object.
95 * @param len The max length defined for side labels.
97 * @ingroup Diskselector
99 EINA_DEPRECATED EAPI void elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
102 * Get the side labels max length.
104 * @see elm_diskselector_side_label_length_set() for details.
106 * @param obj The diskselector object.
107 * @return The max length defined for side labels, or 0 if not a valid
110 * @ingroup Diskselector
112 EAPI int elm_diskselector_side_label_length_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
115 * Set the side labels max length.
117 * @param obj The diskselector object.
118 * @param len The max length defined for side labels.
120 * Length is the number of characters of items' label that will be
121 * visible when it's set on side positions. It will just crop
122 * the string after defined size. E.g.:
124 * An item with label "January" would be displayed on side position as
125 * "Jan" if max length is set to 3, or "Janu", if this property
128 * When it's selected, the entire label will be displayed, except for
129 * width restrictions. In this case label will be cropped and "..."
130 * will be concatenated.
132 * Default side label max length is 3.
134 * This property will be applyed over all items, included before or
135 * later this function call.
137 * @ingroup Diskselector
139 EAPI void elm_diskselector_side_label_length_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
142 * Set the number of items to be displayed.
144 * @param obj The diskselector object.
145 * @param num The number of items the diskselector will display.
147 * Default value is 3, and also it's the minimun. If @p num is less
148 * than 3, it will be set to 3.
150 * Also, it can be set on theme, using data item @c display_item_num
151 * on group "elm/diskselector/item/X", where X is style set.
154 * group { name: "elm/diskselector/item/X";
156 * item: "display_item_num" "5";
159 * @ingroup Diskselector
161 EAPI void elm_diskselector_display_item_num_set(Evas_Object *obj, int num) EINA_ARG_NONNULL(1);
164 * Get the number of items in the diskselector object.
166 * @param obj The diskselector object.
168 * @ingroup Diskselector
170 EAPI int elm_diskselector_display_item_num_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
173 * Set bouncing behaviour when the scrolled content reaches an edge.
175 * Tell the internal scroller object whether it should bounce or not
176 * when it reaches the respective edges for each axis.
178 * @param obj The diskselector object.
179 * @param h_bounce Whether to bounce or not in the horizontal axis.
180 * @param v_bounce Whether to bounce or not in the vertical axis.
182 * @see elm_scroller_bounce_set()
184 * @ingroup Diskselector
186 EAPI void elm_diskselector_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
189 * Get the bouncing behaviour of the internal scroller.
191 * Get whether the internal scroller should bounce when the edge of each
192 * axis is reached scrolling.
194 * @param obj The diskselector object.
195 * @param h_bounce Pointer where to store the bounce state of the horizontal
197 * @param v_bounce Pointer where to store the bounce state of the vertical
200 * @see elm_scroller_bounce_get()
201 * @see elm_diskselector_bounce_set()
203 * @ingroup Diskselector
205 EAPI void elm_diskselector_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
208 * Get the scrollbar policy.
210 * @see elm_diskselector_scroller_policy_get() for details.
212 * @param obj The diskselector object.
213 * @param policy_h Pointer where to store horizontal scrollbar policy.
214 * @param policy_v Pointer where to store vertical scrollbar policy.
216 * @ingroup Diskselector
218 EAPI void elm_diskselector_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) EINA_ARG_NONNULL(1);
221 * Set the scrollbar policy.
223 * @param obj The diskselector object.
224 * @param policy_h Horizontal scrollbar policy.
225 * @param policy_v Vertical scrollbar policy.
227 * This sets the scrollbar visibility policy for the given scroller.
228 * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
229 * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
230 * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
231 * This applies respectively for the horizontal and vertical scrollbars.
233 * The both are disabled by default, i.e., are set to
234 * #ELM_SCROLLER_POLICY_OFF.
236 * @ingroup Diskselector
238 EAPI void elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
241 * Remove all diskselector's items.
243 * @param obj The diskselector object.
245 * @see elm_diskselector_item_del()
246 * @see elm_diskselector_item_append()
248 * @ingroup Diskselector
250 EAPI void elm_diskselector_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
253 * Get a list of all the diskselector items.
255 * @param obj The diskselector object.
256 * @return An @c Eina_List of diskselector items, #Elm_Diskselector_Item,
257 * or @c NULL on failure.
259 * @see elm_diskselector_item_append()
260 * @see elm_diskselector_item_del()
261 * @see elm_diskselector_clear()
263 * @ingroup Diskselector
265 EAPI const Eina_List *elm_diskselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
268 * Appends a new item to the diskselector object.
270 * @param obj The diskselector object.
271 * @param label The label of the diskselector item.
272 * @param icon The icon object to use at left side of the item. An
273 * icon can be any Evas object, but usually it is an icon created
274 * with elm_icon_add().
275 * @param func The function to call when the item is selected.
276 * @param data The data to associate with the item for related callbacks.
278 * @return The created item or @c NULL upon failure.
280 * A new item will be created and appended to the diskselector, i.e., will
281 * be set as last item. Also, if there is no selected item, it will
282 * be selected. This will always happens for the first appended item.
284 * If no icon is set, label will be centered on item position, otherwise
285 * the icon will be placed at left of the label, that will be shifted
288 * Items created with this method can be deleted with
289 * elm_diskselector_item_del().
291 * Associated @p data can be properly freed when item is deleted if a
292 * callback function is set with elm_diskselector_item_del_cb_set().
294 * If a function is passed as argument, it will be called everytime this item
295 * is selected, i.e., the user stops the diskselector with this
296 * item on center position. If such function isn't needed, just passing
297 * @c NULL as @p func is enough. The same should be done for @p data.
299 * Simple example (with no function callback or data associated):
301 * disk = elm_diskselector_add(win);
302 * ic = elm_icon_add(win);
303 * elm_icon_file_set(ic, "path/to/image", NULL);
304 * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
305 * elm_diskselector_item_append(disk, "label", ic, NULL, NULL);
308 * @see elm_diskselector_item_del()
309 * @see elm_diskselector_item_del_cb_set()
310 * @see elm_diskselector_clear()
311 * @see elm_icon_add()
313 * @ingroup Diskselector
315 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);
319 * Delete them item from the diskselector.
321 * @param it The item of diskselector to be deleted.
323 * If deleting all diskselector items is required, elm_diskselector_clear()
324 * should be used instead of getting items list and deleting each one.
326 * @see elm_diskselector_clear()
327 * @see elm_diskselector_item_append()
328 * @see elm_diskselector_item_del_cb_set()
330 * @ingroup Diskselector
332 EAPI void elm_diskselector_item_del(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
335 * Set the function called when a diskselector item is freed.
337 * @param it The item to set the callback on
338 * @param func The function called
340 * If there is a @p func, then it will be called prior item's memory release.
341 * That will be called with the following arguments:
343 * @li item's Evas object;
346 * This way, a data associated to a diskselector item could be properly
349 * @ingroup Diskselector
351 EAPI void elm_diskselector_item_del_cb_set(Elm_Diskselector_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
354 * Get the data associated to the item.
356 * @param it The diskselector item
357 * @return The data associated to @p it
359 * The return value is a pointer to data associated to @p item when it was
360 * created, with function elm_diskselector_item_append(). If no data
361 * was passed as argument, it will return @c NULL.
363 * @see elm_diskselector_item_append()
365 * @ingroup Diskselector
367 EAPI void *elm_diskselector_item_data_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
370 * Set the icon associated to the item.
372 * @param it The diskselector item
373 * @param icon The icon object to associate with @p it
375 * The icon object to use at left side of the item. An
376 * icon can be any Evas object, but usually it is an icon created
377 * with elm_icon_add().
379 * Once the icon object is set, a previously set one will be deleted.
380 * @warning Setting the same icon for two items will cause the icon to
381 * dissapear from the first item.
383 * If an icon was passed as argument on item creation, with function
384 * elm_diskselector_item_append(), it will be already
385 * associated to the item.
387 * @see elm_diskselector_item_append()
388 * @see elm_diskselector_item_icon_get()
390 * @ingroup Diskselector
392 EAPI void elm_diskselector_item_icon_set(Elm_Diskselector_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
395 * Get the icon associated to the item.
397 * @param it The diskselector item
398 * @return The icon associated to @p it
400 * The return value is a pointer to the icon associated to @p item when it was
401 * created, with function elm_diskselector_item_append(), or later
402 * with function elm_diskselector_item_icon_set. If no icon
403 * was passed as argument, it will return @c NULL.
405 * @see elm_diskselector_item_append()
406 * @see elm_diskselector_item_icon_set()
408 * @ingroup Diskselector
410 EAPI Evas_Object *elm_diskselector_item_icon_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
413 * Set the label of item.
415 * @param it The item of diskselector.
416 * @param label The label of item.
418 * The label to be displayed by the item.
420 * If no icon is set, label will be centered on item position, otherwise
421 * the icon will be placed at left of the label, that will be shifted
424 * An item with label "January" would be displayed on side position as
425 * "Jan" if max length is set to 3 with function
426 * elm_diskselector_side_label_lenght_set(), or "Janu", if this property
429 * When this @p item is selected, the entire label will be displayed,
430 * except for width restrictions.
431 * In this case label will be cropped and "..." will be concatenated,
432 * but only for display purposes. It will keep the entire string, so
433 * if diskselector is resized the remaining characters will be displayed.
435 * If a label was passed as argument on item creation, with function
436 * elm_diskselector_item_append(), it will be already
437 * displayed by the item.
439 * @see elm_diskselector_side_label_lenght_set()
440 * @see elm_diskselector_item_label_get()
441 * @see elm_diskselector_item_append()
443 * @ingroup Diskselector
445 EAPI void elm_diskselector_item_label_set(Elm_Diskselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
448 * Get the label of item.
450 * @param it The item of diskselector.
451 * @return The label of item.
453 * The return value is a pointer to the label associated to @p item when it was
454 * created, with function elm_diskselector_item_append(), or later
455 * with function elm_diskselector_item_label_set. If no label
456 * was passed as argument, it will return @c NULL.
458 * @see elm_diskselector_item_label_set() for more details.
459 * @see elm_diskselector_item_append()
461 * @ingroup Diskselector
463 EAPI const char *elm_diskselector_item_label_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
466 * Get the selected item.
468 * @param obj The diskselector object.
469 * @return The selected diskselector item.
471 * The selected item can be unselected with function
472 * elm_diskselector_item_selected_set(), and the first item of
473 * diskselector will be selected.
475 * The selected item always will be centered on diskselector, with
476 * full label displayed, i.e., max lenght set to side labels won't
477 * apply on the selected item. More details on
478 * elm_diskselector_side_label_length_set().
480 * @ingroup Diskselector
482 EAPI Elm_Diskselector_Item *elm_diskselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
485 * Set the selected state of an item.
487 * @param it The diskselector item
488 * @param selected The selected state
490 * This sets the selected state of the given item @p it.
491 * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
493 * If a new item is selected the previosly selected will be unselected.
494 * Previoulsy selected item can be get with function
495 * elm_diskselector_selected_item_get().
497 * If the item @p it is unselected, the first item of diskselector will
500 * Selected items will be visible on center position of diskselector.
501 * So if it was on another position before selected, or was invisible,
502 * diskselector will animate items until the selected item reaches center
505 * @see elm_diskselector_item_selected_get()
506 * @see elm_diskselector_selected_item_get()
508 * @ingroup Diskselector
510 EAPI void elm_diskselector_item_selected_set(Elm_Diskselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
513 * Get whether the @p item is selected or not.
515 * @param it The diskselector item.
516 * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
517 * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
519 * @see elm_diskselector_selected_item_set() for details.
520 * @see elm_diskselector_item_selected_get()
522 * @ingroup Diskselector
524 EAPI Eina_Bool elm_diskselector_item_selected_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
527 * Get the first item of the diskselector.
529 * @param obj The diskselector object.
530 * @return The first item, or @c NULL if none.
532 * The list of items follows append order. So it will return the first
533 * item appended to the widget that wasn't deleted.
535 * @see elm_diskselector_item_append()
536 * @see elm_diskselector_items_get()
538 * @ingroup Diskselector
540 EAPI Elm_Diskselector_Item *elm_diskselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
543 * Get the last item of the diskselector.
545 * @param obj The diskselector object.
546 * @return The last item, or @c NULL if none.
548 * The list of items follows append order. So it will return last first
549 * item appended to the widget that wasn't deleted.
551 * @see elm_diskselector_item_append()
552 * @see elm_diskselector_items_get()
554 * @ingroup Diskselector
556 EAPI Elm_Diskselector_Item *elm_diskselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
559 * Get the item before @p item in diskselector.
561 * @param it The diskselector item.
562 * @return The item before @p item, or @c NULL if none or on failure.
564 * The list of items follows append order. So it will return item appended
565 * just before @p item and that wasn't deleted.
567 * If it is the first item, @c NULL will be returned.
568 * First item can be get by elm_diskselector_first_item_get().
570 * @see elm_diskselector_item_append()
571 * @see elm_diskselector_items_get()
573 * @ingroup Diskselector
575 EAPI Elm_Diskselector_Item *elm_diskselector_item_prev_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
578 * Get the item after @p item in diskselector.
580 * @param it The diskselector item.
581 * @return The item after @p item, or @c NULL if none or on failure.
583 * The list of items follows append order. So it will return item appended
584 * just after @p item and that wasn't deleted.
586 * If it is the last item, @c NULL will be returned.
587 * Last item can be get by elm_diskselector_last_item_get().
589 * @see elm_diskselector_item_append()
590 * @see elm_diskselector_items_get()
592 * @ingroup Diskselector
594 EAPI Elm_Diskselector_Item *elm_diskselector_item_next_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
597 * Set the text to be shown in the diskselector item.
599 * @param item Target item
600 * @param text The text to set in the content
602 * Setup the text as tooltip to object. The item can have only one tooltip,
603 * so any previous tooltip data is removed.
605 * @see elm_object_tooltip_text_set() for more details.
607 * @ingroup Diskselector
609 EAPI void elm_diskselector_item_tooltip_text_set(Elm_Diskselector_Item *item, const char *text) EINA_ARG_NONNULL(1);
612 * Set the content to be shown in the tooltip item.
614 * Setup the tooltip to item. The item can have only one tooltip,
615 * so any previous tooltip data is removed. @p func(with @p data) will
616 * be called every time that need show the tooltip and it should
617 * return a valid Evas_Object. This object is then managed fully by
618 * tooltip system and is deleted when the tooltip is gone.
620 * @param item the diskselector item being attached a tooltip.
621 * @param func the function used to create the tooltip contents.
622 * @param data what to provide to @a func as callback data/context.
623 * @param del_cb called when data is not needed anymore, either when
624 * another callback replaces @p func, the tooltip is unset with
625 * elm_diskselector_item_tooltip_unset() or the owner @a item
626 * dies. This callback receives as the first parameter the
627 * given @a data, and @c event_info is the item.
629 * @see elm_object_tooltip_content_cb_set() for more details.
631 * @ingroup Diskselector
633 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);
636 * Unset tooltip from item.
638 * @param item diskselector item to remove previously set tooltip.
640 * Remove tooltip from item. The callback provided as del_cb to
641 * elm_diskselector_item_tooltip_content_cb_set() will be called to notify
642 * it is not used anymore.
644 * @see elm_object_tooltip_unset() for more details.
645 * @see elm_diskselector_item_tooltip_content_cb_set()
647 * @ingroup Diskselector
649 EAPI void elm_diskselector_item_tooltip_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
652 * Sets a different style for this item tooltip.
654 * @note before you set a style you should define a tooltip with
655 * elm_diskselector_item_tooltip_content_cb_set() or
656 * elm_diskselector_item_tooltip_text_set()
658 * @param item diskselector item with tooltip already set.
659 * @param style the theme style to use (default, transparent, ...)
661 * @see elm_object_tooltip_style_set() for more details.
663 * @ingroup Diskselector
665 EAPI void elm_diskselector_item_tooltip_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
668 * Get the style for this item tooltip.
670 * @param item diskselector item with tooltip already set.
671 * @return style the theme style in use, defaults to "default". If the
672 * object does not have a tooltip set, then NULL is returned.
674 * @see elm_object_tooltip_style_get() for more details.
675 * @see elm_diskselector_item_tooltip_style_set()
677 * @ingroup Diskselector
679 EAPI const char *elm_diskselector_item_tooltip_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
682 * Set the cursor to be shown when mouse is over the diskselector item
684 * @param item Target item
685 * @param cursor the cursor name to be used.
687 * @see elm_object_cursor_set() for more details.
689 * @ingroup Diskselector
691 EAPI void elm_diskselector_item_cursor_set(Elm_Diskselector_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
694 * Get the cursor to be shown when mouse is over the diskselector item
696 * @param item diskselector item with cursor already set.
697 * @return the cursor name.
699 * @see elm_object_cursor_get() for more details.
700 * @see elm_diskselector_cursor_set()
702 * @ingroup Diskselector
704 EAPI const char *elm_diskselector_item_cursor_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
707 * Unset the cursor to be shown when mouse is over the diskselector item
709 * @param item Target item
711 * @see elm_object_cursor_unset() for more details.
712 * @see elm_diskselector_cursor_set()
714 * @ingroup Diskselector
716 EAPI void elm_diskselector_item_cursor_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
719 * Sets a different style for this item cursor.
721 * @note before you set a style you should define a cursor with
722 * elm_diskselector_item_cursor_set()
724 * @param item diskselector item with cursor already set.
725 * @param style the theme style to use (default, transparent, ...)
727 * @see elm_object_cursor_style_set() for more details.
729 * @ingroup Diskselector
731 EAPI void elm_diskselector_item_cursor_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
734 * Get the style for this item cursor.
736 * @param item diskselector item with cursor already set.
737 * @return style the theme style in use, defaults to "default". If the
738 * object does not have a cursor set, then @c NULL is returned.
740 * @see elm_object_cursor_style_get() for more details.
741 * @see elm_diskselector_item_cursor_style_set()
743 * @ingroup Diskselector
745 EAPI const char *elm_diskselector_item_cursor_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
749 * Set if the cursor set should be searched on the theme or should use
750 * the provided by the engine, only.
752 * @note before you set if should look on theme you should define a cursor
753 * with elm_diskselector_item_cursor_set().
754 * By default it will only look for cursors provided by the engine.
756 * @param item widget item with cursor already set.
757 * @param engine_only boolean to define if cursors set with
758 * elm_diskselector_item_cursor_set() should be searched only
759 * between cursors provided by the engine or searched on widget's
762 * @see elm_object_cursor_engine_only_set() for more details.
764 * @ingroup Diskselector
766 EAPI void elm_diskselector_item_cursor_engine_only_set(Elm_Diskselector_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
769 * Get the cursor engine only usage for this item cursor.
771 * @param item widget item with cursor already set.
772 * @return engine_only boolean to define it cursors should be looked only
773 * between the provided by the engine or searched on widget's theme as well.
774 * If the item does not have a cursor set, then @c EINA_FALSE is returned.
776 * @see elm_object_cursor_engine_only_get() for more details.
777 * @see elm_diskselector_item_cursor_engine_only_set()
779 * @ingroup Diskselector
781 EAPI Eina_Bool elm_diskselector_item_cursor_engine_only_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);