1 #ifndef _ELM_INDEX_ITEM_EO_LEGACY_H_
2 #define _ELM_INDEX_ITEM_EO_LEGACY_H_
3 
4 #ifndef _ELM_INDEX_ITEM_EO_CLASS_TYPE
5 #define _ELM_INDEX_ITEM_EO_CLASS_TYPE
6 
7 typedef Eo Elm_Index_Item;
8 
9 #endif
10 
11 #ifndef _ELM_INDEX_ITEM_EO_TYPES
12 #define _ELM_INDEX_ITEM_EO_TYPES
13 
14 
15 #endif
16 
17 /**
18  * @defgroup Elm_Index_Item_Group Index Item
19  * @ingroup Elm_Index_Group
20  */
21 
22 /**
23  * @brief Set the selected state of an item.
24  *
25  * This sets the selected state of the given item @c it. @c true for selected,
26  * @c false for not selected.
27  *
28  * If a new item is selected the previously selected will be unselected.
29  * Previously selected item can be get with function
30  * elm_index_selected_item_get().
31  *
32  * Selected items will be highlighted.
33  *
34  * @param[in] obj The object.
35  * @param[in] selected @c true if selected, @c false otherwise
36  *
37  * @ingroup Elm_Index_Item_Group
38  */
39 EAPI void elm_index_item_selected_set(Elm_Index_Item *obj, Eina_Bool selected);
40 
41 /**
42  * @brief Sets the priority of an item.
43  *
44  * The priority is -1 by default, which means that the item doesn't belong to a
45  * group. The value of the priority starts from 0.
46  *
47  * In elm_index_level_go, the items are sorted in ascending order according to
48  * priority. Items of the same priority make a group and the primary group is
49  * shown by default.
50  *
51  * @param[in] obj The object.
52  * @param[in] priority The priority
53  *
54  * @ingroup Elm_Index_Item_Group
55  */
56 EAPI void elm_index_item_priority_set(Elm_Index_Item *obj, int priority);
57 
58 /**
59  * @brief Get the letter (string) set on a given index widget item.
60  *
61  * @param[in] obj The object.
62  *
63  * @return The letter string set on @c item
64  *
65  * @ingroup Elm_Index_Item_Group
66  */
67 EAPI const char *elm_index_item_letter_get(const Elm_Index_Item *obj);
68 
69 #endif
70