summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_flipselector.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_flipselector.eo')
-rw-r--r--src/lib/elementary/elm_flipselector.eo175
1 files changed, 0 insertions, 175 deletions
diff --git a/src/lib/elementary/elm_flipselector.eo b/src/lib/elementary/elm_flipselector.eo
deleted file mode 100644
index f548574..0000000
--- a/src/lib/elementary/elm_flipselector.eo
+++ /dev/null
@@ -1,175 +0,0 @@
1class Elm.Flipselector extends Efl.Ui.Layout implements Efl.Ui.Range_Interactive,
2 Efl.Access.Widget.Action,
3 Efl.Ui.Selectable, Efl.Ui.Legacy
4{
5 [[Elementary flipselector class]]
6 legacy_prefix: elm_flipselector;
7 eo_prefix: elm_obj_flipselector;
8 event_prefix: elm_flipselector;
9 methods {
10 @property items {
11 get {
12 [[Get the internal list of items in a given flip selector widget.
13
14 This list is not to be modified in any way and must not be
15 freed. Use the list members with functions like
16 \@ref elm_object_item_text_set,
17 \@ref elm_object_item_text_get,
18 \@ref elm_object_item_del,
19 \@ref elm_flipselector_item_selected_get,
20 \@ref elm_flipselector_item_selected_set.
21
22 Warning: This list is only valid until $obj object's internal
23 items list is changed. It should be fetched again with another
24 call to this function when changes happen.
25 ]]
26 return: const(list<Elm.Widget.Item>); [[List of items]]
27 }
28 }
29 @property first_item {
30 get {
31 [[Get the first item in the given flip selector widget's list of
32 items.
33
34 See also @.item_append,
35 @.last_item.get.
36 ]]
37 return: Elm.Widget.Item; [[The first item or $null, if it has no items (and on
38 errors).]]
39
40 }
41 }
42 @property last_item {
43 get {
44 [[Get the last item in the given flip selector widget's list of
45 items.
46
47 See also @.item_prepend,
48 @.first_item.get.
49 ]]
50 return: Elm.Widget.Item; [[The last item or $null, if it has no items (and on
51 errors).]]
52
53 }
54 }
55 @property selected_item {
56 get {
57 [[Get the currently selected item in a flip selector widget.]]
58 return: Elm.Widget.Item; [[The selected item or $null, if the widget has no items
59 (and on errors).]]
60
61 }
62 }
63 @property first_interval {
64 set {
65 [[Set the interval on time updates for a user mouse button hold
66 on a flip selector widget.
67
68 This interval value is decreased while the user holds the
69 mouse pointer either flipping up or flipping down a given flip
70 selector.
71
72 This helps the user to get to a given item distant from the
73 current one easier/faster, as it will start to flip quicker and
74 quicker on mouse button holds.
75
76 The calculation for the next flip interval value, starting from
77 the one set with this call, is the previous interval divided by
78 1.05, so it decreases a little bit.
79
80 The default starting interval value for automatic flips is
81 0.85 seconds.
82
83 See also @.first_interval.get.
84 ]]
85 }
86 get {
87 [[Get the interval on time updates for an user mouse button hold
88 on a flip selector widget.
89
90 See also @.first_interval.set for more details.
91 ]]
92 }
93 values {
94 interval: double; [[The (first) interval value in seconds.]]
95 }
96 }
97 item_prepend {
98 [[Prepend a (text) item to a flip selector widget
99
100 The widget's list of labels to show will be prepended with the
101 given value. If the user wishes so, a callback function pointer
102 can be passed, which will get called when this same item is
103 selected.
104
105 Note: The current selection won't be modified by prepending
106 an element to the list.
107
108 Note: The maximum length of the text label is going to be
109 determined by the widget's theme. Strings larger than
110 that value are going to be truncated.
111 ]]
112 return: Elm.Widget.Item; [[New widget item]]
113 params {
114 @in label: string; [[The (text) label of the new item.]]
115 @in func: Evas_Smart_Cb @optional; [[Convenience callback function to take place when
116 item is selected.]]
117 @in data: void_ptr @optional; [[Data passed to $func, above.]]
118 }
119 }
120 flip_next {
121 [[Programmatically select the next item of a flip selector widget
122
123 Note: The selection will be animated. Also, if it reaches the
124 end of its list of member items, it will continue with the first
125 one onwards.
126 ]]
127 }
128 item_append {
129 [[Append a (text) item to a flip selector widget
130
131 The widget's list of labels to show will be appended with the
132 given value. If the user wishes so, a callback function pointer
133 can be passed, which will get called when this same item is
134 selected.
135
136 Note: The current selection won't be modified by appending an
137 element to the list.
138
139 Note: The maximum length of the text label is going to be
140 determined by the widget's theme. Strings larger than
141 that value are going to be truncated.
142 ]]
143 return: Elm.Widget.Item; [[New widget item]]
144 params {
145 @in label: string; [[The (text) label of the new item.]]
146 @in func: Evas_Smart_Cb @optional; [[Convenience callback function to take place when
147 item is selected.]]
148 @in data: const(void_ptr) @optional; [[Data passed to $func, above.]]
149 }
150 }
151 flip_prev {
152 [[Programmatically select the previous item of a flip selector
153 widget
154
155 Note: The selection will be animated. Also, if it reaches the
156 beginning of its list of member items, it will continue with the
157 last one backwards.
158 ]]
159 }
160 }
161 implements {
162 class.constructor;
163 Efl.Object.constructor;
164 Efl.Ui.Widget.theme_apply;
165 Efl.Ui.Widget.widget_event;
166 Efl.Ui.Range_Display.range_min_max { get; set; }
167 Efl.Ui.Range_Interactive.range_step { get; set; }
168 Efl.Ui.Range_Display.range_value { get; set; }
169 Efl.Access.Widget.Action.elm_actions { get; }
170 }
171 events {
172 underflowed: void; [[Called when flipselector is underflowed]]
173 overflowed: void; [[Called when flipselector is overflowed]]
174 }
175}