summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_flipselector_item.eo
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-09-28 08:14:28 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-11-12 12:03:55 +0200
commitc12cdc1af596c03668253a09555bfc3854305223 (patch)
tree4340b7e0342af8b351dc0b1c3640afb8b069e22f /legacy/elementary/src/lib/elm_flipselector_item.eo
parent574a41dc222e923d8fcf76da48794fb86b1e75df (diff)
Elm Flipselector Item: Migrate to Eo
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/lib/elm_flipselector_item.eo74
1 files changed, 74 insertions, 0 deletions
diff --git a/legacy/elementary/src/lib/elm_flipselector_item.eo b/legacy/elementary/src/lib/elm_flipselector_item.eo
new file mode 100644
index 0000000..0cee16a
--- /dev/null
+++ b/legacy/elementary/src/lib/elm_flipselector_item.eo
@@ -0,0 +1,74 @@
1class Elm_Flipselector_Item(Elm_Widget_Item)
2{
3 legacy_prefix: null;
4 eo_prefix: elm_obj_flipselector_item;
5 properties {
6 selected {
7 get {
8 /*@
9 Get whether a given flip selector widget's item is the currently
10 selected one.
11
12 @see elm_flipselector_item_selected_set()
13 @ingroup Flipselector
14 */
15 }
16 set {
17 /*@
18 Set whether a given flip selector widget's item should be the
19 currently selected one.
20
21 This sets whether @p item is or not the selected (thus, under
22 display) one. If @p item is different than the one under display,
23 the latter will be unselected. If the @p item is set to be
24 unselected, on the other hand, the @b first item in the widget's
25 internal members list will be the new selected one.
26
27 @see elm_flipselector_item_selected_get()
28
29 @ingroup Flipselector
30 */
31 }
32 values {
33 Eina_Bool selected; /*@ EINA_TRUE if selected EINA_FALSE otherwise */
34 }
35 }
36 }
37 methods {
38 prev_get @const {
39 /*@
40 Get the item before @p item in a flip selector widget's internal list of
41 items.
42
43 @return The item before the @p item, in its parent's list. If there is no
44 previous item for @p item or there's an error, @c NULL is returned.
45
46 @see elm_flipselector_item_next_get()
47
48 @ingroup Flipselector
49 */
50 return: Elm_Object_Item *;
51 }
52 next_get @const {
53 /*@
54 Get the item after @p item in a flip selector widget's
55 internal list of items.
56
57 @return The item after the @p item, in its parent's list. If there is no next
58 item for @p item or there's an error, @c NULL is returned.
59
60 @see elm_flipselector_item_prev_get()
61
62 @ingroup Flipselector
63 */
64 return: Elm_Object_Item *;
65 }
66 }
67 implements {
68 Eo.Base.constructor;
69 Elm_Widget_Item.del_pre;
70 Elm_Widget_Item.signal_emit;
71 Elm_Widget_Item.part_text.get;
72 Elm_Widget_Item.part_text.set;
73 }
74}