summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_flipselector_item_eo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_flipselector_item_eo.h')
-rw-r--r--src/lib/elementary/elm_flipselector_item_eo.h87
1 files changed, 87 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_flipselector_item_eo.h b/src/lib/elementary/elm_flipselector_item_eo.h
new file mode 100644
index 0000000..ad156fe
--- /dev/null
+++ b/src/lib/elementary/elm_flipselector_item_eo.h
@@ -0,0 +1,87 @@
1#ifndef _ELM_FLIPSELECTOR_ITEM_EO_H_
2#define _ELM_FLIPSELECTOR_ITEM_EO_H_
3
4#ifndef _ELM_FLIPSELECTOR_ITEM_EO_CLASS_TYPE
5#define _ELM_FLIPSELECTOR_ITEM_EO_CLASS_TYPE
6
7typedef Eo Elm_Flipselector_Item;
8
9#endif
10
11#ifndef _ELM_FLIPSELECTOR_ITEM_EO_TYPES
12#define _ELM_FLIPSELECTOR_ITEM_EO_TYPES
13
14
15#endif
16/** Elementary flipselector item class
17 *
18 * @ingroup Elm_Flipselector_Item
19 */
20#define ELM_FLIPSELECTOR_ITEM_CLASS elm_flipselector_item_class_get()
21
22EWAPI const Efl_Class *elm_flipselector_item_class_get(void);
23
24/**
25 * @brief Set whether a given flip selector widget's item should be the
26 * currently selected one.
27 *
28 * This sets whether @c item is or not the selected (thus, under display) one.
29 * If @c item is different than the one under display, the latter will be
30 * unselected. If the @c item is set to be unselected, on the other hand, the
31 * first item in the widget's internal members list will be the new selected
32 * one.
33 *
34 * See also @ref elm_obj_flipselector_item_selected_get.
35 *
36 * @param[in] obj The object.
37 * @param[in] selected @c true if selected, @c false otherwise.
38 *
39 * @ingroup Elm_Flipselector_Item
40 */
41EOAPI void elm_obj_flipselector_item_selected_set(Eo *obj, Eina_Bool selected);
42
43/**
44 * @brief Get whether a given flip selector widget's item is the currently
45 * selected one.
46 *
47 * See also @ref elm_obj_flipselector_item_selected_set.
48 *
49 * @param[in] obj The object.
50 *
51 * @return @c true if selected, @c false otherwise.
52 *
53 * @ingroup Elm_Flipselector_Item
54 */
55EOAPI Eina_Bool elm_obj_flipselector_item_selected_get(const Eo *obj);
56
57/**
58 * @brief Get the item before @c item in a flip selector widget's internal list
59 * of items.
60 *
61 * See also @ref elm_obj_flipselector_item_next_get.
62 *
63 * @param[in] obj The object.
64 *
65 * @return The item before the @c item, in its parent's list. If there is no
66 * previous item for @c item or there's an error, @c null is returned.
67 *
68 * @ingroup Elm_Flipselector_Item
69 */
70EOAPI Elm_Widget_Item *elm_obj_flipselector_item_prev_get(const Eo *obj);
71
72/**
73 * @brief Get the item after @c item in a flip selector widget's internal list
74 * of items.
75 *
76 * See also @ref elm_obj_flipselector_item_prev_get.
77 *
78 * @param[in] obj The object.
79 *
80 * @return The item after the @c item, in its parent's list. If there is no
81 * next item for @c item or there's an error, @c null is returned.
82 *
83 * @ingroup Elm_Flipselector_Item
84 */
85EOAPI Elm_Widget_Item *elm_obj_flipselector_item_next_get(const Eo *obj);
86
87#endif