1 EINA_DEPRECATED EAPI void elm_gen_clear(Evas_Object *obj);
2 EINA_DEPRECATED EAPI void elm_gen_item_selected_set(Elm_Gen_Item *it, Eina_Bool selected);
3 EINA_DEPRECATED EAPI Eina_Bool elm_gen_item_selected_get(const Elm_Gen_Item *it);
4 EINA_DEPRECATED EAPI void elm_gen_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
5 EINA_DEPRECATED EAPI Eina_Bool elm_gen_always_select_mode_get(const Evas_Object *obj);
6 EINA_DEPRECATED EAPI void elm_gen_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
7 EINA_DEPRECATED EAPI Eina_Bool elm_gen_no_select_mode_get(const Evas_Object *obj);
8 EINA_DEPRECATED EAPI void elm_gen_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
9 EINA_DEPRECATED EAPI void elm_gen_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
10 EINA_DEPRECATED EAPI void elm_gen_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel);
11 EINA_DEPRECATED EAPI void elm_gen_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel);
13 EINA_DEPRECATED EAPI void elm_gen_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize);
14 EINA_DEPRECATED EAPI void elm_gen_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber);
15 EINA_DEPRECATED EAPI void elm_gen_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber);
16 EINA_DEPRECATED EAPI void elm_gen_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber);
17 EINA_DEPRECATED EAPI void elm_gen_page_bring_in(const Evas_Object *obj, int h_pagenumber, int v_pagenumber);
18 EINA_DEPRECATED EAPI Elm_Gen_Item *elm_gen_first_item_get(const Evas_Object *obj);
19 EINA_DEPRECATED EAPI Elm_Gen_Item *elm_gen_last_item_get(const Evas_Object *obj);
20 EINA_DEPRECATED EAPI Elm_Gen_Item *elm_gen_item_next_get(const Elm_Gen_Item *it);
21 EINA_DEPRECATED EAPI Elm_Gen_Item *elm_gen_item_prev_get(const Elm_Gen_Item *it);
22 EINA_DEPRECATED EAPI Evas_Object *elm_gen_item_widget_get(const Elm_Gen_Item *it);
25 * Get the widget object's handle which contains a given item
27 * @param it The Elementary object item
28 * @return The widget object
30 * @note This returns the widget object itself that an item belongs to.
31 * @note Every elm_object_item supports this API
32 * @deprecated Use elm_object_item_widget_get() instead
35 EINA_DEPRECATED EAPI Evas_Object *elm_object_item_object_get(const Elm_Object_Item *it);
38 * @defgroup Toggle Toggle
40 * @image html img/widget/toggle/preview-00.png
41 * @image latex img/widget/toggle/preview-00.eps
43 * @brief A toggle is a slider which can be used to toggle between
44 * two values. It has two states: on and off.
46 * This widget is deprecated. Please use elm_check_add() instead using the
50 * obj = elm_check_add(parent);
51 * elm_object_style_set(obj, "toggle");
52 * elm_object_part_text_set(obj, "on", "ON");
53 * elm_object_part_text_set(obj, "off", "OFF");
56 * Signals that you can add callbacks for are:
57 * @li "changed" - Whenever the toggle value has been changed. Is not called
58 * until the toggle is released by the cursor (assuming it
59 * has been triggered by the cursor in the first place).
61 * Default contents parts of the toggle widget that you can use for are:
62 * @li "icon" - An icon of the toggle
64 * Default text parts of the toggle widget that you can use for are:
65 * @li "elm.text" - Label of the toggle
67 * @ref tutorial_toggle show how to use a toggle.
72 * @brief Add a toggle to @p parent.
74 * @param parent The parent object
76 * @return The toggle object
78 EINA_DEPRECATED EAPI Evas_Object *elm_toggle_add(Evas_Object *parent);
81 * @brief Sets the label to be displayed with the toggle.
83 * @param obj The toggle object
84 * @param label The label to be displayed
86 * @deprecated use elm_object_text_set() instead.
88 EINA_DEPRECATED EAPI void elm_toggle_label_set(Evas_Object *obj, const char *label);
91 * @brief Gets the label of the toggle
93 * @param obj toggle object
94 * @return The label of the toggle
96 * @deprecated use elm_object_text_get() instead.
98 EINA_DEPRECATED EAPI const char *elm_toggle_label_get(const Evas_Object *obj);
101 * @brief Set the icon used for the toggle
103 * @param obj The toggle object
104 * @param icon The icon object for the button
106 * Once the icon object is set, a previously set one will be deleted
107 * If you want to keep that old content object, use the
108 * elm_toggle_icon_unset() function.
110 * @deprecated use elm_object_part_content_set() instead.
112 EINA_DEPRECATED EAPI void elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon);
115 * @brief Get the icon used for the toggle
117 * @param obj The toggle object
118 * @return The icon object that is being used
120 * Return the icon object which is set for this widget.
122 * @see elm_toggle_icon_set()
124 * @deprecated use elm_object_part_content_get() instead.
126 EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj);
129 * @brief Unset the icon used for the toggle
131 * @param obj The toggle object
132 * @return The icon object that was being used
134 * Unparent and return the icon object which was set for this widget.
136 * @see elm_toggle_icon_set()
138 * @deprecated use elm_object_part_content_unset() instead.
140 EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_unset(Evas_Object *obj);
143 * @brief Sets the labels to be associated with the on and off states of the toggle.
145 * @param obj The toggle object
146 * @param onlabel The label displayed when the toggle is in the "on" state
147 * @param offlabel The label displayed when the toggle is in the "off" state
149 * @deprecated use elm_object_part_text_set() for "on" and "off" parts
152 EINA_DEPRECATED EAPI void elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel);
155 * @brief Gets the labels associated with the on and off states of the
158 * @param obj The toggle object
159 * @param onlabel A char** to place the onlabel of @p obj into
160 * @param offlabel A char** to place the offlabel of @p obj into
162 * @deprecated use elm_object_part_text_get() for "on" and "off" parts
165 EINA_DEPRECATED EAPI void elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel);
168 * @brief Sets the state of the toggle to @p state.
170 * @param obj The toggle object
171 * @param state The state of @p obj
173 * @deprecated use elm_check_state_set() instead.
175 EINA_DEPRECATED EAPI void elm_toggle_state_set(Evas_Object *obj, Eina_Bool state);
178 * @brief Gets the state of the toggle to @p state.
180 * @param obj The toggle object
181 * @return The state of @p obj
183 * @deprecated use elm_check_state_get() instead.
185 EINA_DEPRECATED EAPI Eina_Bool elm_toggle_state_get(const Evas_Object *obj);
188 * @brief Sets the state pointer of the toggle to @p statep.
190 * @param obj The toggle object
191 * @param statep The state pointer of @p obj
193 * @deprecated use elm_check_state_pointer_set() instead.
195 EINA_DEPRECATED EAPI void elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep);
201 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent);
202 EINA_DEPRECATED EAPI void elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
203 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_single_line_get(const Evas_Object *obj);
204 EINA_DEPRECATED EAPI void elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password);
205 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_password_get(const Evas_Object *obj);
206 EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry);
207 EINA_DEPRECATED EAPI const char *elm_scrolled_entry_entry_get(const Evas_Object *obj);
208 EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry);
209 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_is_empty(const Evas_Object *obj);
210 EINA_DEPRECATED EAPI const char *elm_scrolled_entry_selection_get(const Evas_Object *obj);
211 EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry);
212 EINA_DEPRECATED EAPI void elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap);
213 EINA_DEPRECATED EAPI void elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
214 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_editable_get(const Evas_Object *obj);
215 EINA_DEPRECATED EAPI void elm_scrolled_entry_select_none(Evas_Object *obj);
216 EINA_DEPRECATED EAPI void elm_scrolled_entry_select_all(Evas_Object *obj);
217 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_next(Evas_Object *obj);
218 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_prev(Evas_Object *obj);
219 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_up(Evas_Object *obj);
220 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_down(Evas_Object *obj);
221 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_begin_set(Evas_Object *obj);
222 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_end_set(Evas_Object *obj);
223 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj);
224 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj);
225 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj);
226 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_selection_end(Evas_Object *obj);
227 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj);
228 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj);
229 EINA_DEPRECATED EAPI const char *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj);
230 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos);
231 EINA_DEPRECATED EAPI int elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj);
232 EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_cut(Evas_Object *obj);
233 EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_copy(Evas_Object *obj);
234 EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_paste(Evas_Object *obj);
235 EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_clear(Evas_Object *obj);
236 EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data);
237 EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
238 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj);
239 EINA_DEPRECATED EAPI void elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
240 EINA_DEPRECATED EAPI void elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
241 EINA_DEPRECATED EAPI void elm_scrolled_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
242 EINA_DEPRECATED EAPI void elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
243 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj);
244 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj);
245 EINA_DEPRECATED EAPI void elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
246 EINA_DEPRECATED EAPI void elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end);
247 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj);
248 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj);
249 EINA_DEPRECATED EAPI void elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
250 EINA_DEPRECATED EAPI void elm_scrolled_entry_item_provider_append(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data);
251 EINA_DEPRECATED EAPI void elm_scrolled_entry_item_provider_prepend(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data);
252 EINA_DEPRECATED EAPI void elm_scrolled_entry_item_provider_remove(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data);
253 EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_append(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
254 EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_prepend(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
255 EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_remove(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
256 EINA_DEPRECATED EAPI void elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format);
257 EINA_DEPRECATED EAPI void elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format);
258 EINA_DEPRECATED EAPI void elm_scrolled_entry_file_save(Evas_Object *obj);
259 EINA_DEPRECATED EAPI void elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave);
260 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_autosave_get(const Evas_Object *obj);
261 EINA_DEPRECATED EAPI void elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly);
262 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj);
265 * Set the text to show in the anchorblock
267 * Sets the text of the anchorblock to @p text. This text can include markup
268 * format tags, including <c>\<a href=anchorname\></a></c> to begin a segment
269 * of text that will be specially styled and react to click events, ended
270 * with either of \</a\> or \</\>. When clicked, the anchor will emit an
271 * "anchor,clicked" signal that you can attach a callback to with
272 * evas_object_smart_callback_add(). The name of the anchor given in the
273 * event info struct will be the one set in the href attribute, in this
276 * Other markup can be used to style the text in different ways, but it's
277 * up to the style defined in the theme which tags do what.
278 * @deprecated use elm_object_text_set() instead.
280 EINA_DEPRECATED EAPI void elm_anchorblock_text_set(Evas_Object *obj, const char *text);
283 * Get the markup text set for the anchorblock
285 * Retrieves the text set on the anchorblock, with markup tags included.
287 * @param obj The anchorblock object
288 * @return The markup text set or @c NULL if nothing was set or an error
290 * @deprecated use elm_object_text_set() instead.
292 EINA_DEPRECATED EAPI const char *elm_anchorblock_text_get(const Evas_Object *obj);
295 * Set the text to show in the anchorview
297 * Sets the text of the anchorview to @p text. This text can include markup
298 * format tags, including <c>\<a href=anchorname\></c> to begin a segment of
299 * text that will be specially styled and react to click events, ended with
300 * either of \</a\> or \</\>. When clicked, the anchor will emit an
301 * "anchor,clicked" signal that you can attach a callback to with
302 * evas_object_smart_callback_add(). The name of the anchor given in the
303 * event info struct will be the one set in the href attribute, in this
306 * Other markup can be used to style the text in different ways, but it's
307 * up to the style defined in the theme which tags do what.
308 * @deprecated use elm_object_text_set() instead.
310 EINA_DEPRECATED EAPI void elm_anchorview_text_set(Evas_Object *obj, const char *text);
313 * Get the markup text set for the anchorview
315 * Retrieves the text set on the anchorview, with markup tags included.
317 * @param obj The anchorview object
318 * @return The markup text set or @c NULL if nothing was set or an error
320 * @deprecated use elm_object_text_set() instead.
322 EINA_DEPRECATED EAPI const char *elm_anchorview_text_get(const Evas_Object *obj);
325 * @brief Get the ctxpopup item's disabled/enabled state.
327 * @param it Ctxpopup item to be enabled/disabled
328 * @return disabled @c EINA_TRUE, if disabled, @c EINA_FALSE otherwise
330 * @see elm_ctxpopup_item_disabled_set()
331 * @deprecated use elm_object_item_disabled_get() instead
335 EINA_DEPRECATED EAPI Eina_Bool elm_ctxpopup_item_disabled_get(const Elm_Object_Item *it);
338 * @brief Set the ctxpopup item's state as disabled or enabled.
340 * @param it Ctxpopup item to be enabled/disabled
341 * @param disabled @c EINA_TRUE to disable it, @c EINA_FALSE to enable it
343 * When disabled the item is greyed out to indicate it's state.
344 * @deprecated use elm_object_item_disabled_set() instead
348 EINA_DEPRECATED EAPI void elm_ctxpopup_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
351 * @brief Get the icon object for the given ctxpopup item.
353 * @param it Ctxpopup item
354 * @return icon object or @c NULL, if the item does not have icon or an error
357 * @see elm_ctxpopup_item_append()
358 * @see elm_ctxpopup_item_icon_set()
360 * @deprecated use elm_object_item_part_content_get() instead
364 EINA_DEPRECATED EAPI Evas_Object *elm_ctxpopup_item_icon_get(const Elm_Object_Item *it);
367 * @brief Sets the side icon associated with the ctxpopup item
369 * @param it Ctxpopup item
370 * @param icon Icon object to be set
372 * Once the icon object is set, a previously set one will be deleted.
373 * @warning Setting the same icon for two items will cause the icon to
374 * dissapear from the first item.
376 * @see elm_ctxpopup_item_append()
378 * @deprecated use elm_object_item_part_content_set() instead
382 EINA_DEPRECATED EAPI void elm_ctxpopup_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
385 * @brief Get the label for the given ctxpopup item.
387 * @param it Ctxpopup item
388 * @return label string or @c NULL, if the item does not have label or an
391 * @see elm_ctxpopup_item_append()
392 * @see elm_ctxpopup_item_label_set()
394 * @deprecated use elm_object_item_text_get() instead
398 EINA_DEPRECATED EAPI const char *elm_ctxpopup_item_label_get(const Elm_Object_Item *it);
401 * @brief (Re)set the label on the given ctxpopup item.
403 * @param it Ctxpopup item
404 * @param label String to set as label
406 * @deprecated use elm_object_item_text_set() instead
410 EINA_DEPRECATED EAPI void elm_ctxpopup_item_label_set(Elm_Object_Item *it, const char *label);
413 * @brief Set an elm widget as the content of the ctxpopup.
415 * @param obj Ctxpopup object
416 * @param content Content to be swallowed
418 * If the content object is already set, a previous one will bedeleted. If
419 * you want to keep that old content object, use the
420 * elm_ctxpopup_content_unset() function.
422 * @warning Ctxpopup can't hold both a item list and a content at the same
423 * time. When a content is set, any previous items will be removed.
425 * @deprecated use elm_object_content_set() instead
429 EINA_DEPRECATED EAPI void elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content);
432 * @brief Unset the ctxpopup content
434 * @param obj Ctxpopup object
435 * @return The content that was being used
437 * Unparent and return the content object which was set for this widget.
439 * @deprecated use elm_object_content_unset()
441 * @see elm_ctxpopup_content_set()
443 * @deprecated use elm_object_content_unset() instead
447 EINA_DEPRECATED EAPI Evas_Object *elm_ctxpopup_content_unset(Evas_Object *obj);
450 * @brief Delete the given item in a ctxpopup object.
452 * @param it Ctxpopup item to be deleted
454 * @deprecated Use elm_object_item_del() instead
455 * @see elm_ctxpopup_item_append()
459 EINA_DEPRECATED EAPI void elm_ctxpopup_item_del(Elm_Object_Item *it);
462 * Set the label for a given file selector button widget
464 * @param obj The file selector button widget
465 * @param label The text label to be displayed on @p obj
467 * @deprecated use elm_object_text_set() instead.
469 EINA_DEPRECATED EAPI void elm_fileselector_button_label_set(Evas_Object *obj, const char *label);
472 * Get the label set for a given file selector button widget
474 * @param obj The file selector button widget
475 * @return The button label
477 * @deprecated use elm_object_text_set() instead.
479 EINA_DEPRECATED EAPI const char *elm_fileselector_button_label_get(const Evas_Object *obj);
482 * Set the icon on a given file selector button widget
484 * @param obj The file selector button widget
485 * @param icon The icon object for the button
487 * Once the icon object is set, a previously set one will be
488 * deleted. If you want to keep the latter, use the
489 * elm_fileselector_button_icon_unset() function.
491 * @deprecated Use elm_object_part_content_set() instead
492 * @see elm_fileselector_button_icon_get()
494 EINA_DEPRECATED EAPI void elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon);
497 * Get the icon set for a given file selector button widget
499 * @param obj The file selector button widget
500 * @return The icon object currently set on @p obj or @c NULL, if
503 * @deprecated Use elm_object_part_content_get() instead
504 * @see elm_fileselector_button_icon_set()
506 EINA_DEPRECATED EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj);
509 * Unset the icon used in a given file selector button widget
511 * @param obj The file selector button widget
512 * @return The icon object that was being used on @p obj or @c
515 * Unparent and return the icon object which was set for this
518 * @deprecated Use elm_object_part_content_unset() instead
519 * @see elm_fileselector_button_icon_set()
521 EINA_DEPRECATED EAPI Evas_Object *elm_fileselector_button_icon_unset(Evas_Object *obj);
524 * Set the label for a given file selector entry widget's button
526 * @param obj The file selector entry widget
527 * @param label The text label to be displayed on @p obj widget's
530 * @deprecated use elm_object_text_set() instead.
532 EINA_DEPRECATED EAPI void elm_fileselector_entry_button_label_set(Evas_Object *obj, const char *label);
535 * Get the label set for a given file selector entry widget's button
537 * @param obj The file selector entry widget
538 * @return The widget button's label
540 * @deprecated use elm_object_text_set() instead.
542 EINA_DEPRECATED EAPI const char *elm_fileselector_entry_button_label_get(const Evas_Object *obj);
545 * Set the icon on a given file selector entry widget's button
547 * @param obj The file selector entry widget
548 * @param icon The icon object for the entry's button
550 * Once the icon object is set, a previously set one will be
551 * deleted. If you want to keep the latter, use the
552 * elm_fileselector_entry_button_icon_unset() function.
554 * @deprecated Use elm_object_part_content_set() instead
555 * @see elm_fileselector_entry_button_icon_get()
557 EINA_DEPRECATED EAPI void elm_fileselector_entry_button_icon_set(Evas_Object *obj, Evas_Object *icon);
560 * Get the icon set for a given file selector entry widget's button
562 * @param obj The file selector entry widget
563 * @return The icon object currently set on @p obj widget's button
564 * or @c NULL, if none is
566 * @deprecated Use elm_object_part_content_get() instead
567 * @see elm_fileselector_entry_button_icon_set()
569 EINA_DEPRECATED EAPI Evas_Object *elm_fileselector_entry_button_icon_get(const Evas_Object *obj);
572 * Unset the icon used in a given file selector entry widget's
575 * @param obj The file selector entry widget
576 * @return The icon object that was being used on @p obj widget's
577 * button or @c NULL, on errors
579 * Unparent and return the icon object which was set for this
582 * @deprecated Use elm_object_part_content_unset() instead
583 * @see elm_fileselector_entry_button_icon_set()
585 EINA_DEPRECATED EAPI Evas_Object *elm_fileselector_entry_button_icon_unset(Evas_Object *obj);
588 * @brief Sets the content of the hover object and the direction in which it
591 * @param obj The hover object
592 * @param swallow The direction that the object will be displayed
593 * at. Accepted values are "left", "top-left", "top", "top-right",
594 * "right", "bottom-right", "bottom", "bottom-left", "middle" and
596 * @param content The content to place at @p swallow
598 * Once the content object is set for a given direction, a previously
599 * set one (on the same direction) will be deleted. If you want to
600 * keep that old content object, use the elm_hover_content_unset()
603 * All directions may have contents at the same time, except for
604 * "smart". This is a special placement hint and its use case
605 * independs of the calculations coming from
606 * elm_hover_best_content_location_get(). Its use is for cases when
607 * one desires only one hover content, but with a dynamic special
608 * placement within the hover area. The content's geometry, whenever
609 * it changes, will be used to decide on a best location, not
610 * extrapolating the hover's parent object view to show it in (still
611 * being the hover's target determinant of its medium part -- move and
612 * resize it to simulate finger sizes, for example). If one of the
613 * directions other than "smart" are used, a previously content set
614 * using it will be deleted, and vice-versa.
616 * @deprecated Use elm_object_part_content_set() instead
618 EINA_DEPRECATED EAPI void elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
621 * @brief Get the content of the hover object, in a given direction.
623 * Return the content object which was set for this widget in the
624 * @p swallow direction.
626 * @param obj The hover object
627 * @param swallow The direction that the object was display at.
628 * @return The content that was being used
630 * @deprecated Use elm_object_part_content_get() instead
631 * @see elm_hover_content_set()
633 EINA_DEPRECATED EAPI Evas_Object *elm_hover_content_get(const Evas_Object *obj, const char *swallow);
636 * @brief Unset the content of the hover object, in a given direction.
638 * Unparent and return the content object set at @p swallow direction.
640 * @param obj The hover object
641 * @param swallow The direction that the object was display at.
642 * @return The content that was being used.
644 * @deprecated Use elm_object_part_content_unset() instead
645 * @see elm_hover_content_set()
647 EINA_DEPRECATED EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow);
650 * @brief Set the hoversel button label
652 * @param obj The hoversel object
653 * @param label The label text.
655 * This sets the label of the button that is always visible (before it is
656 * clicked and expanded).
658 * @deprecated elm_object_text_set()
660 EINA_DEPRECATED EAPI void elm_hoversel_label_set(Evas_Object *obj, const char *label);
663 * @brief Get the hoversel button label
665 * @param obj The hoversel object
666 * @return The label text.
668 * @deprecated elm_object_text_get()
670 EINA_DEPRECATED EAPI const char *elm_hoversel_label_get(const Evas_Object *obj);
673 * @brief Set the icon of the hoversel button
675 * @param obj The hoversel object
676 * @param icon The icon object
678 * Sets the icon of the button that is always visible (before it is clicked
679 * and expanded). Once the icon object is set, a previously set one will be
680 * deleted, if you want to keep that old content object, use the
681 * elm_hoversel_icon_unset() function.
683 * @see elm_object_content_set() for the button widget
684 * @deprecated Use elm_object_item_part_content_set() instead
686 EINA_DEPRECATED EAPI void elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon);
689 * @brief Get the icon of the hoversel button
691 * @param obj The hoversel object
692 * @return The icon object
694 * Get the icon of the button that is always visible (before it is clicked
695 * and expanded). Also see elm_object_content_get() for the button widget.
697 * @see elm_hoversel_icon_set()
698 * @deprecated Use elm_object_item_part_content_get() instead
700 EINA_DEPRECATED EAPI Evas_Object *elm_hoversel_icon_get(const Evas_Object *obj);
703 * @brief Get and unparent the icon of the hoversel button
705 * @param obj The hoversel object
706 * @return The icon object that was being used
708 * Unparent and return the icon of the button that is always visible
709 * (before it is clicked and expanded).
711 * @see elm_hoversel_icon_set()
712 * @see elm_object_content_unset() for the button widget
713 * @deprecated Use elm_object_item_part_content_unset() instead
715 EINA_DEPRECATED EAPI Evas_Object *elm_hoversel_icon_unset(Evas_Object *obj);
718 * @brief This returns the data pointer supplied with elm_hoversel_item_add()
719 * that will be passed to associated function callbacks.
721 * @param it The item to get the data from
722 * @return The data pointer set with elm_hoversel_item_add()
724 * @see elm_hoversel_item_add()
725 * @deprecated Use elm_object_item_data_get() instead
727 EINA_DEPRECATED EAPI void *elm_hoversel_item_data_get(const Elm_Object_Item *it);
730 * @brief This returns the label text of the given hoversel item.
732 * @param it The item to get the label
733 * @return The label text of the hoversel item
735 * @see elm_hoversel_item_add()
736 * @deprecated Use elm_object_item_text_get() instead
738 EINA_DEPRECATED EAPI const char *elm_hoversel_item_label_get(const Elm_Object_Item *it);
741 * @brief Set the function to be called when an item from the hoversel is
744 * @param it The item to set the callback on
745 * @param func The function called
747 * That function will receive these parameters:
748 * @li void * item data
749 * @li Evas_Object * hoversel object
750 * @li Elm_Object_Item * hoversel item
752 * @see elm_hoversel_item_add()
753 * @deprecated Use elm_object_item_del_cb_set() instead
755 EINA_DEPRECATED EAPI void elm_hoversel_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
758 * @brief Delete an item from the hoversel
760 * @param it The item to delete
762 * This deletes the item from the hoversel (should not be called while the
763 * hoversel is active; use elm_hoversel_expanded_get() to check first).
765 * @deprecated Use elm_object_item_del() instead
766 * @see elm_hoversel_item_add()
768 EINA_DEPRECATED EAPI void elm_hoversel_item_del(Elm_Object_Item *it);
771 * Set actionslider labels.
773 * @param obj The actionslider object
774 * @param left_label The label to be set on the left.
775 * @param center_label The label to be set on the center.
776 * @param right_label The label to be set on the right.
777 * @deprecated use elm_object_text_set() instead.
779 EINA_DEPRECATED EAPI void elm_actionslider_labels_set(Evas_Object *obj, const char *left_label, const char *center_label, const char *right_label);
782 * Get actionslider labels.
784 * @param obj The actionslider object
785 * @param left_label A char** to place the left_label of @p obj into.
786 * @param center_label A char** to place the center_label of @p obj into.
787 * @param right_label A char** to place the right_label of @p obj into.
788 * @deprecated use elm_object_text_set() instead.
790 EINA_DEPRECATED EAPI void elm_actionslider_labels_get(const Evas_Object *obj, const char **left_label, const char **center_label, const char **right_label);
793 * Set the label used on the indicator.
795 * @param obj The actionslider object
796 * @param label The label to be set on the indicator.
797 * @deprecated use elm_object_text_set() instead.
799 EINA_DEPRECATED EAPI void elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label);
802 * Get the label used on the indicator object.
804 * @param obj The actionslider object
805 * @return The indicator label
806 * @deprecated use elm_object_text_get() instead.
808 EINA_DEPRECATED EAPI const char *elm_actionslider_indicator_label_get(Evas_Object *obj);
811 * Set the overlay object used for the background object.
813 * @param obj The bg object
814 * @param overlay The overlay object
816 * This provides a way for elm_bg to have an 'overlay' that will be on top
817 * of the bg. Once the over object is set, a previously set one will be
818 * deleted, even if you set the new one to NULL. If you want to keep that
819 * old content object, use the elm_bg_overlay_unset() function.
821 * @deprecated use elm_object_part_content_set() instead
826 EINA_DEPRECATED EAPI void elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay);
829 * Get the overlay object used for the background object.
831 * @param obj The bg object
832 * @return The content that is being used
834 * Return the content object which is set for this widget
836 * @deprecated use elm_object_part_content_get() instead
840 EINA_DEPRECATED EAPI Evas_Object *elm_bg_overlay_get(const Evas_Object *obj);
843 * Get the overlay object used for the background object.
845 * @param obj The bg object
846 * @return The content that was being used
848 * Unparent and return the overlay object which was set for this widget
850 * @deprecated use elm_object_part_content_unset() instead
854 EINA_DEPRECATED EAPI Evas_Object *elm_bg_overlay_unset(Evas_Object *obj);
858 * Set the label of the bubble
860 * @param obj The bubble object
861 * @param label The string to set in the label
863 * This function sets the title of the bubble. Where this appears depends on
864 * the selected corner.
865 * @deprecated use elm_object_text_set() instead.
867 EINA_DEPRECATED EAPI void elm_bubble_label_set(Evas_Object *obj, const char *label);
870 * Get the label of the bubble
872 * @param obj The bubble object
873 * @return The string of set in the label
875 * This function gets the title of the bubble.
876 * @deprecated use elm_object_text_get() instead.
878 EINA_DEPRECATED EAPI const char *elm_bubble_label_get(const Evas_Object *obj);
881 * Set the info of the bubble
883 * @param obj The bubble object
884 * @param info The given info about the bubble
886 * This function sets the info of the bubble. Where this appears depends on
887 * the selected corner.
888 * @deprecated use elm_object_part_text_set() instead. (with "info" as the parameter).
890 EINA_DEPRECATED EAPI void elm_bubble_info_set(Evas_Object *obj, const char *info);
893 * Get the info of the bubble
895 * @param obj The bubble object
897 * @return The "info" string of the bubble
899 * This function gets the info text.
900 * @deprecated use elm_object_part_text_get() instead. (with "info" as the parameter).
902 EINA_DEPRECATED EAPI const char *elm_bubble_info_get(const Evas_Object *obj);
905 * Set the content to be shown in the bubble
907 * Once the content object is set, a previously set one will be deleted.
908 * If you want to keep the old content object, use the
909 * elm_bubble_content_unset() function.
911 * @param obj The bubble object
912 * @param content The given content of the bubble
914 * This function sets the content shown on the middle of the bubble.
916 * @deprecated use elm_object_content_set() instead
919 EINA_DEPRECATED EAPI void elm_bubble_content_set(Evas_Object *obj, Evas_Object *content);
922 * Get the content shown in the bubble
924 * Return the content object which is set for this widget.
926 * @param obj The bubble object
927 * @return The content that is being used
929 * @deprecated use elm_object_content_get() instead
932 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_content_get(const Evas_Object *obj);
935 * Unset the content shown in the bubble
937 * Unparent and return the content object which was set for this widget.
939 * @param obj The bubble object
940 * @return The content that was being used
942 * @deprecated use elm_object_content_unset() instead
945 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj);
948 * Set the icon of the bubble
950 * Once the icon object is set, a previously set one will be deleted.
951 * If you want to keep the old content object, use the
952 * elm_icon_content_unset() function.
954 * @param obj The bubble object
955 * @param icon The given icon for the bubble
957 * @deprecated use elm_object_part_content_set() instead
960 EINA_DEPRECATED EAPI void elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon);
963 * Get the icon of the bubble
965 * @param obj The bubble object
966 * @return The icon for the bubble
968 * This function gets the icon shown on the top left of bubble.
970 * @deprecated use elm_object_part_content_get() instead
973 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj);
976 * Unset the icon of the bubble
978 * Unparent and return the icon object which was set for this widget.
980 * @param obj The bubble object
981 * @return The icon that was being used
983 * @deprecated use elm_object_part_content_unset() instead
986 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_unset(Evas_Object *obj);
990 * Set the label used in the button
992 * The passed @p label can be NULL to clean any existing text in it and
993 * leave the button as an icon only object.
995 * @param obj The button object
996 * @param label The text will be written on the button
997 * @deprecated use elm_object_text_set() instead.
999 EINA_DEPRECATED EAPI void elm_button_label_set(Evas_Object *obj, const char *label);
1002 * Get the label set for the button
1004 * The string returned is an internal pointer and should not be freed or
1005 * altered. It will also become invalid when the button is destroyed.
1006 * The string returned, if not NULL, is a stringshare, so if you need to
1007 * keep it around even after the button is destroyed, you can use
1008 * eina_stringshare_ref().
1010 * @param obj The button object
1011 * @return The text set to the label, or NULL if nothing is set
1012 * @deprecated use elm_object_text_set() instead.
1014 EINA_DEPRECATED EAPI const char *elm_button_label_get(const Evas_Object *obj);
1017 * Set the icon used for the button
1019 * Setting a new icon will delete any other that was previously set, making
1020 * any reference to them invalid. If you need to maintain the previous
1021 * object alive, unset it first with elm_button_icon_unset().
1023 * @param obj The button object
1024 * @param icon The icon object for the button
1025 * @deprecated use elm_object_part_content_set() instead.
1027 EINA_DEPRECATED EAPI void elm_button_icon_set(Evas_Object *obj, Evas_Object *icon);
1030 * Get the icon used for the button
1032 * Return the icon object which is set for this widget. If the button is
1033 * destroyed or another icon is set, the returned object will be deleted
1034 * and any reference to it will be invalid.
1036 * @param obj The button object
1037 * @return The icon object that is being used
1039 * @deprecated use elm_object_part_content_get() instead
1041 EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj);
1044 * Remove the icon set without deleting it and return the object
1046 * This function drops the reference the button holds of the icon object
1047 * and returns this last object. It is used in case you want to remove any
1048 * icon, or set another one, without deleting the actual object. The button
1049 * will be left without an icon set.
1051 * @param obj The button object
1052 * @return The icon object that was being used
1053 * @deprecated use elm_object_part_content_unset() instead.
1055 EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_unset(Evas_Object *obj);
1058 * Set a day text color to the same that represents Saturdays.
1060 * @param obj The calendar object.
1061 * @param pos The text position. Position is the cell counter, from left
1062 * to right, up to down. It starts on 0 and ends on 41.
1064 * @deprecated use elm_calendar_mark_add() instead like:
1067 * struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
1068 * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
1071 * @see elm_calendar_mark_add()
1075 EINA_DEPRECATED EAPI void elm_calendar_text_saturday_color_set(Evas_Object *obj, int pos);
1078 * Set a day text color to the same that represents Sundays.
1080 * @param obj The calendar object.
1081 * @param pos The text position. Position is the cell counter, from left
1082 * to right, up to down. It starts on 0 and ends on 41.
1084 * @deprecated use elm_calendar_mark_add() instead like:
1087 * struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
1088 * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
1091 * @see elm_calendar_mark_add()
1095 EINA_DEPRECATED EAPI void elm_calendar_text_sunday_color_set(Evas_Object *obj, int pos);
1098 * Set a day text color to the same that represents Weekdays.
1100 * @param obj The calendar object
1101 * @param pos The text position. Position is the cell counter, from left
1102 * to right, up to down. It starts on 0 and ends on 41.
1104 * @deprecated use elm_calendar_mark_add() instead like:
1107 * struct tm t = { 0, 0, 12, 1, 0, 0, 0, 0, -1 };
1109 * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // monday
1110 * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
1111 * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // tuesday
1112 * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
1113 * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // wednesday
1114 * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
1115 * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // thursday
1116 * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
1117 * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // friday
1120 * @see elm_calendar_mark_add()
1124 EINA_DEPRECATED EAPI void elm_calendar_text_weekday_color_set(Evas_Object *obj, int pos);
1128 * @brief Set the text label of the check object
1130 * @param obj The check object
1131 * @param label The text label string in UTF-8
1133 * @deprecated use elm_object_text_set() instead.
1135 EINA_DEPRECATED EAPI void elm_check_label_set(Evas_Object *obj, const char *label);
1138 * @brief Get the text label of the check object
1140 * @param obj The check object
1141 * @return The text label string in UTF-8
1143 * @deprecated use elm_object_text_get() instead.
1145 EINA_DEPRECATED EAPI const char *elm_check_label_get(const Evas_Object *obj);
1148 * @brief Set the icon object of the check object
1150 * @param obj The check object
1151 * @param icon The icon object
1153 * Once the icon object is set, a previously set one will be deleted.
1154 * If you want to keep that old content object, use the
1155 * elm_object_content_unset() function.
1157 * @deprecated use elm_object_part_content_set() instead.
1160 EINA_DEPRECATED EAPI void elm_check_icon_set(Evas_Object *obj, Evas_Object *icon);
1163 * @brief Get the icon object of the check object
1165 * @param obj The check object
1166 * @return The icon object
1168 * @deprecated use elm_object_part_content_get() instead.
1171 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj);
1174 * @brief Unset the icon used for the check object
1176 * @param obj The check object
1177 * @return The icon object that was being used
1179 * Unparent and return the icon object which was set for this widget.
1181 * @deprecated use elm_object_part_content_unset() instead.
1184 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj);
1187 * @brief Set the text label of the check object
1189 * @param obj The check object
1190 * @param label The text label string in UTF-8
1192 * @deprecated use elm_object_text_set() instead.
1194 EINA_DEPRECATED EAPI void elm_check_label_set(Evas_Object *obj, const char *label);
1197 * @brief Get the text label of the check object
1199 * @param obj The check object
1200 * @return The text label string in UTF-8
1202 * @deprecated use elm_object_text_get() instead.
1204 EINA_DEPRECATED EAPI const char *elm_check_label_get(const Evas_Object *obj);
1207 * @brief Set the icon object of the check object
1209 * @param obj The check object
1210 * @param icon The icon object
1212 * Once the icon object is set, a previously set one will be deleted.
1213 * If you want to keep that old content object, use the
1214 * elm_object_content_unset() function.
1216 * @deprecated use elm_object_part_content_set() instead.
1219 EINA_DEPRECATED EAPI void elm_check_icon_set(Evas_Object *obj, Evas_Object *icon);
1222 * @brief Get the icon object of the check object
1224 * @param obj The check object
1225 * @return The icon object
1227 * @deprecated use elm_object_part_content_get() instead.
1230 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj);
1233 * @brief Unset the icon used for the check object
1235 * @param obj The check object
1236 * @return The icon object that was being used
1238 * Unparent and return the icon object which was set for this widget.
1240 * @deprecated use elm_object_part_content_unset() instead.
1243 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj);
1245 EINA_DEPRECATED EAPI void elm_check_states_labels_set(Evas_Object *obj, const char *ontext, const char *offtext);
1246 EINA_DEPRECATED EAPI void elm_check_states_labels_get(const Evas_Object *obj, const char **ontext, const char **offtext);
1250 * Set the content of the conformant widget.
1252 * @param obj The conformant object.
1253 * @param content The content to be displayed by the conformant.
1255 * Content will be sized and positioned considering the space required
1256 * to display a virtual keyboard. So it won't fill all the conformant
1257 * size. This way is possible to be sure that content won't resize
1258 * or be re-positioned after the keyboard is displayed.
1260 * Once the content object is set, a previously set one will be deleted.
1261 * If you want to keep that old content object, use the
1262 * elm_object_content_unset() function.
1264 * @see elm_object_content_unset()
1265 * @see elm_object_content_get()
1267 * @deprecated use elm_object_content_set() instead
1269 * @ingroup Conformant
1271 EINA_DEPRECATED EAPI void elm_conformant_content_set(Evas_Object *obj, Evas_Object *content);
1274 * Get the content of the conformant widget.
1276 * @param obj The conformant object.
1277 * @return The content that is being used.
1279 * Return the content object which is set for this widget.
1280 * It won't be unparent from conformant. For that, use
1281 * elm_object_content_unset().
1283 * @see elm_object_content_set().
1284 * @see elm_object_content_unset()
1286 * @deprecated use elm_object_content_get() instead
1288 * @ingroup Conformant
1290 EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj);
1293 * Unset the content of the conformant widget.
1295 * @param obj The conformant object.
1296 * @return The content that was being used.
1298 * Unparent and return the content object which was set for this widget.
1300 * @see elm_object_content_set().
1302 * @deprecated use elm_object_content_unset() instead
1304 * @ingroup Conformant
1306 EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj);
1309 * Get the side labels max length.
1311 * @deprecated use elm_diskselector_side_label_length_get() instead:
1313 * @param obj The diskselector object.
1314 * @return The max length defined for side labels, or 0 if not a valid
1317 * @ingroup Diskselector
1319 EINA_DEPRECATED EAPI int elm_diskselector_side_label_lenght_get(const Evas_Object *obj);
1322 * Set the side labels max length.
1324 * @deprecated use elm_diskselector_side_label_length_set() instead:
1326 * @param obj The diskselector object.
1327 * @param len The max length defined for side labels.
1329 * @ingroup Diskselector
1331 EINA_DEPRECATED EAPI void elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len);
1334 * Get the data associated to the item.
1336 * @param it The diskselector item
1337 * @return The data associated to @p it
1339 * The return value is a pointer to data associated to @p item when it was
1340 * created, with function elm_diskselector_item_append(). If no data
1341 * was passed as argument, it will return @c NULL.
1343 * @see elm_diskselector_item_append()
1344 * @deprecated Use elm_object_item_data_get()
1346 * @ingroup Diskselector
1348 EINA_DEPRECATED EAPI void *elm_diskselector_item_data_get(const Elm_Object_Item *it);
1351 * Set the icon associated to the item.
1353 * @param it The diskselector item
1354 * @param icon The icon object to associate with @p it
1356 * The icon object to use at left side of the item. An
1357 * icon can be any Evas object, but usually it is an icon created
1358 * with elm_icon_add().
1360 * Once the icon object is set, a previously set one will be deleted.
1361 * @warning Setting the same icon for two items will cause the icon to
1362 * dissapear from the first item.
1364 * If an icon was passed as argument on item creation, with function
1365 * elm_diskselector_item_append(), it will be already
1366 * associated to the item.
1368 * @see elm_diskselector_item_append()
1369 * @see elm_diskselector_item_icon_get()
1371 * @deprecated Use elm_object_item_part_content_set() instead
1372 * @ingroup Diskselector
1374 EINA_DEPRECATED EAPI void elm_diskselector_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
1377 * Get the icon associated to the item.
1379 * @param item The diskselector item
1380 * @return The icon associated to @p it
1382 * The return value is a pointer to the icon associated to @p item when it was
1383 * created, with function elm_diskselector_item_append(), or later
1384 * with function elm_diskselector_item_icon_set. If no icon
1385 * was passed as argument, it will return @c NULL.
1387 * @see elm_diskselector_item_append()
1388 * @see elm_diskselector_item_icon_set()
1390 * @deprecated Use elm_object_item_part_content_set() instead
1391 * @ingroup Diskselector
1393 EAPI Evas_Object *elm_diskselector_item_icon_get(const Elm_Object_Item *it);
1396 * Set the label of item.
1398 * @param it The item of diskselector.
1399 * @param label The label of item.
1401 * The label to be displayed by the item.
1403 * If no icon is set, label will be centered on item position, otherwise
1404 * the icon will be placed at left of the label, that will be shifted
1407 * An item with label "January" would be displayed on side position as
1408 * "Jan" if max length is set to 3 with function
1409 * elm_diskselector_side_label_lenght_set(), or "Janu", if this property
1412 * When this @p item is selected, the entire label will be displayed,
1413 * except for width restrictions.
1414 * In this case label will be cropped and "..." will be concatenated,
1415 * but only for display purposes. It will keep the entire string, so
1416 * if diskselector is resized the remaining characters will be displayed.
1418 * If a label was passed as argument on item creation, with function
1419 * elm_diskselector_item_append(), it will be already
1420 * displayed by the item.
1422 * @see elm_diskselector_side_label_lenght_set()
1423 * @see elm_diskselector_item_label_get()
1424 * @see elm_diskselector_item_append()
1426 * @deprecated Use elm_object_item_text_set() instead
1427 * @ingroup Diskselector
1429 EINA_DEPRECATED EAPI void elm_diskselector_item_label_set(Elm_Object_Item *it, const char *label);
1432 * Get the label of item.
1434 * @param it The item of diskselector.
1435 * @return The label of item.
1437 * The return value is a pointer to the label associated to @p item when it was
1438 * created, with function elm_diskselector_item_append(), or later
1439 * with function elm_diskselector_item_label_set. If no label
1440 * was passed as argument, it will return @c NULL.
1442 * @see elm_diskselector_item_label_set() for more details.
1443 * @see elm_diskselector_item_append()
1444 * @use elm_object_item_text_get()
1446 * @ingroup Diskselector
1448 EINA_DEPRECATED EAPI const char *elm_diskselector_item_label_get(const Elm_Object_Item *it);
1451 * Set the function called when a diskselector item is freed.
1453 * @param it The item to set the callback on
1454 * @param func The function called
1456 * If there is a @p func, then it will be called prior item's memory release.
1457 * That will be called with the following arguments:
1459 * @li item's Evas object;
1462 * This way, a data associated to a diskselector item could be properly
1464 * @deprecated Use elm_object_item_del_cb_set() instead
1466 * @ingroup Diskselector
1468 EINA_DEPRECATED EAPI void elm_diskselector_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
1471 * Delete them item from the diskselector.
1473 * @param it The item of diskselector to be deleted.
1475 * If deleting all diskselector items is required, elm_diskselector_clear()
1476 * should be used instead of getting items list and deleting each one.
1478 * @deprecated Use elm_object_item_del() instead
1479 * @see elm_diskselector_clear()
1480 * @see elm_diskselector_item_append()
1482 * @ingroup Diskselector
1484 EINA_DEPRECATED EAPI void elm_diskselector_item_del(Elm_Object_Item *it);
1487 * Set the text to be shown in the diskselector item.
1489 * @param it Target item
1490 * @param text The text to set in the content
1492 * Setup the text as tooltip to object. The item can have only one tooltip,
1493 * so any previous tooltip data is removed.
1495 * @deprecated Use elm_object_item_tooltip_text_set() instead
1496 * @see elm_object_tooltip_text_set() for more details.
1498 * @ingroup Diskselector
1500 EINA_DEPRECATED EAPI void elm_diskselector_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
1503 * Set the content to be shown in the tooltip item.
1505 * Setup the tooltip to item. The item can have only one tooltip,
1506 * so any previous tooltip data is removed. @p func(with @p data) will
1507 * be called every time that need show the tooltip and it should
1508 * return a valid Evas_Object. This object is then managed fully by
1509 * tooltip system and is deleted when the tooltip is gone.
1511 * @param it the diskselector item being attached a tooltip.
1512 * @param func the function used to create the tooltip contents.
1513 * @param data what to provide to @a func as callback data/context.
1514 * @param del_cb called when data is not needed anymore, either when
1515 * another callback replaces @p func, the tooltip is unset with
1516 * elm_diskselector_item_tooltip_unset() or the owner @a item
1517 * dies. This callback receives as the first parameter the
1518 * given @a data, and @c event_info is the item.
1520 * @deprecated Use elm_object_item_tooltip_content_cb_set() instead
1521 * @see elm_object_tooltip_content_cb_set() for more details.
1523 * @ingroup Diskselector
1525 EINA_DEPRECATED EAPI void elm_diskselector_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);
1528 * Unset tooltip from item.
1530 * @param it diskselector item to remove previously set tooltip.
1532 * Remove tooltip from item. The callback provided as del_cb to
1533 * elm_diskselector_item_tooltip_content_cb_set() will be called to notify
1534 * it is not used anymore.
1536 * @deprecated Use elm_object_item_tooltip_unset() instead
1537 * @see elm_object_tooltip_unset() for more details.
1538 * @see elm_diskselector_item_tooltip_content_cb_set()
1540 * @ingroup Diskselector
1542 EINA_DEPRECATED EAPI void elm_diskselector_item_tooltip_unset(Elm_Object_Item *it);
1545 * Sets a different style for this item tooltip.
1547 * @note before you set a style you should define a tooltip with
1548 * elm_diskselector_item_tooltip_content_cb_set() or
1549 * elm_diskselector_item_tooltip_text_set()
1551 * @param it diskselector item with tooltip already set.
1552 * @param style the theme style to use (default, transparent, ...)
1554 * @deprecated Use elm_object_item_tooltip_style_set() instead
1555 * @see elm_object_tooltip_style_set() for more details.
1557 * @ingroup Diskselector
1559 EINA_DEPRECATED EAPI void elm_diskselector_item_tooltip_style_set(Elm_Object_Item *it, const char *style);
1562 * Get the style for this item tooltip.
1564 * @param it diskselector item with tooltip already set.
1565 * @return style the theme style in use, defaults to "default". If the
1566 * object does not have a tooltip set, then NULL is returned.
1568 * @deprecated Use elm_object_item_tooltip_style_get() instead
1569 * @see elm_object_tooltip_style_get() for more details.
1570 * @see elm_diskselector_item_tooltip_style_set()
1572 * @ingroup Diskselector
1574 EINA_DEPRECATED EAPI const char *elm_diskselector_item_tooltip_style_get(const Elm_Object_Item *it);
1576 EINA_DEPRECATED EAPI void elm_factory_content_set(Evas_Object *obj, Evas_Object *content);
1577 EINA_DEPRECATED EAPI Evas_Object *elm_factory_content_get(const Evas_Object *obj);
1580 * Get the label of a given flip selector widget's item.
1582 * @param it The item to get label from
1583 * @return The text label of @p item or @c NULL, on errors
1585 * @see elm_object_item_text_set()
1587 * @deprecated see elm_object_item_text_get() instead
1588 * @ingroup Flipselector
1590 EINA_DEPRECATED EAPI const char *elm_flipselector_item_label_get(const Elm_Object_Item *it);
1593 * Set the label of a given flip selector widget's item.
1595 * @param it The item to set label on
1596 * @param label The text label string, in UTF-8 encoding
1598 * @see elm_object_item_text_get()
1600 * @deprecated see elm_object_item_text_set() instead
1601 * @ingroup Flipselector
1603 EINA_DEPRECATED EAPI void elm_flipselector_item_label_set(Elm_Object_Item *it, const char *label);
1606 * Delete a given item from a flip selector widget.
1608 * @param it The item to delete
1610 * @deprecated Use elm_object_item_del() instead
1611 * @ingroup Flipselector
1613 EINA_DEPRECATED EAPI void elm_flipselector_item_del(Elm_Object_Item *it);
1616 * Make a given Elementary object the focused one.
1618 * @param obj The Elementary object to make focused.
1620 * @note This object, if it can handle focus, will take the focus
1621 * away from the one who had it previously and will, for now on, be
1622 * the one receiving input events.
1624 * @see elm_object_focus_get()
1625 * @deprecated use elm_object_focus_set() instead.
1629 EINA_DEPRECATED EAPI void elm_object_focus(Evas_Object *obj);
1632 * Remove the focus from an Elementary object
1634 * @param obj The Elementary to take focus from
1636 * This removes the focus from @p obj, passing it back to the
1637 * previous element in the focus chain list.
1639 * @see elm_object_focus() and elm_object_focus_custom_chain_get()
1640 * @deprecated use elm_object_focus_set() instead.
1644 EINA_DEPRECATED EAPI void elm_object_unfocus(Evas_Object *obj);
1647 * @brief Set the frame label
1649 * @param obj The frame object
1650 * @param label The label of this frame object
1652 * @deprecated use elm_object_text_set() instead.
1654 EINA_DEPRECATED EAPI void elm_frame_label_set(Evas_Object *obj, const char *label);
1657 * @brief Get the frame label
1659 * @param obj The frame object
1661 * @return The label of this frame objet or NULL if unable to get frame
1663 * @deprecated use elm_object_text_get() instead.
1665 EINA_DEPRECATED EAPI const char *elm_frame_label_get(const Evas_Object *obj);
1668 * @brief Set the content of the frame widget
1670 * Once the content object is set, a previously set one will be deleted.
1671 * If you want to keep that old content object, use the
1672 * elm_frame_content_unset() function.
1674 * @param obj The frame object
1675 * @param content The content will be filled in this frame object
1677 * @deprecated use elm_object_content_set() instead.
1679 EINA_DEPRECATED EAPI void elm_frame_content_set(Evas_Object *obj, Evas_Object *content);
1682 * @brief Get the content of the frame widget
1684 * Return the content object which is set for this widget
1686 * @param obj The frame object
1687 * @return The content that is being used
1689 * @deprecated use elm_object_content_get() instead.
1691 EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj);
1694 * @brief Unset the content of the frame widget
1696 * Unparent and return the content object which was set for this widget
1698 * @param obj The frame object
1699 * @return The content that was being used
1701 * @deprecated use elm_object_content_unset() instead.
1703 EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj);
1705 EINA_DEPRECATED EAPI void elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode);
1706 EINA_DEPRECATED EAPI Elm_List_Mode elm_genlist_horizontal_mode_get(const Evas_Object *obj);
1707 EINA_DEPRECATED EAPI void elm_genlist_item_icons_orphan(Elm_Genlist_Item *it);
1709 #define ELM_IMAGE_ROTATE_90_CW 1
1710 #define ELM_IMAGE_ROTATE_180_CW 2
1711 #define ELM_IMAGE_ROTATE_90_CCW 3
1714 * Return the data associated with a given index widget item
1716 * @param it The index widget item handle
1717 * @return The data associated with @p it
1718 * @deprecated Use elm_object_item_data_get() instead
1720 * @see elm_index_item_data_set()
1724 EINA_DEPRECATED EAPI void *elm_index_item_data_get(const Elm_Object_Item *item);
1727 * Set the data associated with a given index widget item
1729 * @param it The index widget item handle
1730 * @param data The new data pointer to set to @p it
1732 * This sets new item data on @p it.
1734 * @warning The old data pointer won't be touched by this function, so
1735 * the user had better to free that old data himself/herself.
1737 * @deprecated Use elm_object_item_data_set() instead
1740 EINA_DEPRECATED EAPI void elm_index_item_data_set(Elm_Object_Item *it, const void *data);
1743 * Set the function to be called when a given index widget item is freed.
1745 * @param it The item to set the callback on
1746 * @param func The function to call on the item's deletion
1748 * When called, @p func will have both @c data and @c event_info
1749 * arguments with the @p it item's data value and, naturally, the
1750 * @c obj argument with a handle to the parent index widget.
1752 * @deprecated Use elm_object_item_del_cb_set() instead
1755 EINA_DEPRECATED EAPI void elm_index_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
1758 * Remove an item from a given index widget, <b>to be referenced by
1759 * it's data value</b>.
1761 * @param obj The index object
1762 * @param item The item to be removed from @p obj
1764 * If a deletion callback is set, via elm_object_item_del_cb_set(),
1765 * that callback function will be called by this one.
1767 * @deprecated Use elm_object_item_del() instead
1770 EINA_DEPRECATED EAPI void elm_index_item_del(Evas_Object *obj, Elm_Object_Item *item);
1773 * @brief Set the label on the label object
1775 * @param obj The label object
1776 * @param label The label will be used on the label object
1777 * @deprecated See elm_object_text_set()
1779 EINA_DEPRECATED EAPI void elm_label_label_set(Evas_Object *obj, const char *label);
1782 * @brief Get the label used on the label object
1784 * @param obj The label object
1785 * @return The string inside the label
1786 * @deprecated See elm_object_text_get()
1788 EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj);
1792 * Set the layout content.
1794 * @param obj The layout object
1795 * @param swallow The swallow part name in the edje file
1796 * @param content The child that will be added in this layout object
1798 * Once the content object is set, a previously set one will be deleted.
1799 * If you want to keep that old content object, use the
1800 * elm_object_part_content_unset() function.
1802 * @note In an Edje theme, the part used as a content container is called @c
1803 * SWALLOW. This is why the parameter name is called @p swallow, but it is
1804 * expected to be a part name just like the second parameter of
1805 * elm_layout_box_append().
1807 * @see elm_layout_box_append()
1808 * @see elm_object_part_content_get()
1809 * @see elm_object_part_content_unset()
1811 * @deprecated use elm_object_part_content_set() instead
1815 EINA_DEPRECATED EAPI void elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
1818 * Get the child object in the given content part.
1820 * @param obj The layout object
1821 * @param swallow The SWALLOW part to get its content
1823 * @return The swallowed object or NULL if none or an error occurred
1825 * @deprecated use elm_object_part_content_get() instead
1829 EINA_DEPRECATED EAPI Evas_Object *elm_layout_content_get(const Evas_Object *obj, const char *swallow);
1832 * Unset the layout content.
1834 * @param obj The layout object
1835 * @param swallow The swallow part name in the edje file
1836 * @return The content that was being used
1838 * Unparent and return the content object which was set for this part.
1840 * @deprecated use elm_object_part_content_unset() instead
1844 EINA_DEPRECATED EAPI Evas_Object *elm_layout_content_unset(Evas_Object *obj, const char *swallow);
1847 * Set the text of the given part
1849 * @param obj The layout object
1850 * @param part The TEXT part where to set the text
1851 * @param text The text to set
1854 * @deprecated use elm_object_part_text_set() instead.
1856 EINA_DEPRECATED EAPI void elm_layout_text_set(Evas_Object *obj, const char *part, const char *text);
1859 * Get the text set in the given part
1861 * @param obj The layout object
1862 * @param part The TEXT part to retrieve the text off
1864 * @return The text set in @p part
1867 * @deprecated use elm_object_part_text_get() instead.
1869 EINA_DEPRECATED EAPI const char *elm_layout_text_get(const Evas_Object *obj, const char *part);
1872 * @def elm_layout_label_set
1873 * Convienience macro to set the label in a layout that follows the
1874 * Elementary naming convention for its parts.
1877 * @deprecated use elm_object_text_set() instead.
1879 #define elm_layout_label_set(_ly, _txt) \
1880 elm_layout_text_set((_ly), "elm.text", (_txt))
1883 * @def elm_layout_label_get
1884 * Convenience macro to get the label in a layout that follows the
1885 * Elementary naming convention for its parts.
1888 * @deprecated use elm_object_text_set() instead.
1890 #define elm_layout_label_get(_ly) \
1891 elm_layout_text_get((_ly), "elm.text")
1893 EINA_DEPRECATED EAPI Evas_Object *elm_list_item_base_get(const Elm_Object_Item *it);
1897 * Set the content of the mapbuf.
1899 * @param obj The mapbuf object.
1900 * @param content The content that will be filled in this mapbuf object.
1902 * Once the content object is set, a previously set one will be deleted.
1903 * If you want to keep that old content object, use the
1904 * elm_mapbuf_content_unset() function.
1906 * To enable map, elm_mapbuf_enabled_set() should be used.
1908 * @deprecated use elm_object_content_set() instead
1912 EINA_DEPRECATED EAPI void elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content);
1915 * Get the content of the mapbuf.
1917 * @param obj The mapbuf object.
1918 * @return The content that is being used.
1920 * Return the content object which is set for this widget.
1922 * @see elm_mapbuf_content_set() for details.
1924 * @deprecated use elm_object_content_get() instead
1928 EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj);
1931 * Unset the content of the mapbuf.
1933 * @param obj The mapbuf object.
1934 * @return The content that was being used.
1936 * Unparent and return the content object which was set for this widget.
1938 * @see elm_mapbuf_content_set() for details.
1940 * @deprecated use elm_object_content_unset() instead
1944 EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj);
1947 * @brief Set the label of a menu item
1949 * @param it The menu item object.
1950 * @param label The label to set for @p item
1952 * @warning Don't use this funcion on items created with
1953 * elm_menu_item_add_object() or elm_menu_item_separator_add().
1955 * @deprecated Use elm_object_item_text_set() instead
1957 EINA_DEPRECATED EAPI void elm_menu_item_label_set(Elm_Object_Item *it, const char *label);
1960 * @brief Get the label of a menu item
1962 * @param it The menu item object.
1963 * @return The label of @p item
1964 * @deprecated Use elm_object_item_text_get() instead
1966 EINA_DEPRECATED EAPI const char *elm_menu_item_label_get(const Elm_Object_Item *it);
1969 * @brief Set the content object of a menu item
1971 * @param it The menu item object
1972 * @param The content object or NULL
1973 * @return EINA_TRUE on success, else EINA_FALSE
1975 * Use this function to change the object swallowed by a menu item, deleting
1976 * any previously swallowed object.
1978 * @deprecated Use elm_object_item_content_set() instead
1980 EINA_DEPRECATED EAPI Eina_Bool elm_menu_item_object_content_set(Elm_Object_Item *it, Evas_Object *obj);
1983 * @brief Get the content object of a menu item
1985 * @param it The menu item object
1986 * @return The content object or NULL
1987 * @note If @p item was added with elm_menu_item_add_object, this
1988 * function will return the object passed, else it will return the
1991 * @see elm_menu_item_object_content_set()
1993 * @deprecated Use elm_object_item_content_get() instead
1995 EINA_DEPRECATED EAPI Evas_Object *elm_menu_item_object_content_get(const Elm_Object_Item *it);
1998 * @brief Set the disabled state of @p item.
2000 * @param it The menu item object.
2001 * @param disabled The enabled/disabled state of the item
2002 * @deprecated Use elm_object_item_disabled_set() instead
2004 EINA_DEPRECATED EAPI void elm_menu_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
2007 * @brief Get the disabled state of @p item.
2009 * @param it The menu item object.
2010 * @return The enabled/disabled state of the item
2012 * @see elm_menu_item_disabled_set()
2013 * @deprecated Use elm_object_item_disabled_get() instead
2015 EINA_DEPRECATED EAPI Eina_Bool elm_menu_item_disabled_get(const Elm_Object_Item *it);
2018 * @brief Returns the data associated with menu item @p item.
2020 * @param it The item
2021 * @return The data associated with @p item or NULL if none was set.
2023 * This is the data set with elm_menu_add() or elm_menu_item_data_set().
2025 * @deprecated Use elm_object_item_data_get() instead
2027 EINA_DEPRECATED EAPI void *elm_menu_item_data_get(const Elm_Object_Item *it);
2030 * @brief Set the function called when a menu item is deleted.
2032 * @param it The item to set the callback on
2033 * @param func The function called
2035 * @see elm_menu_item_add()
2036 * @see elm_menu_item_del()
2037 * @deprecated Use elm_object_item_del_cb_set() instead
2039 EINA_DEPRECATED EAPI void elm_menu_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
2042 * @brief Sets the data to be associated with menu item @p item.
2044 * @param it The item
2045 * @param data The data to be associated with @p item
2047 * @deprecated Use elm_object_item_data_set() instead
2049 EINA_DEPRECATED EAPI void elm_menu_item_data_set(Elm_Object_Item *it, const void *data);
2052 * @brief Deletes an item from the menu.
2054 * @param it The item to delete.
2056 * @deprecated Use elm_object_item_del() instead
2057 * @see elm_menu_item_add()
2059 EINA_DEPRECATED EAPI void elm_menu_item_del(Elm_Object_Item *it);
2062 * @brief Set the content of the notify widget
2064 * @param obj The notify object
2065 * @param content The content will be filled in this notify object
2067 * Once the content object is set, a previously set one will be deleted. If
2068 * you want to keep that old content object, use the
2069 * elm_notify_content_unset() function.
2071 * @deprecated use elm_object_content_set() instead
2074 EINA_DEPRECATED EAPI void elm_notify_content_set(Evas_Object *obj, Evas_Object *content);
2077 * @brief Unset the content of the notify widget
2079 * @param obj The notify object
2080 * @return The content that was being used
2082 * Unparent and return the content object which was set for this widget
2084 * @see elm_notify_content_set()
2085 * @deprecated use elm_object_content_unset() instead
2088 EINA_DEPRECATED EAPI Evas_Object *elm_notify_content_unset(Evas_Object *obj);
2091 * @brief Return the content of the notify widget
2093 * @param obj The notify object
2094 * @return The content that is being used
2096 * @see elm_notify_content_set()
2097 * @deprecated use elm_object_content_get() instead
2100 EINA_DEPRECATED EAPI Evas_Object *elm_notify_content_get(const Evas_Object *obj);
2103 * Set a label of an object
2105 * @param obj The Elementary object
2106 * @param part The text part name to set (NULL for the default label)
2107 * @param label The new text of the label
2109 * @note Elementary objects may have many labels (e.g. Action Slider)
2110 * @deprecated Use elm_object_part_text_set() instead.
2113 EINA_DEPRECATED EAPI void elm_object_text_part_set(Evas_Object *obj, const char *part, const char *label);
2116 * Get a label of an object
2118 * @param obj The Elementary object
2119 * @param part The text part name to get (NULL for the default label)
2120 * @return text of the label or NULL for any error
2122 * @note Elementary objects may have many labels (e.g. Action Slider)
2123 * @deprecated Use elm_object_part_text_get() instead.
2126 EINA_DEPRECATED EAPI const char *elm_object_text_part_get(const Evas_Object *obj, const char *part);
2129 * Set a content of an object
2131 * @param obj The Elementary object
2132 * @param part The content part name to set (NULL for the default content)
2133 * @param content The new content of the object
2135 * @note Elementary objects may have many contents
2136 * @deprecated Use elm_object_part_content_set instead.
2139 EINA_DEPRECATED EAPI void elm_object_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
2142 * Get a content of an object
2144 * @param obj The Elementary object
2145 * @param part The content part name to get (NULL for the default content)
2146 * @return content of the object or NULL for any error
2148 * @note Elementary objects may have many contents
2149 * @deprecated Use elm_object_part_content_get instead.
2152 EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_get(const Evas_Object *obj, const char *part);
2155 * Unset a content of an object
2157 * @param obj The Elementary object
2158 * @param part The content part name to unset (NULL for the default content)
2160 * @note Elementary objects may have many contents
2161 * @deprecated Use elm_object_part_content_unset instead.
2164 EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_unset(Evas_Object *obj, const char *part);
2167 * Set a content of an object item
2169 * @param it The Elementary object item
2170 * @param part The content part name to set (NULL for the default content)
2171 * @param content The new content of the object item
2173 * @note Elementary object items may have many contents
2174 * @deprecated Use elm_object_item_part_content_set instead.
2177 EINA_DEPRECATED EAPI void elm_object_item_content_part_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
2180 * Get a content of an object item
2182 * @param it The Elementary object item
2183 * @param part The content part name to unset (NULL for the default content)
2184 * @return content of the object item or NULL for any error
2186 * @note Elementary object items may have many contents
2187 * @deprecated Use elm_object_item_part_content_get instead.
2190 EINA_DEPRECATED EAPI Evas_Object *elm_object_item_content_part_get(const Elm_Object_Item *it, const char *part);
2193 * Unset a content of an object item
2195 * @param it The Elementary object item
2196 * @param part The content part name to unset (NULL for the default content)
2198 * @note Elementary object items may have many contents
2199 * @deprecated Use elm_object_item_part_content_unset instead.
2202 EINA_DEPRECATED EAPI Evas_Object *elm_object_item_content_part_unset(Elm_Object_Item *it, const char *part);
2205 * Get a label of an object item
2207 * @param it The Elementary object item
2208 * @param part The text part name to get (NULL for the default label)
2209 * @return text of the label or NULL for any error
2211 * @note Elementary object items may have many labels
2212 * @deprecated Use elm_object_item_part_text_get instead.
2215 EINA_DEPRECATED EAPI const char *elm_object_item_text_part_get(const Elm_Object_Item *it, const char *part);
2218 * Set a label of an object item
2220 * @param it The Elementary object item
2221 * @param part The text part name to set (NULL for the default label)
2222 * @param label The new text of the label
2224 * @note Elementary object items may have many labels
2225 * @deprecated Use elm_object_item_part_text_set instead.
2228 EINA_DEPRECATED EAPI void elm_object_item_text_part_set(Elm_Object_Item *it, const char *part, const char *label);
2231 * @brief Set the content of the panel.
2233 * @param obj The panel object
2234 * @param content The panel content
2236 * Once the content object is set, a previously set one will be deleted.
2237 * If you want to keep that old content object, use the
2238 * elm_panel_content_unset() function.
2240 * @deprecated use elm_object_content_set() instead
2243 EINA_DEPRECATED EAPI void elm_panel_content_set(Evas_Object *obj, Evas_Object *content);
2246 * @brief Get the content of the panel.
2248 * @param obj The panel object
2249 * @return The content that is being used
2251 * Return the content object which is set for this widget.
2253 * @see elm_panel_content_set()
2255 * @deprecated use elm_object_content_get() instead
2258 EINA_DEPRECATED EAPI Evas_Object *elm_panel_content_get(const Evas_Object *obj);
2261 * @brief Unset the content of the panel.
2263 * @param obj The panel object
2264 * @return The content that was being used
2266 * Unparent and return the content object which was set for this widget.
2268 * @see elm_panel_content_set()
2270 * @deprecated use elm_object_content_unset() instead
2273 EINA_DEPRECATED EAPI Evas_Object *elm_panel_content_unset(Evas_Object *obj);
2276 * Set the left content of the panes widget.
2278 * @param obj The panes object.
2279 * @param content The new left content object.
2281 * Once the content object is set, a previously set one will be deleted.
2282 * If you want to keep that old content object, use the
2283 * elm_panes_content_left_unset() function.
2285 * If panes is displayed vertically, left content will be displayed at
2288 * @see elm_panes_content_left_get()
2289 * @see elm_panes_content_right_set() to set content on the other side.
2291 * @deprecated use elm_object_part_content_set() instead
2295 EINA_DEPRECATED EAPI void elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content);
2298 * Set the right content of the panes widget.
2300 * @param obj The panes object.
2301 * @param content The new right content object.
2303 * Once the content object is set, a previously set one will be deleted.
2304 * If you want to keep that old content object, use the
2305 * elm_panes_content_right_unset() function.
2307 * If panes is displayed vertically, left content will be displayed at
2310 * @see elm_panes_content_right_get()
2311 * @see elm_panes_content_left_set() to set content on the other side.
2313 * @deprecated use elm_object_part_content_set() instead
2317 EINA_DEPRECATED EAPI void elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content);
2320 * Get the left content of the panes.
2322 * @param obj The panes object.
2323 * @return The left content object that is being used.
2325 * Return the left content object which is set for this widget.
2327 * @see elm_panes_content_left_set() for details.
2329 * @deprecated use elm_object_part_content_get() instead
2333 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_left_get(const Evas_Object *obj);
2336 * Get the right content of the panes.
2338 * @param obj The panes object
2339 * @return The right content object that is being used
2341 * Return the right content object which is set for this widget.
2343 * @see elm_panes_content_right_set() for details.
2345 * @deprecated use elm_object_part_content_get() instead
2349 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_right_get(const Evas_Object *obj);
2352 * Unset the left content used for the panes.
2354 * @param obj The panes object.
2355 * @return The left content object that was being used.
2357 * Unparent and return the left content object which was set for this widget.
2359 * @see elm_panes_content_left_set() for details.
2360 * @see elm_panes_content_left_get().
2362 * @deprecated use elm_object_part_content_unset() instead
2366 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_left_unset(Evas_Object *obj);
2369 * Unset the right content used for the panes.
2371 * @param obj The panes object.
2372 * @return The right content object that was being used.
2374 * Unparent and return the right content object which was set for this
2377 * @see elm_panes_content_right_set() for details.
2378 * @see elm_panes_content_right_get().
2380 * @deprecated use elm_object_part_content_unset() instead
2384 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_right_unset(Evas_Object *obj);
2386 * Set the label of a given progress bar widget
2388 * @param obj The progress bar object
2389 * @param label The text label string, in UTF-8
2391 * @ingroup Progressbar
2392 * @deprecated use elm_object_text_set() instead.
2394 EINA_DEPRECATED EAPI void elm_progressbar_label_set(Evas_Object *obj, const char *label);
2397 * Get the label of a given progress bar widget
2399 * @param obj The progressbar object
2400 * @return The text label string, in UTF-8
2402 * @ingroup Progressbar
2403 * @deprecated use elm_object_text_set() instead.
2405 EINA_DEPRECATED EAPI const char *elm_progressbar_label_get(const Evas_Object *obj);
2408 * Set the icon object of a given progress bar widget
2410 * @param obj The progress bar object
2411 * @param icon The icon object
2413 * Use this call to decorate @p obj with an icon next to it.
2415 * @note Once the icon object is set, a previously set one will be
2416 * deleted. If you want to keep that old content object, use the
2417 * elm_progressbar_icon_unset() function.
2419 * @see elm_progressbar_icon_get()
2420 * @deprecated use elm_object_part_content_set() instead.
2422 * @ingroup Progressbar
2424 EINA_DEPRECATED EAPI void elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon);
2427 * Retrieve the icon object set for a given progress bar widget
2429 * @param obj The progress bar object
2430 * @return The icon object's handle, if @p obj had one set, or @c NULL,
2431 * otherwise (and on errors)
2433 * @see elm_progressbar_icon_set() for more details
2434 * @deprecated use elm_object_part_content_get() instead.
2436 * @ingroup Progressbar
2438 EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj);
2441 * Unset an icon set on a given progress bar widget
2443 * @param obj The progress bar object
2444 * @return The icon object that was being used, if any was set, or
2445 * @c NULL, otherwise (and on errors)
2447 * This call will unparent and return the icon object which was set
2448 * for this widget, previously, on success.
2450 * @see elm_progressbar_icon_set() for more details
2451 * @deprecated use elm_object_part_content_unset() instead.
2453 * @ingroup Progressbar
2455 EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj);
2458 * @brief Set the text label of the radio object
2460 * @param obj The radio object
2461 * @param label The text label string in UTF-8
2463 * @deprecated use elm_object_text_set() instead.
2465 EINA_DEPRECATED EAPI void elm_radio_label_set(Evas_Object *obj, const char *label);
2468 * @brief Get the text label of the radio object
2470 * @param obj The radio object
2471 * @return The text label string in UTF-8
2473 * @deprecated use elm_object_text_set() instead.
2475 EINA_DEPRECATED EAPI const char *elm_radio_label_get(const Evas_Object *obj);
2478 * @brief Set the icon object of the radio object
2480 * @param obj The radio object
2481 * @param icon The icon object
2483 * Once the icon object is set, a previously set one will be deleted. If you
2484 * want to keep that old content object, use the elm_radio_icon_unset()
2487 * @deprecated use elm_object_part_content_set() instead.
2490 EINA_DEPRECATED EAPI void elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon);
2493 * @brief Get the icon object of the radio object
2495 * @param obj The radio object
2496 * @return The icon object
2498 * @see elm_radio_icon_set()
2500 * @deprecated use elm_object_part_content_get() instead.
2503 EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj);
2506 * @brief Unset the icon used for the radio object
2508 * @param obj The radio object
2509 * @return The icon object that was being used
2511 * Unparent and return the icon object which was set for this widget.
2513 * @see elm_radio_icon_set()
2514 * @deprecated use elm_object_part_content_unset() instead.
2517 EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj);
2520 * @brief Set the content of the scroller widget (the object to be scrolled around).
2522 * @param obj The scroller object
2523 * @param content The new content object
2525 * Once the content object is set, a previously set one will be deleted.
2526 * If you want to keep that old content object, use the
2527 * elm_scroller_content_unset() function.
2528 * @deprecated use elm_object_content_set() instead
2530 EINA_DEPRECATED EAPI void elm_scroller_content_set(Evas_Object *obj, Evas_Object *child);
2533 * @brief Get the content of the scroller widget
2535 * @param obj The slider object
2536 * @return The content that is being used
2538 * Return the content object which is set for this widget
2540 * @see elm_scroller_content_set()
2541 * @deprecated use elm_object_content_get() instead.
2543 EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj);
2546 * @brief Unset the content of the scroller widget
2548 * @param obj The slider object
2549 * @return The content that was being used
2551 * Unparent and return the content object which was set for this widget
2553 * @see elm_scroller_content_set()
2554 * @deprecated use elm_object_content_unset() instead.
2556 EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj);
2559 * Set the label of a given slider widget
2561 * @param obj The progress bar object
2562 * @param label The text label string, in UTF-8
2565 * @deprecated use elm_object_text_set() instead.
2567 EINA_DEPRECATED EAPI void elm_slider_label_set(Evas_Object *obj, const char *label);
2570 * Get the label of a given slider widget
2572 * @param obj The progressbar object
2573 * @return The text label string, in UTF-8
2576 * @deprecated use elm_object_text_get() instead.
2578 EINA_DEPRECATED EAPI const char *elm_slider_label_get(const Evas_Object *obj);
2581 * Set the icon object of the slider object.
2583 * @param obj The slider object.
2584 * @param icon The icon object.
2586 * On horizontal mode, icon is placed at left, and on vertical mode,
2589 * @note Once the icon object is set, a previously set one will be deleted.
2590 * If you want to keep that old content object, use the
2591 * elm_slider_icon_unset() function.
2593 * @warning If the object being set does not have minimum size hints set,
2594 * it won't get properly displayed.
2597 * @deprecated use elm_object_part_content_set() instead.
2599 EINA_DEPRECATED EAPI void elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon);
2602 * Unset an icon set on a given slider widget.
2604 * @param obj The slider object.
2605 * @return The icon object that was being used, if any was set, or
2606 * @c NULL, otherwise (and on errors).
2608 * On horizontal mode, icon is placed at left, and on vertical mode,
2611 * This call will unparent and return the icon object which was set
2612 * for this widget, previously, on success.
2614 * @see elm_slider_icon_set() for more details
2615 * @see elm_slider_icon_get()
2616 * @deprecated use elm_object_part_content_unset() instead.
2620 EINA_DEPRECATED EAPI Evas_Object *elm_slider_icon_unset(Evas_Object *obj);
2623 * Retrieve the icon object set for a given slider widget.
2625 * @param obj The slider object.
2626 * @return The icon object's handle, if @p obj had one set, or @c NULL,
2627 * otherwise (and on errors).
2629 * On horizontal mode, icon is placed at left, and on vertical mode,
2632 * @see elm_slider_icon_set() for more details
2633 * @see elm_slider_icon_unset()
2635 * @deprecated use elm_object_part_content_get() instead.
2639 EINA_DEPRECATED EAPI Evas_Object *elm_slider_icon_get(const Evas_Object *obj);
2642 * Set the end object of the slider object.
2644 * @param obj The slider object.
2645 * @param end The end object.
2647 * On horizontal mode, end is placed at left, and on vertical mode,
2650 * @note Once the icon object is set, a previously set one will be deleted.
2651 * If you want to keep that old content object, use the
2652 * elm_slider_end_unset() function.
2654 * @warning If the object being set does not have minimum size hints set,
2655 * it won't get properly displayed.
2657 * @deprecated use elm_object_part_content_set() instead.
2661 EINA_DEPRECATED EAPI void elm_slider_end_set(Evas_Object *obj, Evas_Object *end);
2664 * Unset an end object set on a given slider widget.
2666 * @param obj The slider object.
2667 * @return The end object that was being used, if any was set, or
2668 * @c NULL, otherwise (and on errors).
2670 * On horizontal mode, end is placed at left, and on vertical mode,
2673 * This call will unparent and return the icon object which was set
2674 * for this widget, previously, on success.
2676 * @see elm_slider_end_set() for more details.
2677 * @see elm_slider_end_get()
2679 * @deprecated use elm_object_part_content_unset() instead
2684 EINA_DEPRECATED EAPI Evas_Object *elm_slider_end_unset(Evas_Object *obj);
2687 * Retrieve the end object set for a given slider widget.
2689 * @param obj The slider object.
2690 * @return The end object's handle, if @p obj had one set, or @c NULL,
2691 * otherwise (and on errors).
2693 * On horizontal mode, icon is placed at right, and on vertical mode,
2696 * @see elm_slider_end_set() for more details.
2697 * @see elm_slider_end_unset()
2700 * @deprecated use elm_object_part_content_get() instead
2705 EINA_DEPRECATED EAPI Evas_Object *elm_slider_end_get(const Evas_Object *obj);
2708 * Return the data associated with a given slideshow item
2710 * @param it The slideshow item
2711 * @return Returns the data associated to this item
2713 * @deprecated use elm_object_item_data_get() instead
2714 * @ingroup Slideshow
2716 EINA_DEPRECATED EAPI void *elm_slideshow_item_data_get(const Elm_Object_Item *it);
2719 * Delete a given item from a slideshow widget.
2721 * @param it The slideshow item
2723 * @deprecated Use elm_object_item_de() instead
2724 * @ingroup Slideshow
2726 EINA_DEPRECATED EAPI void elm_slideshow_item_del(Elm_Object_Item *it);
2729 * Get the toolbar object from an item.
2731 * @param it The item.
2732 * @return The toolbar object.
2734 * This returns the toolbar object itself that an item belongs to.
2736 * @deprecated use elm_object_item_object_get() instead.
2739 EINA_DEPRECATED EAPI Evas_Object *elm_toolbar_item_toolbar_get(const Elm_Object_Item *it);
2742 * Get the label of item.
2744 * @param it The item of toolbar.
2745 * @return The label of item.
2747 * The return value is a pointer to the label associated to @p item when
2748 * it was created, with function elm_toolbar_item_append() or similar,
2750 * with function elm_toolbar_item_label_set. If no label
2751 * was passed as argument, it will return @c NULL.
2753 * @see elm_toolbar_item_label_set() for more details.
2754 * @see elm_toolbar_item_append()
2756 * @deprecated use elm_object_item_text_get() instead.
2759 EINA_DEPRECATED EAPI const char *elm_toolbar_item_label_get(const Elm_Object_Item *it);
2762 * Set the label of item.
2764 * @param it The item of toolbar.
2765 * @param text The label of item.
2767 * The label to be displayed by the item.
2768 * Label will be placed at icons bottom (if set).
2770 * If a label was passed as argument on item creation, with function
2771 * elm_toolbar_item_append() or similar, it will be already
2772 * displayed by the item.
2774 * @see elm_toolbar_item_label_get()
2775 * @see elm_toolbar_item_append()
2777 * @deprecated use elm_object_item_text_set() instead
2780 EINA_DEPRECATED EAPI void elm_toolbar_item_label_set(Elm_Object_Item *it, const char *label);
2783 * Return the data associated with a given toolbar widget item.
2785 * @param it The toolbar widget item handle.
2786 * @return The data associated with @p item.
2788 * @see elm_toolbar_item_data_set()
2790 * @deprecated use elm_object_item_data_get() instead.
2793 EINA_DEPRECATED EAPI void *elm_toolbar_item_data_get(const Elm_Object_Item *it);
2796 * Set the data associated with a given toolbar widget item.
2798 * @param it The toolbar widget item handle
2799 * @param data The new data pointer to set to @p item.
2801 * This sets new item data on @p item.
2803 * @warning The old data pointer won't be touched by this function, so
2804 * the user had better to free that old data himself/herself.
2806 * @deprecated use elm_object_item_data_set() instead.
2809 EINA_DEPRECATED EAPI void elm_toolbar_item_data_set(Elm_Object_Item *it, const void *data);
2812 * Get a value whether toolbar item is disabled or not.
2814 * @param it The item.
2815 * @return The disabled state.
2817 * @see elm_toolbar_item_disabled_set() for more details.
2819 * @deprecated use elm_object_item_disabled_get() instead.
2822 EINA_DEPRECATED EAPI Eina_Bool elm_toolbar_item_disabled_get(const Elm_Object_Item *it);
2825 * Sets the disabled/enabled state of a toolbar item.
2827 * @param it The item.
2828 * @param disabled The disabled state.
2830 * A disabled item cannot be selected or unselected. It will also
2831 * change its appearance (generally greyed out). This sets the
2832 * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
2835 * @deprecated use elm_object_item_disabled_set() instead.
2838 EINA_DEPRECATED EAPI void elm_toolbar_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
2841 * Change a toolbar's orientation
2842 * @param obj The toolbar object
2843 * @param vertical If @c EINA_TRUE, the toolbar is vertical
2844 * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
2846 * @deprecated use elm_toolbar_horizontal_set() instead.
2848 EINA_DEPRECATED EAPI void elm_toolbar_orientation_set(Evas_Object *obj, Eina_Bool vertical);
2851 * Get a toolbar's orientation
2852 * @param obj The toolbar object
2853 * @return If @c EINA_TRUE, the toolbar is vertical
2854 * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
2856 * @deprecated use elm_toolbar_horizontal_get() instead.
2858 EINA_DEPRECATED EAPI Eina_Bool elm_toolbar_orientation_get(const Evas_Object *obj);
2861 * Set the function called when a toolbar item is freed.
2863 * @param it The item to set the callback on.
2864 * @param func The function called.
2866 * If there is a @p func, then it will be called prior item's memory release.
2867 * That will be called with the following arguments:
2869 * @li item's Evas object;
2872 * This way, a data associated to a toolbar item could be properly freed.
2874 * @deprecated Use elm_object_item_del_cb_set() instead
2877 EINA_DEPRECATED EAPI void elm_toolbar_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
2880 * Delete them item from the toolbar.
2882 * @param it The item of toolbar to be deleted.
2884 * @deprecated Use elm_object_item_del() instead
2885 * @see elm_toolbar_item_append()
2889 EINA_DEPRECATED EAPI void elm_toolbar_item_del(Elm_Object_Item *it);
2892 * Set the text to be shown in a given toolbar item's tooltips.
2894 * @param it toolbar item.
2895 * @param text The text to set in the content.
2897 * Setup the text as tooltip to object. The item can have only one tooltip,
2898 * so any previous tooltip data - set with this function or
2899 * elm_toolbar_item_tooltip_content_cb_set() - is removed.
2901 * @deprecated Use elm_object_item_tooltip_text_set() instead
2902 * @see elm_object_tooltip_text_set() for more details.
2906 EINA_DEPRECATED EAPI void elm_toolbar_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
2909 * Set the content to be shown in the tooltip item.
2911 * Setup the tooltip to item. The item can have only one tooltip,
2912 * so any previous tooltip data is removed. @p func(with @p data) will
2913 * be called every time that need show the tooltip and it should
2914 * return a valid Evas_Object. This object is then managed fully by
2915 * tooltip system and is deleted when the tooltip is gone.
2917 * @param it the toolbar item being attached a tooltip.
2918 * @param func the function used to create the tooltip contents.
2919 * @param data what to provide to @a func as callback data/context.
2920 * @param del_cb called when data is not needed anymore, either when
2921 * another callback replaces @a func, the tooltip is unset with
2922 * elm_toolbar_item_tooltip_unset() or the owner @a item
2923 * dies. This callback receives as the first parameter the
2924 * given @a data, and @c event_info is the item.
2926 * @deprecated Use elm_object_item_tooltip_content_cb_set() instead
2927 * @see elm_object_tooltip_content_cb_set() for more details.
2931 EINA_DEPRECATED EAPI void elm_toolbar_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);
2934 * Unset tooltip from item.
2936 * @param it toolbar item to remove previously set tooltip.
2938 * Remove tooltip from item. The callback provided as del_cb to
2939 * elm_toolbar_item_tooltip_content_cb_set() will be called to notify
2940 * it is not used anymore.
2942 * @deprecated Use elm_object_item_tooltip_unset() instead
2943 * @see elm_object_tooltip_unset() for more details.
2944 * @see elm_toolbar_item_tooltip_content_cb_set()
2948 EINA_DEPRECATED EAPI void elm_toolbar_item_tooltip_unset(Elm_Object_Item *it);
2951 * Sets a different style for this item tooltip.
2953 * @note before you set a style you should define a tooltip with
2954 * elm_toolbar_item_tooltip_content_cb_set() or
2955 * elm_toolbar_item_tooltip_text_set()
2957 * @param it toolbar item with tooltip already set.
2958 * @param style the theme style to use (default, transparent, ...)
2960 * @deprecated Use elm_object_item_tooltip_style_set() instead
2961 * @see elm_object_tooltip_style_set() for more details.
2965 EINA_DEPRECATED EAPI void elm_toolbar_item_tooltip_style_set(Elm_Object_Item *it, const char *style);
2968 * Get the style for this item tooltip.
2970 * @param it toolbar item with tooltip already set.
2971 * @return style the theme style in use, defaults to "default". If the
2972 * object does not have a tooltip set, then NULL is returned.
2974 * @deprecated Use elm_object_item_style_get() instead
2975 * @see elm_object_tooltip_style_get() for more details.
2976 * @see elm_toolbar_item_tooltip_style_set()
2980 EINA_DEPRECATED EAPI const char *elm_toolbar_item_tooltip_style_get(const Elm_Object_Item *it);
2983 * @brief Link a Elm_Payer with an Elm_Video object.
2985 * @param player the Elm_Player object.
2986 * @param video The Elm_Video object.
2988 * This mean that action on the player widget will affect the
2989 * video object and the state of the video will be reflected in
2990 * the player itself.
2992 * @see elm_player_add()
2993 * @see elm_video_add()
2994 * @deprecated use elm_object_part_content_set() instead
2998 EINA_DEPRECATED EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);
3001 * Set the label of item.
3003 * @param it The item of segment control.
3004 * @param text The label of item.
3006 * The label to be displayed by the item.
3007 * Label will be at right of the icon (if set).
3009 * If a label was passed as argument on item creation, with function
3010 * elm_control_segment_item_add(), it will be already
3011 * displayed by the item.
3013 * @see elm_segment_control_item_label_get()
3014 * @see elm_segment_control_item_add()
3015 * @deprecated Use elm_object_item_text_set() instead
3017 * @ingroup SegmentControl
3019 EINA_DEPRECATED EAPI void elm_segment_control_item_label_set(Elm_Object_Item *it, const char *label);
3023 * Set the icon associated to the item.
3025 * @param it The segment control item.
3026 * @param icon The icon object to associate with @p it.
3028 * The icon object to use at left side of the item. An
3029 * icon can be any Evas object, but usually it is an icon created
3030 * with elm_icon_add().
3032 * Once the icon object is set, a previously set one will be deleted.
3033 * @warning Setting the same icon for two items will cause the icon to
3034 * dissapear from the first item.
3036 * If an icon was passed as argument on item creation, with function
3037 * elm_segment_control_item_add(), it will be already
3038 * associated to the item.
3040 * @see elm_segment_control_item_add()
3041 * @see elm_segment_control_item_icon_get()
3042 * @deprecated Use elm_object_item_part_content_set() instead
3044 * @ingroup SegmentControl
3046 EINA_DEPRECATED EAPI void elm_segment_control_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
3049 * Remove a segment control item from its parent, deleting it.
3051 * @param it The item to be removed.
3053 * Items can be added with elm_segment_control_item_add() or
3054 * elm_segment_control_item_insert_at().
3056 * @deprecated Use elm_object_item_del() instead
3057 * @ingroup SegmentControl
3059 EINA_DEPRECATED EAPI void elm_segment_control_item_del(Elm_Object_Item *it);
3064 * @param obj The multibuttonentry object
3065 * @return The label, or NULL if none
3067 * @deprecated Use elm_object_text_get() instead
3070 EINA_DEPRECATED EAPI const char *elm_multibuttonentry_label_get(const Evas_Object *obj);
3075 * @param obj The multibuttonentry object
3076 * @param label The text label string
3078 * @deprecated Use elm_object_text_set() instead
3081 EINA_DEPRECATED EAPI void elm_multibuttonentry_label_set(Evas_Object *obj, const char *label);
3084 * Get the label of a given item
3086 * @param it The item
3087 * @return The label of a given item, or NULL if none
3089 * @deprecated Use elm_object_item_text_get() instead
3092 EINA_DEPRECATED EAPI const char *elm_multibuttonentry_item_label_get(const Elm_Object_Item *it);
3095 * Set the label of a given item
3097 * @param it The item
3098 * @param str The text label string
3100 * @deprecated Use elm_object_item_text_set() instead
3102 EINA_DEPRECATED EAPI void elm_multibuttonentry_item_label_set(Elm_Object_Item *it, const char *str);
3105 * Delete a given item
3107 * @param it The item
3109 * @deprecated Use elm_object_item_del() instead
3112 EINA_DEPRECATED EAPI void elm_multibuttonentry_item_del(Elm_Object_Item *it);
3115 * @brief Delete the given item instantly.
3117 * @param it The naviframe item
3119 * This just deletes the given item from the naviframe item list instantly.
3120 * So this would not emit any signals for view transitions but just change
3121 * the current view if the given item is a top one.
3123 * @deprecated Use elm_object_item_del() instead
3124 * @ingroup Naviframe
3126 EINA_DEPRECATED EAPI void elm_naviframe_item_del(Elm_Object_Item *it);
3131 * Sets the disabled/enabled state of a list item.
3133 * @param it The item.
3134 * @param disabled The disabled state.
3136 * A disabled item cannot be selected or unselected. It will also
3137 * change its appearance (generally greyed out). This sets the
3138 * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
3141 * @deprecated Use elm_object_item_disabled_set() instead
3145 EINA_DEPRECATED EAPI void elm_list_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
3148 * Get a value whether list item is disabled or not.
3150 * @param it The item.
3151 * @return The disabled state.
3153 * @see elm_list_item_disabled_set() for more details.
3155 * @deprecated Use elm_object_item_disabled_get() instead
3159 EINA_DEPRECATED EAPI Eina_Bool elm_list_item_disabled_get(const Elm_Object_Item *it);
3162 * Set the function called when a list item is freed.
3164 * @param it The item to set the callback on
3165 * @param func The function called
3167 * If there is a @p func, then it will be called prior item's memory release.
3168 * That will be called with the following arguments:
3170 * @li item's Evas object;
3173 * This way, a data associated to a list item could be properly freed.
3175 * @deprecated Please use elm_object_item_del_cb_set() instead.
3179 EINA_DEPRECATED EAPI void elm_list_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
3182 * Get the data associated to the item.
3184 * @param it The list item
3185 * @return The data associated to @p item
3187 * The return value is a pointer to data associated to @p item when it was
3188 * created, with function elm_list_item_append() or similar. If no data
3189 * was passed as argument, it will return @c NULL.
3191 * @see elm_list_item_append()
3193 * @deprecated Please use elm_object_item_data_get() instead.
3197 EINA_DEPRECATED EAPI void *elm_list_item_data_get(const Elm_Object_Item *it);
3200 * Get the left side icon associated to the item.
3202 * @param it The list item
3203 * @return The left side icon associated to @p item
3205 * The return value is a pointer to the icon associated to @p item when
3207 * created, with function elm_list_item_append() or similar, or later
3208 * with function elm_list_item_icon_set(). If no icon
3209 * was passed as argument, it will return @c NULL.
3211 * @see elm_list_item_append()
3212 * @see elm_list_item_icon_set()
3214 * @deprecated Please use elm_object_item_part_content_get(item, NULL);
3217 EINA_DEPRECATED EAPI Evas_Object *elm_list_item_icon_get(const Elm_Object_Item *it);
3220 * Set the left side icon associated to the item.
3222 * @param it The list item
3223 * @param icon The left side icon object to associate with @p item
3225 * The icon object to use at left side of the item. An
3226 * icon can be any Evas object, but usually it is an icon created
3227 * with elm_icon_add().
3229 * Once the icon object is set, a previously set one will be deleted.
3230 * @warning Setting the same icon for two items will cause the icon to
3231 * dissapear from the first item.
3233 * If an icon was passed as argument on item creation, with function
3234 * elm_list_item_append() or similar, it will be already
3235 * associated to the item.
3237 * @see elm_list_item_append()
3238 * @see elm_list_item_icon_get()
3240 * @deprecated Please use elm_object_item_part_content_set(item, NULL, icon);
3243 EINA_DEPRECATED EAPI void elm_list_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
3246 * Get the right side icon associated to the item.
3248 * @param it The list item
3249 * @return The right side icon associated to @p item
3251 * The return value is a pointer to the icon associated to @p item when
3253 * created, with function elm_list_item_append() or similar, or later
3254 * with function elm_list_item_icon_set(). If no icon
3255 * was passed as argument, it will return @c NULL.
3257 * @see elm_list_item_append()
3258 * @see elm_list_item_icon_set()
3260 * @deprecated Please use elm_object_item_part_content_get(item, "end");
3263 EINA_DEPRECATED EAPI Evas_Object *elm_list_item_end_get(const Elm_Object_Item *it);
3266 * Set the right side icon associated to the item.
3268 * @param it The list item
3269 * @param end The right side icon object to associate with @p item
3271 * The icon object to use at right side of the item. An
3272 * icon can be any Evas object, but usually it is an icon created
3273 * with elm_icon_add().
3275 * Once the icon object is set, a previously set one will be deleted.
3276 * @warning Setting the same icon for two items will cause the icon to
3277 * dissapear from the first item.
3279 * If an icon was passed as argument on item creation, with function
3280 * elm_list_item_append() or similar, it will be already
3281 * associated to the item.
3283 * @see elm_list_item_append()
3284 * @see elm_list_item_end_get()
3286 * @deprecated Please use elm_object_item_part_content_set(item, "end", end);
3289 EINA_DEPRECATED EAPI void elm_list_item_end_set(Elm_Object_Item *it, Evas_Object *end);
3292 * Get the label of item.
3294 * @param it The item of list.
3295 * @return The label of item.
3297 * The return value is a pointer to the label associated to @p item when
3298 * it was created, with function elm_list_item_append(), or later
3299 * with function elm_list_item_label_set. If no label
3300 * was passed as argument, it will return @c NULL.
3302 * @see elm_list_item_label_set() for more details.
3303 * @see elm_list_item_append()
3305 * @deprecated Please use elm_object_item_text_get(item);
3308 EINA_DEPRECATED EAPI const char *elm_list_item_label_get(const Elm_Object_Item *it);
3311 * Set the label of item.
3313 * @param it The item of list.
3314 * @param text The label of item.
3316 * The label to be displayed by the item.
3317 * Label will be placed between left and right side icons (if set).
3319 * If a label was passed as argument on item creation, with function
3320 * elm_list_item_append() or similar, it will be already
3321 * displayed by the item.
3323 * @see elm_list_item_label_get()
3324 * @see elm_list_item_append()
3326 * @deprecated Please use elm_object_item_text_set(item, text);
3329 EINA_DEPRECATED EAPI void elm_list_item_label_set(Elm_Object_Item *it, const char *text);
3332 * Set the text to be shown in a given list item's tooltips.
3334 * @param it Target item.
3335 * @param text The text to set in the content.
3337 * Setup the text as tooltip to object. The item can have only one tooltip,
3338 * so any previous tooltip data - set with this function or
3339 * elm_list_item_tooltip_content_cb_set() - is removed.
3341 * @deprecated Use elm_object_item_tooltip_text_set() instead
3342 * @see elm_object_tooltip_text_set() for more details.
3346 EINA_DEPRECATED EAPI void elm_list_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
3349 * @brief Disable size restrictions on an object's tooltip
3350 * @param it The tooltip's anchor object
3351 * @param disable If EINA_TRUE, size restrictions are disabled
3352 * @return EINA_FALSE on failure, EINA_TRUE on success
3354 * This function allows a tooltip to expand beyond its parant window's canvas.
3355 * It will instead be limited only by the size of the display.
3357 * @deprecated Use elm_object_item_tooltip_window_mode_set() instead
3360 EINA_DEPRECATED EAPI Eina_Bool elm_list_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable);
3363 * @brief Retrieve size restriction state of an object's tooltip
3364 * @param obj The tooltip's anchor object
3365 * @return If EINA_TRUE, size restrictions are disabled
3367 * This function returns whether a tooltip is allowed to expand beyond
3368 * its parant window's canvas.
3369 * It will instead be limited only by the size of the display.
3371 * @deprecated Use elm_object_item_tooltip_window_mode_get() instead
3374 EINA_DEPRECATED EAPI Eina_Bool elm_list_item_tooltip_window_mode_get(const Elm_Object_Item *it);
3377 * Set the content to be shown in the tooltip item.
3379 * Setup the tooltip to item. The item can have only one tooltip,
3380 * so any previous tooltip data is removed. @p func(with @p data) will
3381 * be called every time that need show the tooltip and it should
3382 * return a valid Evas_Object. This object is then managed fully by
3383 * tooltip system and is deleted when the tooltip is gone.
3385 * @param it the list item being attached a tooltip.
3386 * @param func the function used to create the tooltip contents.
3387 * @param data what to provide to @a func as callback data/context.
3388 * @param del_cb called when data is not needed anymore, either when
3389 * another callback replaces @a func, the tooltip is unset with
3390 * elm_list_item_tooltip_unset() or the owner @a item
3391 * dies. This callback receives as the first parameter the
3392 * given @a data, and @c event_info is the item.
3394 * @deprecated Use elm_object_item_tooltip_content_cb_set() instead
3396 * @see elm_object_tooltip_content_cb_set() for more details.
3400 EINA_DEPRECATED EAPI void elm_list_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);
3403 * Unset tooltip from item.
3405 * @param it list item to remove previously set tooltip.
3407 * Remove tooltip from item. The callback provided as del_cb to
3408 * elm_list_item_tooltip_content_cb_set() will be called to notify
3409 * it is not used anymore.
3411 * @deprecated Use elm_object_item_tooltip_unset() instead
3412 * @see elm_object_tooltip_unset() for more details.
3413 * @see elm_list_item_tooltip_content_cb_set()
3417 EINA_DEPRECATED EAPI void elm_list_item_tooltip_unset(Elm_Object_Item *it);
3420 * Sets a different style for this item tooltip.
3422 * @note before you set a style you should define a tooltip with
3423 * elm_list_item_tooltip_content_cb_set() or
3424 * elm_list_item_tooltip_text_set()
3426 * @param it list item with tooltip already set.
3427 * @param style the theme style to use (default, transparent, ...)
3430 * @deprecated Use elm_object_item_tooltip_style_set() instead
3431 * @see elm_object_tooltip_style_set() for more details.
3435 EINA_DEPRECATED EAPI void elm_list_item_tooltip_style_set(Elm_Object_Item *it, const char *style);
3438 * Get the style for this item tooltip.
3440 * @param item list item with tooltip already set.
3441 * @return style the theme style in use, defaults to "default". If the
3442 * object does not have a tooltip set, then NULL is returned.
3444 * @deprecated Use elm_object_item_tooltip_style_get() instead
3446 * @see elm_object_tooltip_style_get() for more details.
3447 * @see elm_list_item_tooltip_style_set()
3451 EINA_DEPRECATED EAPI const char *elm_list_item_tooltip_style_get(const Elm_Object_Item *it);
3455 * Set the shrink state of toolbar @p obj.
3457 * @param obj The toolbar object.
3458 * @param shrink_mode Toolbar's items display behavior.
3460 * The toolbar won't scroll if #ELM_TOOLBAR_SHRINK_NONE,
3461 * but will enforce a minimun size so all the items will fit, won't scroll
3462 * and won't show the items that don't fit if #ELM_TOOLBAR_SHRINK_HIDE,
3463 * will scroll if #ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to
3464 * pop up excess elements with #ELM_TOOLBAR_SHRINK_MENU.
3466 * @deprecated Please use elm_toolbar_shrink_mode_set(obj, shrink_mode);
3469 EINA_DEPRECATED EAPI void elm_toolbar_mode_shrink_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode);
3472 * Get the shrink mode of toolbar @p obj.
3474 * @param obj The toolbar object.
3475 * @return Toolbar's items display behavior.
3477 * @see elm_toolbar_shrink_mode_set() for details.
3479 * @deprecated Please use elm_toolbar_shrink_mode_get(obj);
3482 EINA_DEPRECATED EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_mode_shrink_get(const Evas_Object *obj);
3485 * This sets a widget to be displayed to the left of a scrolled entry.
3487 * @param obj The scrolled entry object
3488 * @param icon The widget to display on the left side of the scrolled
3491 * @note A previously set widget will be destroyed.
3492 * @note If the object being set does not have minimum size hints set,
3493 * it won't get properly displayed.
3495 * @deprecated Use elm_object_part_content_set(entry, "icon", content) instead
3496 * @see elm_entry_end_set()
3498 EINA_DEPRECATED EAPI void elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
3501 * Gets the leftmost widget of the scrolled entry. This object is
3502 * owned by the scrolled entry and should not be modified.
3504 * @param obj The scrolled entry object
3505 * @return the left widget inside the scroller
3507 * @deprecated Use elm_object_part_content_get(entry, "icon") instead
3509 EINA_DEPRECATED EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj);
3512 * Unset the leftmost widget of the scrolled entry, unparenting and
3515 * @param obj The scrolled entry object
3516 * @return the previously set icon sub-object of this entry, on
3519 * @deprecated Use elm_object_part_content_unset(entry, "icon") instead
3520 * @see elm_entry_icon_set()
3522 EINA_DEPRECATED EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj);
3525 * This sets a widget to be displayed to the end of a scrolled entry.
3527 * @param obj The scrolled entry object
3528 * @param end The widget to display on the right side of the scrolled
3531 * @note A previously set widget will be destroyed.
3532 * @note If the object being set does not have minimum size hints set,
3533 * it won't get properly displayed.
3535 * @deprecated Use elm_object_part_content_set(entry, "end", content) instead
3536 * @see elm_entry_icon_set
3538 EINA_DEPRECATED EAPI void elm_entry_end_set(Evas_Object *obj, Evas_Object *end);
3541 * Gets the endmost widget of the scrolled entry. This object is owned
3542 * by the scrolled entry and should not be modified.
3544 * @param obj The scrolled entry object
3545 * @return the right widget inside the scroller
3547 * @deprecated Use elm_object_part_content_get(entry, "end") instead
3549 EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj);
3552 * Unset the endmost widget of the scrolled entry, unparenting and
3555 * @param obj The scrolled entry object
3556 * @return the previously set icon sub-object of this entry, on
3559 * @deprecated Use elm_object_part_content_unset(entry, "end") instead
3560 * @see elm_entry_icon_set()
3562 EINA_DEPRECATED EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj);