summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_index_item_eo.legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_index_item_eo.legacy.h')
-rw-r--r--src/lib/elementary/elm_index_item_eo.legacy.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_index_item_eo.legacy.h b/src/lib/elementary/elm_index_item_eo.legacy.h
new file mode 100644
index 0000000..d4286f7
--- /dev/null
+++ b/src/lib/elementary/elm_index_item_eo.legacy.h
@@ -0,0 +1,64 @@
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
7typedef 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 * @brief Set the selected state of an item.
19 *
20 * This sets the selected state of the given item @c it. @c true for selected,
21 * @c false for not selected.
22 *
23 * If a new item is selected the previously selected will be unselected.
24 * Previously selected item can be get with function
25 * elm_index_selected_item_get().
26 *
27 * Selected items will be highlighted.
28 *
29 * @param[in] obj The object.
30 * @param[in] selected @c true if selected, @c false otherwise
31 *
32 * @ingroup Elm_Index_Item_Group
33 */
34EAPI void elm_index_item_selected_set(Elm_Index_Item *obj, Eina_Bool selected);
35
36/**
37 * @brief Sets the priority of an item.
38 *
39 * The priority is -1 by default, which means that the item doesn't belong to a
40 * group. The value of the priority starts from 0.
41 *
42 * In elm_index_level_go, the items are sorted in ascending order according to
43 * priority. Items of the same priority make a group and the primary group is
44 * shown by default.
45 *
46 * @param[in] obj The object.
47 * @param[in] priority The priority
48 *
49 * @ingroup Elm_Index_Item_Group
50 */
51EAPI void elm_index_item_priority_set(Elm_Index_Item *obj, int priority);
52
53/**
54 * @brief Get the letter (string) set on a given index widget item.
55 *
56 * @param[in] obj The object.
57 *
58 * @return The letter string set on @c item
59 *
60 * @ingroup Elm_Index_Item_Group
61 */
62EAPI const char *elm_index_item_letter_get(const Elm_Index_Item *obj);
63
64#endif