summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_ctxpopup_item_eo.legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_ctxpopup_item_eo.legacy.h')
-rw-r--r--src/lib/elementary/elm_ctxpopup_item_eo.legacy.h90
1 files changed, 90 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_ctxpopup_item_eo.legacy.h b/src/lib/elementary/elm_ctxpopup_item_eo.legacy.h
new file mode 100644
index 0000000..76bf43c
--- /dev/null
+++ b/src/lib/elementary/elm_ctxpopup_item_eo.legacy.h
@@ -0,0 +1,90 @@
1#ifndef _ELM_CTXPOPUP_ITEM_EO_LEGACY_H_
2#define _ELM_CTXPOPUP_ITEM_EO_LEGACY_H_
3
4#ifndef _ELM_CTXPOPUP_ITEM_EO_CLASS_TYPE
5#define _ELM_CTXPOPUP_ITEM_EO_CLASS_TYPE
6
7typedef Eo Elm_Ctxpopup_Item;
8
9#endif
10
11#ifndef _ELM_CTXPOPUP_ITEM_EO_TYPES
12#define _ELM_CTXPOPUP_ITEM_EO_TYPES
13
14
15#endif
16
17/**
18 * @brief Get the item before this one in the widget's list of items.
19 *
20 * See also @ref elm_ctxpopup_item_next_get.
21 *
22 * @param[in] obj The object.
23 *
24 * @return The item before the object in its parent's list. If there is no
25 * previous item or in case of error, @c null is returned.
26 *
27 * @ingroup Elm_Ctxpopup_Item_Group
28 */
29EAPI Elm_Widget_Item *elm_ctxpopup_item_prev_get(const Elm_Ctxpopup_Item *obj);
30
31/**
32 * @brief Get the item after this one in the widget's list of items.
33 *
34 * See also @ref elm_ctxpopup_item_prev_get.
35 *
36 * @param[in] obj The object.
37 *
38 * @return The item after the object in its parent's list. If there is no next
39 * item or in case of error, @c null is returned.
40 *
41 * @ingroup Elm_Ctxpopup_Item_Group
42 */
43EAPI Elm_Widget_Item *elm_ctxpopup_item_next_get(const Elm_Ctxpopup_Item *obj);
44
45/**
46 * @brief Indicates whether this item is currently selected.
47 *
48 * Set the selected state of @c item.
49 *
50 * This sets the selected state of the given item @c it. @c true for selected,
51 * @c false for not selected.
52 *
53 * If a new item is selected the previously selected will be unselected.
54 * Previously selected item can be retrieved with
55 * @ref elm_ctxpopup_selected_item_get.
56 *
57 * Selected items will be highlighted.
58 *
59 * @param[in] obj The object.
60 * @param[in] selected The selection state.
61 *
62 * @ingroup Elm_Ctxpopup_Item_Group
63 */
64EAPI void elm_ctxpopup_item_selected_set(Elm_Ctxpopup_Item *obj, Eina_Bool selected);
65
66/**
67 * @brief Indicates whether this item is currently selected.
68 *
69 * Get the selected state of this item.
70 *
71 * @param[in] obj The object.
72 *
73 * @return The selection state.
74 *
75 * @ingroup Elm_Ctxpopup_Item_Group
76 */
77EAPI Eina_Bool elm_ctxpopup_item_selected_get(const Elm_Ctxpopup_Item *obj);
78
79/**
80 * @brief Init context popup item
81 *
82 * @param[in] obj The object.
83 * @param[in] func Smart callback function
84 * @param[in] data Data pointer
85 *
86 * @ingroup Elm_Ctxpopup_Item_Group
87 */
88EAPI void elm_ctxpopup_item_init(Elm_Ctxpopup_Item *obj, Evas_Smart_Cb func, const void *data);
89
90#endif