1 class Elm_Flipselector (Elm_Layout, Elm_Interface_Atspi_Widget_Action)
3 eo_prefix: elm_obj_flipselector;
10 @brief Set the interval on time updates for a user mouse button hold
11 on a flip selector widget.
13 @remark This interval value is @b decreased while the user holds the
14 mouse pointer either flipping up or flipping down a given flip
17 @remark This helps the user to get to a given item distant from the
18 current one easier/faster, as it will start to flip quicker and
19 quicker on mouse button holds.
21 @remark The calculation for the next flip interval value, starting from
22 the one set with this call, is the previous interval divided by
23 1.05, so it decreases a little bit.
25 @remark The default starting interval value for automatic flips is
28 @see elm_flipselector_first_interval_get()
30 @if MOBILE @since_tizen 2.4
33 @ingroup Flipselector */
39 @brief Get the interval on time updates for an user mouse button hold
40 on a flip selector widget.
42 @return The (first) interval value, in seconds, set on it
44 @see elm_flipselector_first_interval_set() for more details
46 @if MOBILE @since_tizen 2.4
49 @ingroup Flipselector */
52 double interval; /*@ The (first) interval value in seconds */
60 @brief Get the internal list of items in a given flip selector widget.
62 @return The list of items (#Elm_Object_Item as data) or
65 @remark This list is @b not to be modified in any way and must not be
66 freed. Use the list members with functions like
67 @remark elm_object_item_text_set()
68 @remark elm_object_item_text_get()
69 @remark elm_object_item_del()
70 @remark elm_flipselector_item_selected_get()
71 @remark elm_flipselector_item_selected_set()
73 @warning This list is only valid until @p obj object's internal
74 items list is changed. It should be fetched again with another
75 call to this function when changes happen.
77 @if MOBILE @since_tizen 2.4
80 @ingroup Flipselector */
89 @brief Get the first item in the given flip selector widget's list of
92 @return The first item or @c NULL, if it has no items (and on
95 @see elm_flipselector_item_append()
96 @see elm_flipselector_last_item_get()
98 @if MOBILE @since_tizen 2.4
101 @ingroup Flipselector */
102 return: Elm_Object_Item *;
110 @brief Get the last item in the given flip selector widget's list of
113 @return The last item or @c NULL, if it has no items (and on
116 @see elm_flipselector_item_prepend()
117 @see elm_flipselector_first_item_get()
119 @if MOBILE @since_tizen 2.4
122 @ingroup Flipselector */
123 return: Elm_Object_Item *;
131 @brief Get the currently selected item in a flip selector widget.
133 @return The selected item or @c NULL, if the widget has no items
136 @if MOBILE @since_tizen 2.4
139 @ingroup Flipselector */
140 return: Elm_Object_Item *;
149 @brief Prepend a (text) item to a flip selector widget
151 @return A handle to the item added or @c NULL, on errors
153 @remark The widget's list of labels to show will be prepended with the
154 given value. If the user wishes so, a callback function pointer
155 can be passed, which will get called when this same item is
158 @note The current selection @b won't be modified by prepending
159 an element to the list.
161 @note The maximum length of the text label is going to be
162 determined <b>by the widget's theme</b>. Strings larger than
163 that value are going to be @b truncated.
165 @if MOBILE @since_tizen 2.4
168 @ingroup Flipselector */
170 return: Elm_Object_Item *;
172 @in const(char)* label; /*@ The (text) label of the new item */
173 @in Evas_Smart_Cb func; /*@ Convenience callback function to take place when
175 @in void *data; /*@ Data passed to @p func, above */
182 @brief Programmatically select the next item of a flip selector widget
184 @note The selection will be animated. Also, if it reaches the
185 end of its list of member items, it will continue with the first
188 @if MOBILE @since_tizen 2.4
191 @ingroup Flipselector */
198 @brief Append a (text) item to a flip selector widget
200 @return A handle to the item added or @c NULL, on errors
202 @remark The widget's list of labels to show will be appended with the
203 given value. If the user wishes so, a callback function pointer
204 can be passed, which will get called when this same item is
207 @note The current selection @b won't be modified by appending an
210 @note The maximum length of the text label is going to be
211 determined <b>by the widget's theme</b>. Strings larger than
212 that value are going to be @b truncated.
214 @if MOBILE @since_tizen 2.4
217 @ingroup Flipselector */
219 return: Elm_Object_Item *;
221 @in const(char)* label; /*@ The (text) label of the new item */
222 @in Evas_Smart_Cb func; /*@ Convenience callback function to take place when
224 @in const(void)* data; /*@ Data passed to @p func, above */
231 @brief Programmatically select the previous item of a flip selector
234 @note The selection will be animated. Also, if it reaches the
235 beginning of its list of member items, it will continue with the
238 @if MOBILE @since_tizen 2.4
241 @ingroup Flipselector */
248 Evas.Object_Smart.add;
249 Evas.Object_Smart.del;
250 Elm_Widget.theme_apply;
251 Elm_Widget.focus_next_manager_is;
252 Elm_Widget.focus_direction_manager_is;
254 Elm_Layout.sizing_eval;
255 ///TIZEN_ONLY(20150716) : fix accessible_at_point getter
256 Elm_Interface_Atspi_Component.accessible_at_point_get;