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 * @defgroup Toggle Toggle
27 * @image html img/widget/toggle/preview-00.png
28 * @image latex img/widget/toggle/preview-00.eps
30 * @brief A toggle is a slider which can be used to toggle between
31 * two values. It has two states: on and off.
33 * This widget is deprecated. Please use elm_check_add() instead using the
37 * obj = elm_check_add(parent);
38 * elm_object_style_set(obj, "toggle");
39 * elm_object_part_text_set(obj, "on", "ON");
40 * elm_object_part_text_set(obj, "off", "OFF");
43 * Signals that you can add callbacks for are:
44 * @li "changed" - Whenever the toggle value has been changed. Is not called
45 * until the toggle is released by the cursor (assuming it
46 * has been triggered by the cursor in the first place).
48 * Default contents parts of the toggle widget that you can use for are:
49 * @li "icon" - An icon of the toggle
51 * Default text parts of the toggle widget that you can use for are:
52 * @li "elm.text" - Label of the toggle
54 * @ref tutorial_toggle show how to use a toggle.
59 * @brief Add a toggle to @p parent.
61 * @param parent The parent object
63 * @return The toggle object
65 EINA_DEPRECATED EAPI Evas_Object *elm_toggle_add(Evas_Object *parent);
68 * @brief Sets the label to be displayed with the toggle.
70 * @param obj The toggle object
71 * @param label The label to be displayed
73 * @deprecated use elm_object_text_set() instead.
75 EINA_DEPRECATED EAPI void elm_toggle_label_set(Evas_Object *obj, const char *label);
78 * @brief Gets the label of the toggle
80 * @param obj toggle object
81 * @return The label of the toggle
83 * @deprecated use elm_object_text_get() instead.
85 EINA_DEPRECATED EAPI const char *elm_toggle_label_get(const Evas_Object *obj);
88 * @brief Set the icon used for the toggle
90 * @param obj The toggle object
91 * @param icon The icon object for the button
93 * Once the icon object is set, a previously set one will be deleted
94 * If you want to keep that old content object, use the
95 * elm_toggle_icon_unset() function.
97 * @deprecated use elm_object_part_content_set() instead.
99 EINA_DEPRECATED EAPI void elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon);
102 * @brief Get the icon used for the toggle
104 * @param obj The toggle object
105 * @return The icon object that is being used
107 * Return the icon object which is set for this widget.
109 * @see elm_toggle_icon_set()
111 * @deprecated use elm_object_part_content_get() instead.
113 EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj);
116 * @brief Unset the icon used for the toggle
118 * @param obj The toggle object
119 * @return The icon object that was being used
121 * Unparent and return the icon object which was set for this widget.
123 * @see elm_toggle_icon_set()
125 * @deprecated use elm_object_part_content_unset() instead.
127 EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_unset(Evas_Object *obj);
130 * @brief Sets the labels to be associated with the on and off states of the toggle.
132 * @param obj The toggle object
133 * @param onlabel The label displayed when the toggle is in the "on" state
134 * @param offlabel The label displayed when the toggle is in the "off" state
136 * @deprecated use elm_object_part_text_set() for "on" and "off" parts
139 EINA_DEPRECATED EAPI void elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel);
142 * @brief Gets the labels associated with the on and off states of the
145 * @param obj The toggle object
146 * @param onlabel A char** to place the onlabel of @p obj into
147 * @param offlabel A char** to place the offlabel of @p obj into
149 * @deprecated use elm_object_part_text_get() for "on" and "off" parts
152 EINA_DEPRECATED EAPI void elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel);
155 * @brief Sets the state of the toggle to @p state.
157 * @param obj The toggle object
158 * @param state The state of @p obj
160 * @deprecated use elm_check_state_set() instead.
162 EINA_DEPRECATED EAPI void elm_toggle_state_set(Evas_Object *obj, Eina_Bool state);
165 * @brief Gets the state of the toggle to @p state.
167 * @param obj The toggle object
168 * @return The state of @p obj
170 * @deprecated use elm_check_state_get() instead.
172 EINA_DEPRECATED EAPI Eina_Bool elm_toggle_state_get(const Evas_Object *obj);
175 * @brief Sets the state pointer of the toggle to @p statep.
177 * @param obj The toggle object
178 * @param statep The state pointer of @p obj
180 * @deprecated use elm_check_state_pointer_set() instead.
182 EINA_DEPRECATED EAPI void elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep);
188 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent);
189 EINA_DEPRECATED EAPI void elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
190 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_single_line_get(const Evas_Object *obj);
191 EINA_DEPRECATED EAPI void elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password);
192 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_password_get(const Evas_Object *obj);
193 EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry);
194 EINA_DEPRECATED EAPI const char *elm_scrolled_entry_entry_get(const Evas_Object *obj);
195 EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry);
196 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_is_empty(const Evas_Object *obj);
197 EINA_DEPRECATED EAPI const char *elm_scrolled_entry_selection_get(const Evas_Object *obj);
198 EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry);
199 EINA_DEPRECATED EAPI void elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap);
200 EINA_DEPRECATED EAPI void elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
201 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_editable_get(const Evas_Object *obj);
202 EINA_DEPRECATED EAPI void elm_scrolled_entry_select_none(Evas_Object *obj);
203 EINA_DEPRECATED EAPI void elm_scrolled_entry_select_all(Evas_Object *obj);
204 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_next(Evas_Object *obj);
205 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_prev(Evas_Object *obj);
206 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_up(Evas_Object *obj);
207 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_down(Evas_Object *obj);
208 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_begin_set(Evas_Object *obj);
209 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_end_set(Evas_Object *obj);
210 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj);
211 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj);
212 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj);
213 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_selection_end(Evas_Object *obj);
214 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj);
215 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj);
216 EINA_DEPRECATED EAPI const char *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj);
217 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos);
218 EINA_DEPRECATED EAPI int elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj);
219 EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_cut(Evas_Object *obj);
220 EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_copy(Evas_Object *obj);
221 EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_paste(Evas_Object *obj);
222 EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_clear(Evas_Object *obj);
223 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);
224 EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
225 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj);
226 EINA_DEPRECATED EAPI void elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
227 EINA_DEPRECATED EAPI void elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
228 EINA_DEPRECATED EAPI void elm_scrolled_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
229 EINA_DEPRECATED EAPI void elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
230 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj);
231 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj);
232 EINA_DEPRECATED EAPI void elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
233 EINA_DEPRECATED EAPI void elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end);
234 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj);
235 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj);
236 EINA_DEPRECATED EAPI void elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
237 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);
238 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);
239 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);
240 EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_append(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
241 EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_prepend(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
242 EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_remove(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
243 EINA_DEPRECATED EAPI void elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format);
244 EINA_DEPRECATED EAPI void elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format);
245 EINA_DEPRECATED EAPI void elm_scrolled_entry_file_save(Evas_Object *obj);
246 EINA_DEPRECATED EAPI void elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave);
247 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_autosave_get(const Evas_Object *obj);
248 EINA_DEPRECATED EAPI void elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly);
249 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj);
252 * Set the text to show in the anchorblock
254 * Sets the text of the anchorblock to @p text. This text can include markup
255 * format tags, including <c>\<a href=anchorname\></a></c> to begin a segment
256 * of text that will be specially styled and react to click events, ended
257 * with either of \</a\> or \</\>. When clicked, the anchor will emit an
258 * "anchor,clicked" signal that you can attach a callback to with
259 * evas_object_smart_callback_add(). The name of the anchor given in the
260 * event info struct will be the one set in the href attribute, in this
263 * Other markup can be used to style the text in different ways, but it's
264 * up to the style defined in the theme which tags do what.
265 * @deprecated use elm_object_text_set() instead.
267 EINA_DEPRECATED EAPI void elm_anchorblock_text_set(Evas_Object *obj, const char *text);
270 * Get the markup text set for the anchorblock
272 * Retrieves the text set on the anchorblock, with markup tags included.
274 * @param obj The anchorblock object
275 * @return The markup text set or @c NULL if nothing was set or an error
277 * @deprecated use elm_object_text_set() instead.
279 EINA_DEPRECATED EAPI const char *elm_anchorblock_text_get(const Evas_Object *obj);
282 * Set the text to show in the anchorview
284 * Sets the text of the anchorview to @p text. This text can include markup
285 * format tags, including <c>\<a href=anchorname\></c> to begin a segment of
286 * text that will be specially styled and react to click events, ended with
287 * either of \</a\> or \</\>. When clicked, the anchor will emit an
288 * "anchor,clicked" signal that you can attach a callback to with
289 * evas_object_smart_callback_add(). The name of the anchor given in the
290 * event info struct will be the one set in the href attribute, in this
293 * Other markup can be used to style the text in different ways, but it's
294 * up to the style defined in the theme which tags do what.
295 * @deprecated use elm_object_text_set() instead.
297 EINA_DEPRECATED EAPI void elm_anchorview_text_set(Evas_Object *obj, const char *text);
300 * Get the markup text set for the anchorview
302 * Retrieves the text set on the anchorview, with markup tags included.
304 * @param obj The anchorview object
305 * @return The markup text set or @c NULL if nothing was set or an error
307 * @deprecated use elm_object_text_set() instead.
309 EINA_DEPRECATED EAPI const char *elm_anchorview_text_get(const Evas_Object *obj);
312 * @brief Get the ctxpopup item's disabled/enabled state.
314 * @param it Ctxpopup item to be enabled/disabled
315 * @return disabled @c EINA_TRUE, if disabled, @c EINA_FALSE otherwise
317 * @see elm_ctxpopup_item_disabled_set()
318 * @deprecated use elm_object_item_disabled_get() instead
322 EINA_DEPRECATED EAPI Eina_Bool elm_ctxpopup_item_disabled_get(const Elm_Object_Item *it);
325 * @brief Set the ctxpopup item's state as disabled or enabled.
327 * @param it Ctxpopup item to be enabled/disabled
328 * @param disabled @c EINA_TRUE to disable it, @c EINA_FALSE to enable it
330 * When disabled the item is greyed out to indicate it's state.
331 * @deprecated use elm_object_item_disabled_set() instead
335 EINA_DEPRECATED EAPI void elm_ctxpopup_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
338 * @brief Get the icon object for the given ctxpopup item.
340 * @param it Ctxpopup item
341 * @return icon object or @c NULL, if the item does not have icon or an error
344 * @see elm_ctxpopup_item_append()
345 * @see elm_ctxpopup_item_icon_set()
347 * @deprecated use elm_object_item_part_content_get() instead
351 EINA_DEPRECATED EAPI Evas_Object *elm_ctxpopup_item_icon_get(const Elm_Object_Item *it);
354 * @brief Sets the side icon associated with the ctxpopup item
356 * @param it Ctxpopup item
357 * @param icon Icon object to be set
359 * Once the icon object is set, a previously set one will be deleted.
360 * @warning Setting the same icon for two items will cause the icon to
361 * dissapear from the first item.
363 * @see elm_ctxpopup_item_append()
365 * @deprecated use elm_object_item_part_content_set() instead
369 EINA_DEPRECATED EAPI void elm_ctxpopup_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
372 * @brief Get the label for the given ctxpopup item.
374 * @param it Ctxpopup item
375 * @return label string or @c NULL, if the item does not have label or an
378 * @see elm_ctxpopup_item_append()
379 * @see elm_ctxpopup_item_label_set()
381 * @deprecated use elm_object_item_text_get() instead
385 EINA_DEPRECATED EAPI const char *elm_ctxpopup_item_label_get(const Elm_Object_Item *it);
388 * @brief (Re)set the label on the given ctxpopup item.
390 * @param it Ctxpopup item
391 * @param label String to set as label
393 * @deprecated use elm_object_item_text_set() instead
397 EINA_DEPRECATED EAPI void elm_ctxpopup_item_label_set(Elm_Object_Item *it, const char *label);
400 * @brief Set an elm widget as the content of the ctxpopup.
402 * @param obj Ctxpopup object
403 * @param content Content to be swallowed
405 * If the content object is already set, a previous one will bedeleted. If
406 * you want to keep that old content object, use the
407 * elm_ctxpopup_content_unset() function.
409 * @warning Ctxpopup can't hold both a item list and a content at the same
410 * time. When a content is set, any previous items will be removed.
412 * @deprecated use elm_object_content_set() instead
416 EINA_DEPRECATED EAPI void elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content);
419 * @brief Unset the ctxpopup content
421 * @param obj Ctxpopup object
422 * @return The content that was being used
424 * Unparent and return the content object which was set for this widget.
426 * @deprecated use elm_object_content_unset()
428 * @see elm_ctxpopup_content_set()
430 * @deprecated use elm_object_content_unset() instead
434 EINA_DEPRECATED EAPI Evas_Object *elm_ctxpopup_content_unset(Evas_Object *obj);
437 * @brief Delete the given item in a ctxpopup object.
439 * @param it Ctxpopup item to be deleted
441 * @deprecated Use elm_object_item_del() instead
442 * @see elm_ctxpopup_item_append()
446 EINA_DEPRECATED EAPI void elm_ctxpopup_item_del(Elm_Object_Item *it);
449 * Set the label for a given file selector button widget
451 * @param obj The file selector button widget
452 * @param label The text label to be displayed on @p obj
454 * @deprecated use elm_object_text_set() instead.
456 EINA_DEPRECATED EAPI void elm_fileselector_button_label_set(Evas_Object *obj, const char *label);
459 * Get the label set for a given file selector button widget
461 * @param obj The file selector button widget
462 * @return The button label
464 * @deprecated use elm_object_text_set() instead.
466 EINA_DEPRECATED EAPI const char *elm_fileselector_button_label_get(const Evas_Object *obj);
469 * Set the icon on a given file selector button widget
471 * @param obj The file selector button widget
472 * @param icon The icon object for the button
474 * Once the icon object is set, a previously set one will be
475 * deleted. If you want to keep the latter, use the
476 * elm_fileselector_button_icon_unset() function.
478 * @deprecated Use elm_object_part_content_set() instead
479 * @see elm_fileselector_button_icon_get()
481 EINA_DEPRECATED EAPI void elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon);
484 * Get the icon set for a given file selector button widget
486 * @param obj The file selector button widget
487 * @return The icon object currently set on @p obj or @c NULL, if
490 * @deprecated Use elm_object_part_content_get() instead
491 * @see elm_fileselector_button_icon_set()
493 EINA_DEPRECATED EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj);
496 * Unset the icon used in a given file selector button widget
498 * @param obj The file selector button widget
499 * @return The icon object that was being used on @p obj or @c
502 * Unparent and return the icon object which was set for this
505 * @deprecated Use elm_object_part_content_unset() instead
506 * @see elm_fileselector_button_icon_set()
508 EINA_DEPRECATED EAPI Evas_Object *elm_fileselector_button_icon_unset(Evas_Object *obj);
511 * Set the label for a given file selector entry widget's button
513 * @param obj The file selector entry widget
514 * @param label The text label to be displayed on @p obj widget's
517 * @deprecated use elm_object_text_set() instead.
519 EINA_DEPRECATED EAPI void elm_fileselector_entry_button_label_set(Evas_Object *obj, const char *label);
522 * Get the label set for a given file selector entry widget's button
524 * @param obj The file selector entry widget
525 * @return The widget button's label
527 * @deprecated use elm_object_text_set() instead.
529 EINA_DEPRECATED EAPI const char *elm_fileselector_entry_button_label_get(const Evas_Object *obj);
532 * Set the icon on a given file selector entry widget's button
534 * @param obj The file selector entry widget
535 * @param icon The icon object for the entry's button
537 * Once the icon object is set, a previously set one will be
538 * deleted. If you want to keep the latter, use the
539 * elm_fileselector_entry_button_icon_unset() function.
541 * @deprecated Use elm_object_part_content_set() instead
542 * @see elm_fileselector_entry_button_icon_get()
544 EINA_DEPRECATED EAPI void elm_fileselector_entry_button_icon_set(Evas_Object *obj, Evas_Object *icon);
547 * Get the icon set for a given file selector entry widget's button
549 * @param obj The file selector entry widget
550 * @return The icon object currently set on @p obj widget's button
551 * or @c NULL, if none is
553 * @deprecated Use elm_object_part_content_get() instead
554 * @see elm_fileselector_entry_button_icon_set()
556 EINA_DEPRECATED EAPI Evas_Object *elm_fileselector_entry_button_icon_get(const Evas_Object *obj);
559 * Unset the icon used in a given file selector entry widget's
562 * @param obj The file selector entry widget
563 * @return The icon object that was being used on @p obj widget's
564 * button or @c NULL, on errors
566 * Unparent and return the icon object which was set for this
569 * @deprecated Use elm_object_part_content_unset() instead
570 * @see elm_fileselector_entry_button_icon_set()
572 EINA_DEPRECATED EAPI Evas_Object *elm_fileselector_entry_button_icon_unset(Evas_Object *obj);
575 * @brief Sets the content of the hover object and the direction in which it
578 * @param obj The hover object
579 * @param swallow The direction that the object will be displayed
580 * at. Accepted values are "left", "top-left", "top", "top-right",
581 * "right", "bottom-right", "bottom", "bottom-left", "middle" and
583 * @param content The content to place at @p swallow
585 * Once the content object is set for a given direction, a previously
586 * set one (on the same direction) will be deleted. If you want to
587 * keep that old content object, use the elm_hover_content_unset()
590 * All directions may have contents at the same time, except for
591 * "smart". This is a special placement hint and its use case
592 * independs of the calculations coming from
593 * elm_hover_best_content_location_get(). Its use is for cases when
594 * one desires only one hover content, but with a dynamic special
595 * placement within the hover area. The content's geometry, whenever
596 * it changes, will be used to decide on a best location, not
597 * extrapolating the hover's parent object view to show it in (still
598 * being the hover's target determinant of its medium part -- move and
599 * resize it to simulate finger sizes, for example). If one of the
600 * directions other than "smart" are used, a previously content set
601 * using it will be deleted, and vice-versa.
603 * @deprecated Use elm_object_part_content_set() instead
605 EINA_DEPRECATED EAPI void elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
608 * @brief Get the content of the hover object, in a given direction.
610 * Return the content object which was set for this widget in the
611 * @p swallow direction.
613 * @param obj The hover object
614 * @param swallow The direction that the object was display at.
615 * @return The content that was being used
617 * @deprecated Use elm_object_part_content_get() instead
618 * @see elm_hover_content_set()
620 EINA_DEPRECATED EAPI Evas_Object *elm_hover_content_get(const Evas_Object *obj, const char *swallow);
623 * @brief Unset the content of the hover object, in a given direction.
625 * Unparent and return the content object set at @p swallow direction.
627 * @param obj The hover object
628 * @param swallow The direction that the object was display at.
629 * @return The content that was being used.
631 * @deprecated Use elm_object_part_content_unset() instead
632 * @see elm_hover_content_set()
634 EINA_DEPRECATED EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow);
637 * @brief Set the hoversel button label
639 * @param obj The hoversel object
640 * @param label The label text.
642 * This sets the label of the button that is always visible (before it is
643 * clicked and expanded).
645 * @deprecated elm_object_text_set()
647 EINA_DEPRECATED EAPI void elm_hoversel_label_set(Evas_Object *obj, const char *label);
650 * @brief Get the hoversel button label
652 * @param obj The hoversel object
653 * @return The label text.
655 * @deprecated elm_object_text_get()
657 EINA_DEPRECATED EAPI const char *elm_hoversel_label_get(const Evas_Object *obj);
660 * @brief Set the icon of the hoversel button
662 * @param obj The hoversel object
663 * @param icon The icon object
665 * Sets the icon of the button that is always visible (before it is clicked
666 * and expanded). Once the icon object is set, a previously set one will be
667 * deleted, if you want to keep that old content object, use the
668 * elm_hoversel_icon_unset() function.
670 * @see elm_object_content_set() for the button widget
671 * @deprecated Use elm_object_item_part_content_set() instead
673 EINA_DEPRECATED EAPI void elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon);
676 * @brief Get the icon of the hoversel button
678 * @param obj The hoversel object
679 * @return The icon object
681 * Get the icon of the button that is always visible (before it is clicked
682 * and expanded). Also see elm_object_content_get() for the button widget.
684 * @see elm_hoversel_icon_set()
685 * @deprecated Use elm_object_item_part_content_get() instead
687 EINA_DEPRECATED EAPI Evas_Object *elm_hoversel_icon_get(const Evas_Object *obj);
690 * @brief Get and unparent the icon of the hoversel button
692 * @param obj The hoversel object
693 * @return The icon object that was being used
695 * Unparent and return the icon of the button that is always visible
696 * (before it is clicked and expanded).
698 * @see elm_hoversel_icon_set()
699 * @see elm_object_content_unset() for the button widget
700 * @deprecated Use elm_object_item_part_content_unset() instead
702 EINA_DEPRECATED EAPI Evas_Object *elm_hoversel_icon_unset(Evas_Object *obj);
705 * @brief This returns the data pointer supplied with elm_hoversel_item_add()
706 * that will be passed to associated function callbacks.
708 * @param it The item to get the data from
709 * @return The data pointer set with elm_hoversel_item_add()
711 * @see elm_hoversel_item_add()
712 * @deprecated Use elm_object_item_data_get() instead
714 EINA_DEPRECATED EAPI void *elm_hoversel_item_data_get(const Elm_Object_Item *it);
717 * @brief This returns the label text of the given hoversel item.
719 * @param it The item to get the label
720 * @return The label text of the hoversel item
722 * @see elm_hoversel_item_add()
723 * @deprecated Use elm_object_item_text_get() instead
725 EINA_DEPRECATED EAPI const char *elm_hoversel_item_label_get(const Elm_Object_Item *it);
728 * @brief Set the function to be called when an item from the hoversel is
731 * @param it The item to set the callback on
732 * @param func The function called
734 * That function will receive these parameters:
735 * @li void * item data
736 * @li Evas_Object * hoversel object
737 * @li Elm_Object_Item * hoversel item
739 * @see elm_hoversel_item_add()
740 * @deprecated Use elm_object_item_del_cb_set() instead
742 EINA_DEPRECATED EAPI void elm_hoversel_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
745 * @brief Delete an item from the hoversel
747 * @param it The item to delete
749 * This deletes the item from the hoversel (should not be called while the
750 * hoversel is active; use elm_hoversel_expanded_get() to check first).
752 * @deprecated Use elm_object_item_del() instead
753 * @see elm_hoversel_item_add()
755 EINA_DEPRECATED EAPI void elm_hoversel_item_del(Elm_Object_Item *it);
758 * Set actionslider labels.
760 * @param obj The actionslider object
761 * @param left_label The label to be set on the left.
762 * @param center_label The label to be set on the center.
763 * @param right_label The label to be set on the right.
764 * @deprecated use elm_object_text_set() instead.
766 EINA_DEPRECATED EAPI void elm_actionslider_labels_set(Evas_Object *obj, const char *left_label, const char *center_label, const char *right_label);
769 * Get actionslider labels.
771 * @param obj The actionslider object
772 * @param left_label A char** to place the left_label of @p obj into.
773 * @param center_label A char** to place the center_label of @p obj into.
774 * @param right_label A char** to place the right_label of @p obj into.
775 * @deprecated use elm_object_text_set() instead.
777 EINA_DEPRECATED EAPI void elm_actionslider_labels_get(const Evas_Object *obj, const char **left_label, const char **center_label, const char **right_label);
780 * Set the label used on the indicator.
782 * @param obj The actionslider object
783 * @param label The label to be set on the indicator.
784 * @deprecated use elm_object_text_set() instead.
786 EINA_DEPRECATED EAPI void elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label);
789 * Get the label used on the indicator object.
791 * @param obj The actionslider object
792 * @return The indicator label
793 * @deprecated use elm_object_text_get() instead.
795 EINA_DEPRECATED EAPI const char *elm_actionslider_indicator_label_get(Evas_Object *obj);
798 * Set the overlay object used for the background object.
800 * @param obj The bg object
801 * @param overlay The overlay object
803 * This provides a way for elm_bg to have an 'overlay' that will be on top
804 * of the bg. Once the over object is set, a previously set one will be
805 * deleted, even if you set the new one to NULL. If you want to keep that
806 * old content object, use the elm_bg_overlay_unset() function.
808 * @deprecated use elm_object_part_content_set() instead
813 EINA_DEPRECATED EAPI void elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay);
816 * Get the overlay object used for the background object.
818 * @param obj The bg object
819 * @return The content that is being used
821 * Return the content object which is set for this widget
823 * @deprecated use elm_object_part_content_get() instead
827 EINA_DEPRECATED EAPI Evas_Object *elm_bg_overlay_get(const Evas_Object *obj);
830 * Get the overlay object used for the background object.
832 * @param obj The bg object
833 * @return The content that was being used
835 * Unparent and return the overlay object which was set for this widget
837 * @deprecated use elm_object_part_content_unset() instead
841 EINA_DEPRECATED EAPI Evas_Object *elm_bg_overlay_unset(Evas_Object *obj);
845 * Set the label of the bubble
847 * @param obj The bubble object
848 * @param label The string to set in the label
850 * This function sets the title of the bubble. Where this appears depends on
851 * the selected corner.
852 * @deprecated use elm_object_text_set() instead.
854 EINA_DEPRECATED EAPI void elm_bubble_label_set(Evas_Object *obj, const char *label);
857 * Get the label of the bubble
859 * @param obj The bubble object
860 * @return The string of set in the label
862 * This function gets the title of the bubble.
863 * @deprecated use elm_object_text_get() instead.
865 EINA_DEPRECATED EAPI const char *elm_bubble_label_get(const Evas_Object *obj);
868 * Set the info of the bubble
870 * @param obj The bubble object
871 * @param info The given info about the bubble
873 * This function sets the info of the bubble. Where this appears depends on
874 * the selected corner.
875 * @deprecated use elm_object_part_text_set() instead. (with "info" as the parameter).
877 EINA_DEPRECATED EAPI void elm_bubble_info_set(Evas_Object *obj, const char *info);
880 * Get the info of the bubble
882 * @param obj The bubble object
884 * @return The "info" string of the bubble
886 * This function gets the info text.
887 * @deprecated use elm_object_part_text_get() instead. (with "info" as the parameter).
889 EINA_DEPRECATED EAPI const char *elm_bubble_info_get(const Evas_Object *obj);
892 * Set the content to be shown in the bubble
894 * Once the content object is set, a previously set one will be deleted.
895 * If you want to keep the old content object, use the
896 * elm_bubble_content_unset() function.
898 * @param obj The bubble object
899 * @param content The given content of the bubble
901 * This function sets the content shown on the middle of the bubble.
903 * @deprecated use elm_object_content_set() instead
906 EINA_DEPRECATED EAPI void elm_bubble_content_set(Evas_Object *obj, Evas_Object *content);
909 * Get the content shown in the bubble
911 * Return the content object which is set for this widget.
913 * @param obj The bubble object
914 * @return The content that is being used
916 * @deprecated use elm_object_content_get() instead
919 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_content_get(const Evas_Object *obj);
922 * Unset the content shown in the bubble
924 * Unparent and return the content object which was set for this widget.
926 * @param obj The bubble object
927 * @return The content that was being used
929 * @deprecated use elm_object_content_unset() instead
932 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj);
935 * Set the icon of the bubble
937 * Once the icon object is set, a previously set one will be deleted.
938 * If you want to keep the old content object, use the
939 * elm_icon_content_unset() function.
941 * @param obj The bubble object
942 * @param icon The given icon for the bubble
944 * @deprecated use elm_object_part_content_set() instead
947 EINA_DEPRECATED EAPI void elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon);
950 * Get the icon of the bubble
952 * @param obj The bubble object
953 * @return The icon for the bubble
955 * This function gets the icon shown on the top left of bubble.
957 * @deprecated use elm_object_part_content_get() instead
960 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj);
963 * Unset the icon of the bubble
965 * Unparent and return the icon object which was set for this widget.
967 * @param obj The bubble object
968 * @return The icon that was being used
970 * @deprecated use elm_object_part_content_unset() instead
973 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_unset(Evas_Object *obj);
977 * Set the label used in the button
979 * The passed @p label can be NULL to clean any existing text in it and
980 * leave the button as an icon only object.
982 * @param obj The button object
983 * @param label The text will be written on the button
984 * @deprecated use elm_object_text_set() instead.
986 EINA_DEPRECATED EAPI void elm_button_label_set(Evas_Object *obj, const char *label);
989 * Get the label set for the button
991 * The string returned is an internal pointer and should not be freed or
992 * altered. It will also become invalid when the button is destroyed.
993 * The string returned, if not NULL, is a stringshare, so if you need to
994 * keep it around even after the button is destroyed, you can use
995 * eina_stringshare_ref().
997 * @param obj The button object
998 * @return The text set to the label, or NULL if nothing is set
999 * @deprecated use elm_object_text_set() instead.
1001 EINA_DEPRECATED EAPI const char *elm_button_label_get(const Evas_Object *obj);
1004 * Set the icon used for the button
1006 * Setting a new icon will delete any other that was previously set, making
1007 * any reference to them invalid. If you need to maintain the previous
1008 * object alive, unset it first with elm_button_icon_unset().
1010 * @param obj The button object
1011 * @param icon The icon object for the button
1012 * @deprecated use elm_object_part_content_set() instead.
1014 EINA_DEPRECATED EAPI void elm_button_icon_set(Evas_Object *obj, Evas_Object *icon);
1017 * Get the icon used for the button
1019 * Return the icon object which is set for this widget. If the button is
1020 * destroyed or another icon is set, the returned object will be deleted
1021 * and any reference to it will be invalid.
1023 * @param obj The button object
1024 * @return The icon object that is being used
1026 * @deprecated use elm_object_part_content_get() instead
1028 EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj);
1031 * Remove the icon set without deleting it and return the object
1033 * This function drops the reference the button holds of the icon object
1034 * and returns this last object. It is used in case you want to remove any
1035 * icon, or set another one, without deleting the actual object. The button
1036 * will be left without an icon set.
1038 * @param obj The button object
1039 * @return The icon object that was being used
1040 * @deprecated use elm_object_part_content_unset() instead.
1042 EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_unset(Evas_Object *obj);
1045 * Set a day text color to the same that represents Saturdays.
1047 * @param obj The calendar object.
1048 * @param pos The text position. Position is the cell counter, from left
1049 * to right, up to down. It starts on 0 and ends on 41.
1051 * @deprecated use elm_calendar_mark_add() instead like:
1054 * struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
1055 * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
1058 * @see elm_calendar_mark_add()
1062 EINA_DEPRECATED EAPI void elm_calendar_text_saturday_color_set(Evas_Object *obj, int pos);
1065 * Set a day text color to the same that represents Sundays.
1067 * @param obj The calendar object.
1068 * @param pos The text position. Position is the cell counter, from left
1069 * to right, up to down. It starts on 0 and ends on 41.
1071 * @deprecated use elm_calendar_mark_add() instead like:
1074 * struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
1075 * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
1078 * @see elm_calendar_mark_add()
1082 EINA_DEPRECATED EAPI void elm_calendar_text_sunday_color_set(Evas_Object *obj, int pos);
1085 * Set a day text color to the same that represents Weekdays.
1087 * @param obj The calendar object
1088 * @param pos The text position. Position is the cell counter, from left
1089 * to right, up to down. It starts on 0 and ends on 41.
1091 * @deprecated use elm_calendar_mark_add() instead like:
1094 * struct tm t = { 0, 0, 12, 1, 0, 0, 0, 0, -1 };
1096 * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // monday
1097 * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
1098 * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // tuesday
1099 * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
1100 * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // wednesday
1101 * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
1102 * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // thursday
1103 * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
1104 * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // friday
1107 * @see elm_calendar_mark_add()
1111 EINA_DEPRECATED EAPI void elm_calendar_text_weekday_color_set(Evas_Object *obj, int pos);
1115 * @brief Set the text label of the check object
1117 * @param obj The check object
1118 * @param label The text label string in UTF-8
1120 * @deprecated use elm_object_text_set() instead.
1122 EINA_DEPRECATED EAPI void elm_check_label_set(Evas_Object *obj, const char *label);
1125 * @brief Get the text label of the check object
1127 * @param obj The check object
1128 * @return The text label string in UTF-8
1130 * @deprecated use elm_object_text_get() instead.
1132 EINA_DEPRECATED EAPI const char *elm_check_label_get(const Evas_Object *obj);
1135 * @brief Set the icon object of the check object
1137 * @param obj The check object
1138 * @param icon The icon object
1140 * Once the icon object is set, a previously set one will be deleted.
1141 * If you want to keep that old content object, use the
1142 * elm_object_content_unset() function.
1144 * @deprecated use elm_object_part_content_set() instead.
1147 EINA_DEPRECATED EAPI void elm_check_icon_set(Evas_Object *obj, Evas_Object *icon);
1150 * @brief Get the icon object of the check object
1152 * @param obj The check object
1153 * @return The icon object
1155 * @deprecated use elm_object_part_content_get() instead.
1158 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj);
1161 * @brief Unset the icon used for the check object
1163 * @param obj The check object
1164 * @return The icon object that was being used
1166 * Unparent and return the icon object which was set for this widget.
1168 * @deprecated use elm_object_part_content_unset() instead.
1171 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj);
1174 * @brief Set the text label of the check object
1176 * @param obj The check object
1177 * @param label The text label string in UTF-8
1179 * @deprecated use elm_object_text_set() instead.
1181 EINA_DEPRECATED EAPI void elm_check_label_set(Evas_Object *obj, const char *label);
1184 * @brief Get the text label of the check object
1186 * @param obj The check object
1187 * @return The text label string in UTF-8
1189 * @deprecated use elm_object_text_get() instead.
1191 EINA_DEPRECATED EAPI const char *elm_check_label_get(const Evas_Object *obj);
1194 * @brief Set the icon object of the check object
1196 * @param obj The check object
1197 * @param icon The icon object
1199 * Once the icon object is set, a previously set one will be deleted.
1200 * If you want to keep that old content object, use the
1201 * elm_object_content_unset() function.
1203 * @deprecated use elm_object_part_content_set() instead.
1206 EINA_DEPRECATED EAPI void elm_check_icon_set(Evas_Object *obj, Evas_Object *icon);
1209 * @brief Get the icon object of the check object
1211 * @param obj The check object
1212 * @return The icon object
1214 * @deprecated use elm_object_part_content_get() instead.
1217 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj);
1220 * @brief Unset the icon used for the check object
1222 * @param obj The check object
1223 * @return The icon object that was being used
1225 * Unparent and return the icon object which was set for this widget.
1227 * @deprecated use elm_object_part_content_unset() instead.
1230 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj);
1232 EINA_DEPRECATED EAPI void elm_check_states_labels_set(Evas_Object *obj, const char *ontext, const char *offtext);
1233 EINA_DEPRECATED EAPI void elm_check_states_labels_get(const Evas_Object *obj, const char **ontext, const char **offtext);
1237 * Set the content of the conformant widget.
1239 * @param obj The conformant object.
1240 * @param content The content to be displayed by the conformant.
1242 * Content will be sized and positioned considering the space required
1243 * to display a virtual keyboard. So it won't fill all the conformant
1244 * size. This way is possible to be sure that content won't resize
1245 * or be re-positioned after the keyboard is displayed.
1247 * Once the content object is set, a previously set one will be deleted.
1248 * If you want to keep that old content object, use the
1249 * elm_object_content_unset() function.
1251 * @see elm_object_content_unset()
1252 * @see elm_object_content_get()
1254 * @deprecated use elm_object_content_set() instead
1256 * @ingroup Conformant
1258 EINA_DEPRECATED EAPI void elm_conformant_content_set(Evas_Object *obj, Evas_Object *content);
1261 * Get the content of the conformant widget.
1263 * @param obj The conformant object.
1264 * @return The content that is being used.
1266 * Return the content object which is set for this widget.
1267 * It won't be unparent from conformant. For that, use
1268 * elm_object_content_unset().
1270 * @see elm_object_content_set().
1271 * @see elm_object_content_unset()
1273 * @deprecated use elm_object_content_get() instead
1275 * @ingroup Conformant
1277 EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj);
1280 * Unset the content of the conformant widget.
1282 * @param obj The conformant object.
1283 * @return The content that was being used.
1285 * Unparent and return the content object which was set for this widget.
1287 * @see elm_object_content_set().
1289 * @deprecated use elm_object_content_unset() instead
1291 * @ingroup Conformant
1293 EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj);
1296 * Get the side labels max length.
1298 * @deprecated use elm_diskselector_side_label_length_get() instead:
1300 * @param obj The diskselector object.
1301 * @return The max length defined for side labels, or 0 if not a valid
1304 * @ingroup Diskselector
1306 EINA_DEPRECATED EAPI int elm_diskselector_side_label_lenght_get(const Evas_Object *obj);
1309 * Set the side labels max length.
1311 * @deprecated use elm_diskselector_side_label_length_set() instead:
1313 * @param obj The diskselector object.
1314 * @param len The max length defined for side labels.
1316 * @ingroup Diskselector
1318 EINA_DEPRECATED EAPI void elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len);
1321 * Get the data associated to the item.
1323 * @param it The diskselector item
1324 * @return The data associated to @p it
1326 * The return value is a pointer to data associated to @p item when it was
1327 * created, with function elm_diskselector_item_append(). If no data
1328 * was passed as argument, it will return @c NULL.
1330 * @see elm_diskselector_item_append()
1331 * @deprecated Use elm_object_item_data_get()
1333 * @ingroup Diskselector
1335 EINA_DEPRECATED EAPI void *elm_diskselector_item_data_get(const Elm_Object_Item *it);
1338 * Set the icon associated to the item.
1340 * @param it The diskselector item
1341 * @param icon The icon object to associate with @p it
1343 * The icon object to use at left side of the item. An
1344 * icon can be any Evas object, but usually it is an icon created
1345 * with elm_icon_add().
1347 * Once the icon object is set, a previously set one will be deleted.
1348 * @warning Setting the same icon for two items will cause the icon to
1349 * dissapear from the first item.
1351 * If an icon was passed as argument on item creation, with function
1352 * elm_diskselector_item_append(), it will be already
1353 * associated to the item.
1355 * @see elm_diskselector_item_append()
1356 * @see elm_diskselector_item_icon_get()
1358 * @deprecated Use elm_object_item_part_content_set() instead
1359 * @ingroup Diskselector
1361 EINA_DEPRECATED EAPI void elm_diskselector_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
1364 * Get the icon associated to the item.
1366 * @param item The diskselector item
1367 * @return The icon associated to @p it
1369 * The return value is a pointer to the icon associated to @p item when it was
1370 * created, with function elm_diskselector_item_append(), or later
1371 * with function elm_diskselector_item_icon_set. If no icon
1372 * was passed as argument, it will return @c NULL.
1374 * @see elm_diskselector_item_append()
1375 * @see elm_diskselector_item_icon_set()
1377 * @deprecated Use elm_object_item_part_content_set() instead
1378 * @ingroup Diskselector
1380 EAPI Evas_Object *elm_diskselector_item_icon_get(const Elm_Object_Item *it);
1383 * Set the label of item.
1385 * @param it The item of diskselector.
1386 * @param label The label of item.
1388 * The label to be displayed by the item.
1390 * If no icon is set, label will be centered on item position, otherwise
1391 * the icon will be placed at left of the label, that will be shifted
1394 * An item with label "January" would be displayed on side position as
1395 * "Jan" if max length is set to 3 with function
1396 * elm_diskselector_side_label_lenght_set(), or "Janu", if this property
1399 * When this @p item is selected, the entire label will be displayed,
1400 * except for width restrictions.
1401 * In this case label will be cropped and "..." will be concatenated,
1402 * but only for display purposes. It will keep the entire string, so
1403 * if diskselector is resized the remaining characters will be displayed.
1405 * If a label was passed as argument on item creation, with function
1406 * elm_diskselector_item_append(), it will be already
1407 * displayed by the item.
1409 * @see elm_diskselector_side_label_lenght_set()
1410 * @see elm_diskselector_item_label_get()
1411 * @see elm_diskselector_item_append()
1413 * @deprecated Use elm_object_item_text_set() instead
1414 * @ingroup Diskselector
1416 EINA_DEPRECATED EAPI void elm_diskselector_item_label_set(Elm_Object_Item *it, const char *label);
1419 * Get the label of item.
1421 * @param it The item of diskselector.
1422 * @return The label of item.
1424 * The return value is a pointer to the label associated to @p item when it was
1425 * created, with function elm_diskselector_item_append(), or later
1426 * with function elm_diskselector_item_label_set. If no label
1427 * was passed as argument, it will return @c NULL.
1429 * @see elm_diskselector_item_label_set() for more details.
1430 * @see elm_diskselector_item_append()
1431 * @use elm_object_item_text_get()
1433 * @ingroup Diskselector
1435 EINA_DEPRECATED EAPI const char *elm_diskselector_item_label_get(const Elm_Object_Item *it);
1438 * Set the function called when a diskselector item is freed.
1440 * @param it The item to set the callback on
1441 * @param func The function called
1443 * If there is a @p func, then it will be called prior item's memory release.
1444 * That will be called with the following arguments:
1446 * @li item's Evas object;
1449 * This way, a data associated to a diskselector item could be properly
1451 * @deprecated Use elm_object_item_del_cb_set() instead
1453 * @ingroup Diskselector
1455 EINA_DEPRECATED EAPI void elm_diskselector_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
1458 * Delete them item from the diskselector.
1460 * @param it The item of diskselector to be deleted.
1462 * If deleting all diskselector items is required, elm_diskselector_clear()
1463 * should be used instead of getting items list and deleting each one.
1465 * @deprecated Use elm_object_item_del() instead
1466 * @see elm_diskselector_clear()
1467 * @see elm_diskselector_item_append()
1469 * @ingroup Diskselector
1471 EINA_DEPRECATED EAPI void elm_diskselector_item_del(Elm_Object_Item *it);
1473 EINA_DEPRECATED EAPI void elm_factory_content_set(Evas_Object *obj, Evas_Object *content);
1474 EINA_DEPRECATED EAPI Evas_Object *elm_factory_content_get(const Evas_Object *obj);
1477 * Get the label of a given flip selector widget's item.
1479 * @param it The item to get label from
1480 * @return The text label of @p item or @c NULL, on errors
1482 * @see elm_object_item_text_set()
1484 * @deprecated see elm_object_item_text_get() instead
1485 * @ingroup Flipselector
1487 EINA_DEPRECATED EAPI const char *elm_flipselector_item_label_get(const Elm_Object_Item *it);
1490 * Set the label of a given flip selector widget's item.
1492 * @param it The item to set label on
1493 * @param label The text label string, in UTF-8 encoding
1495 * @see elm_object_item_text_get()
1497 * @deprecated see elm_object_item_text_set() instead
1498 * @ingroup Flipselector
1500 EINA_DEPRECATED EAPI void elm_flipselector_item_label_set(Elm_Object_Item *it, const char *label);
1503 * Delete a given item from a flip selector widget.
1505 * @param it The item to delete
1507 * @deprecated Use elm_object_item_del() instead
1508 * @ingroup Flipselector
1510 EINA_DEPRECATED EAPI void elm_flipselector_item_del(Elm_Object_Item *it);
1513 * Make a given Elementary object the focused one.
1515 * @param obj The Elementary object to make focused.
1517 * @note This object, if it can handle focus, will take the focus
1518 * away from the one who had it previously and will, for now on, be
1519 * the one receiving input events.
1521 * @see elm_object_focus_get()
1522 * @deprecated use elm_object_focus_set() instead.
1526 EINA_DEPRECATED EAPI void elm_object_focus(Evas_Object *obj);
1529 * Remove the focus from an Elementary object
1531 * @param obj The Elementary to take focus from
1533 * This removes the focus from @p obj, passing it back to the
1534 * previous element in the focus chain list.
1536 * @see elm_object_focus() and elm_object_focus_custom_chain_get()
1537 * @deprecated use elm_object_focus_set() instead.
1541 EINA_DEPRECATED EAPI void elm_object_unfocus(Evas_Object *obj);
1544 * @brief Set the frame label
1546 * @param obj The frame object
1547 * @param label The label of this frame object
1549 * @deprecated use elm_object_text_set() instead.
1551 EINA_DEPRECATED EAPI void elm_frame_label_set(Evas_Object *obj, const char *label);
1554 * @brief Get the frame label
1556 * @param obj The frame object
1558 * @return The label of this frame objet or NULL if unable to get frame
1560 * @deprecated use elm_object_text_get() instead.
1562 EINA_DEPRECATED EAPI const char *elm_frame_label_get(const Evas_Object *obj);
1565 * @brief Set the content of the frame widget
1567 * Once the content object is set, a previously set one will be deleted.
1568 * If you want to keep that old content object, use the
1569 * elm_frame_content_unset() function.
1571 * @param obj The frame object
1572 * @param content The content will be filled in this frame object
1574 * @deprecated use elm_object_content_set() instead.
1576 EINA_DEPRECATED EAPI void elm_frame_content_set(Evas_Object *obj, Evas_Object *content);
1579 * @brief Get the content of the frame widget
1581 * Return the content object which is set for this widget
1583 * @param obj The frame object
1584 * @return The content that is being used
1586 * @deprecated use elm_object_content_get() instead.
1588 EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj);
1591 * @brief Unset the content of the frame widget
1593 * Unparent and return the content object which was set for this widget
1595 * @param obj The frame object
1596 * @return The content that was being used
1598 * @deprecated use elm_object_content_unset() instead.
1600 EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj);
1602 EINA_DEPRECATED EAPI void elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode);
1603 EINA_DEPRECATED EAPI Elm_List_Mode elm_genlist_horizontal_mode_get(const Evas_Object *obj);
1604 EINA_DEPRECATED EAPI void elm_genlist_item_icons_orphan(Elm_Genlist_Item *it);
1606 #define ELM_IMAGE_ROTATE_90_CW 1
1607 #define ELM_IMAGE_ROTATE_180_CW 2
1608 #define ELM_IMAGE_ROTATE_90_CCW 3
1611 * Return the data associated with a given index widget item
1613 * @param it The index widget item handle
1614 * @return The data associated with @p it
1615 * @deprecated Use elm_object_item_data_get() instead
1617 * @see elm_index_item_data_set()
1621 EINA_DEPRECATED EAPI void *elm_index_item_data_get(const Elm_Object_Item *item);
1624 * Set the data associated with a given index widget item
1626 * @param it The index widget item handle
1627 * @param data The new data pointer to set to @p it
1629 * This sets new item data on @p it.
1631 * @warning The old data pointer won't be touched by this function, so
1632 * the user had better to free that old data himself/herself.
1634 * @deprecated Use elm_object_item_data_set() instead
1637 EINA_DEPRECATED EAPI void elm_index_item_data_set(Elm_Object_Item *it, const void *data);
1640 * Set the function to be called when a given index widget item is freed.
1642 * @param it The item to set the callback on
1643 * @param func The function to call on the item's deletion
1645 * When called, @p func will have both @c data and @c event_info
1646 * arguments with the @p it item's data value and, naturally, the
1647 * @c obj argument with a handle to the parent index widget.
1649 * @deprecated Use elm_object_item_del_cb_set() instead
1652 EINA_DEPRECATED EAPI void elm_index_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
1655 * Remove an item from a given index widget, <b>to be referenced by
1656 * it's data value</b>.
1658 * @param obj The index object
1659 * @param item The item to be removed from @p obj
1661 * If a deletion callback is set, via elm_object_item_del_cb_set(),
1662 * that callback function will be called by this one.
1664 * @deprecated Use elm_object_item_del() instead
1667 EINA_DEPRECATED EAPI void elm_index_item_del(Evas_Object *obj, Elm_Object_Item *item);
1670 * @brief Set the label on the label object
1672 * @param obj The label object
1673 * @param label The label will be used on the label object
1674 * @deprecated See elm_object_text_set()
1676 EINA_DEPRECATED EAPI void elm_label_label_set(Evas_Object *obj, const char *label);
1679 * @brief Get the label used on the label object
1681 * @param obj The label object
1682 * @return The string inside the label
1683 * @deprecated See elm_object_text_get()
1685 EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj);
1689 * Set the layout content.
1691 * @param obj The layout object
1692 * @param swallow The swallow part name in the edje file
1693 * @param content The child that will be added in this layout object
1695 * Once the content object is set, a previously set one will be deleted.
1696 * If you want to keep that old content object, use the
1697 * elm_object_part_content_unset() function.
1699 * @note In an Edje theme, the part used as a content container is called @c
1700 * SWALLOW. This is why the parameter name is called @p swallow, but it is
1701 * expected to be a part name just like the second parameter of
1702 * elm_layout_box_append().
1704 * @see elm_layout_box_append()
1705 * @see elm_object_part_content_get()
1706 * @see elm_object_part_content_unset()
1708 * @deprecated use elm_object_part_content_set() instead
1712 EINA_DEPRECATED EAPI void elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
1715 * Get the child object in the given content part.
1717 * @param obj The layout object
1718 * @param swallow The SWALLOW part to get its content
1720 * @return The swallowed object or NULL if none or an error occurred
1722 * @deprecated use elm_object_part_content_get() instead
1726 EINA_DEPRECATED EAPI Evas_Object *elm_layout_content_get(const Evas_Object *obj, const char *swallow);
1729 * Unset the layout content.
1731 * @param obj The layout object
1732 * @param swallow The swallow part name in the edje file
1733 * @return The content that was being used
1735 * Unparent and return the content object which was set for this part.
1737 * @deprecated use elm_object_part_content_unset() instead
1741 EINA_DEPRECATED EAPI Evas_Object *elm_layout_content_unset(Evas_Object *obj, const char *swallow);
1744 * Set the text of the given part
1746 * @param obj The layout object
1747 * @param part The TEXT part where to set the text
1748 * @param text The text to set
1751 * @deprecated use elm_object_part_text_set() instead.
1753 EINA_DEPRECATED EAPI void elm_layout_text_set(Evas_Object *obj, const char *part, const char *text);
1756 * Get the text set in the given part
1758 * @param obj The layout object
1759 * @param part The TEXT part to retrieve the text off
1761 * @return The text set in @p part
1764 * @deprecated use elm_object_part_text_get() instead.
1766 EINA_DEPRECATED EAPI const char *elm_layout_text_get(const Evas_Object *obj, const char *part);
1769 * @def elm_layout_label_set
1770 * Convienience macro to set the label in a layout that follows the
1771 * Elementary naming convention for its parts.
1774 * @deprecated use elm_object_text_set() instead.
1776 #define elm_layout_label_set(_ly, _txt) \
1777 elm_layout_text_set((_ly), "elm.text", (_txt))
1780 * @def elm_layout_label_get
1781 * Convenience macro to get the label in a layout that follows the
1782 * Elementary naming convention for its parts.
1785 * @deprecated use elm_object_text_set() instead.
1787 #define elm_layout_label_get(_ly) \
1788 elm_layout_text_get((_ly), "elm.text")
1790 EINA_DEPRECATED EAPI Evas_Object *elm_list_item_base_get(const Elm_Object_Item *it);
1794 * Set the content of the mapbuf.
1796 * @param obj The mapbuf object.
1797 * @param content The content that will be filled in this mapbuf object.
1799 * Once the content object is set, a previously set one will be deleted.
1800 * If you want to keep that old content object, use the
1801 * elm_mapbuf_content_unset() function.
1803 * To enable map, elm_mapbuf_enabled_set() should be used.
1805 * @deprecated use elm_object_content_set() instead
1809 EINA_DEPRECATED EAPI void elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content);
1812 * Get the content of the mapbuf.
1814 * @param obj The mapbuf object.
1815 * @return The content that is being used.
1817 * Return the content object which is set for this widget.
1819 * @see elm_mapbuf_content_set() for details.
1821 * @deprecated use elm_object_content_get() instead
1825 EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj);
1828 * Unset the content of the mapbuf.
1830 * @param obj The mapbuf object.
1831 * @return The content that was being used.
1833 * Unparent and return the content object which was set for this widget.
1835 * @see elm_mapbuf_content_set() for details.
1837 * @deprecated use elm_object_content_unset() instead
1841 EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj);
1844 * @brief Set the label of a menu item
1846 * @param it The menu item object.
1847 * @param label The label to set for @p item
1849 * @warning Don't use this funcion on items created with
1850 * elm_menu_item_add_object() or elm_menu_item_separator_add().
1852 * @deprecated Use elm_object_item_text_set() instead
1854 EINA_DEPRECATED EAPI void elm_menu_item_label_set(Elm_Object_Item *it, const char *label);
1857 * @brief Get the label of a menu item
1859 * @param it The menu item object.
1860 * @return The label of @p item
1861 * @deprecated Use elm_object_item_text_get() instead
1863 EINA_DEPRECATED EAPI const char *elm_menu_item_label_get(const Elm_Object_Item *it);
1866 * @brief Set the content object of a menu item
1868 * @param it The menu item object
1869 * @param The content object or NULL
1870 * @return EINA_TRUE on success, else EINA_FALSE
1872 * Use this function to change the object swallowed by a menu item, deleting
1873 * any previously swallowed object.
1875 * @deprecated Use elm_object_item_content_set() instead
1877 EINA_DEPRECATED EAPI Eina_Bool elm_menu_item_object_content_set(Elm_Object_Item *it, Evas_Object *obj);
1880 * @brief Get the content object of a menu item
1882 * @param it The menu item object
1883 * @return The content object or NULL
1884 * @note If @p item was added with elm_menu_item_add_object, this
1885 * function will return the object passed, else it will return the
1888 * @see elm_menu_item_object_content_set()
1890 * @deprecated Use elm_object_item_content_get() instead
1892 EINA_DEPRECATED EAPI Evas_Object *elm_menu_item_object_content_get(const Elm_Object_Item *it);
1895 * @brief Set the disabled state of @p item.
1897 * @param it The menu item object.
1898 * @param disabled The enabled/disabled state of the item
1899 * @deprecated Use elm_object_item_disabled_set() instead
1901 EINA_DEPRECATED EAPI void elm_menu_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
1904 * @brief Get the disabled state of @p item.
1906 * @param it The menu item object.
1907 * @return The enabled/disabled state of the item
1909 * @see elm_menu_item_disabled_set()
1910 * @deprecated Use elm_object_item_disabled_get() instead
1912 EINA_DEPRECATED EAPI Eina_Bool elm_menu_item_disabled_get(const Elm_Object_Item *it);
1915 * @brief Returns the data associated with menu item @p item.
1917 * @param it The item
1918 * @return The data associated with @p item or NULL if none was set.
1920 * This is the data set with elm_menu_add() or elm_menu_item_data_set().
1922 * @deprecated Use elm_object_item_data_get() instead
1924 EINA_DEPRECATED EAPI void *elm_menu_item_data_get(const Elm_Object_Item *it);
1927 * @brief Set the function called when a menu item is deleted.
1929 * @param it The item to set the callback on
1930 * @param func The function called
1932 * @see elm_menu_item_add()
1933 * @see elm_menu_item_del()
1934 * @deprecated Use elm_object_item_del_cb_set() instead
1936 EINA_DEPRECATED EAPI void elm_menu_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
1939 * @brief Sets the data to be associated with menu item @p item.
1941 * @param it The item
1942 * @param data The data to be associated with @p item
1944 * @deprecated Use elm_object_item_data_set() instead
1946 EINA_DEPRECATED EAPI void elm_menu_item_data_set(Elm_Object_Item *it, const void *data);
1949 * @brief Deletes an item from the menu.
1951 * @param it The item to delete.
1953 * @deprecated Use elm_object_item_del() instead
1954 * @see elm_menu_item_add()
1956 EINA_DEPRECATED EAPI void elm_menu_item_del(Elm_Object_Item *it);
1959 * @brief Set the content of the notify widget
1961 * @param obj The notify object
1962 * @param content The content will be filled in this notify object
1964 * Once the content object is set, a previously set one will be deleted. If
1965 * you want to keep that old content object, use the
1966 * elm_notify_content_unset() function.
1968 * @deprecated use elm_object_content_set() instead
1971 EINA_DEPRECATED EAPI void elm_notify_content_set(Evas_Object *obj, Evas_Object *content);
1974 * @brief Unset the content of the notify widget
1976 * @param obj The notify object
1977 * @return The content that was being used
1979 * Unparent and return the content object which was set for this widget
1981 * @see elm_notify_content_set()
1982 * @deprecated use elm_object_content_unset() instead
1985 EINA_DEPRECATED EAPI Evas_Object *elm_notify_content_unset(Evas_Object *obj);
1988 * @brief Return the content of the notify widget
1990 * @param obj The notify object
1991 * @return The content that is being used
1993 * @see elm_notify_content_set()
1994 * @deprecated use elm_object_content_get() instead
1997 EINA_DEPRECATED EAPI Evas_Object *elm_notify_content_get(const Evas_Object *obj);
2000 * Set a label of an object
2002 * @param obj The Elementary object
2003 * @param part The text part name to set (NULL for the default label)
2004 * @param label The new text of the label
2006 * @note Elementary objects may have many labels (e.g. Action Slider)
2007 * @deprecated Use elm_object_part_text_set() instead.
2010 EINA_DEPRECATED EAPI void elm_object_text_part_set(Evas_Object *obj, const char *part, const char *label);
2013 * Get a label of an object
2015 * @param obj The Elementary object
2016 * @param part The text part name to get (NULL for the default label)
2017 * @return text of the label or NULL for any error
2019 * @note Elementary objects may have many labels (e.g. Action Slider)
2020 * @deprecated Use elm_object_part_text_get() instead.
2023 EINA_DEPRECATED EAPI const char *elm_object_text_part_get(const Evas_Object *obj, const char *part);
2026 * Set a content of an object
2028 * @param obj The Elementary object
2029 * @param part The content part name to set (NULL for the default content)
2030 * @param content The new content of the object
2032 * @note Elementary objects may have many contents
2033 * @deprecated Use elm_object_part_content_set instead.
2036 EINA_DEPRECATED EAPI void elm_object_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
2039 * Get a content of an object
2041 * @param obj The Elementary object
2042 * @param part The content part name to get (NULL for the default content)
2043 * @return content of the object or NULL for any error
2045 * @note Elementary objects may have many contents
2046 * @deprecated Use elm_object_part_content_get instead.
2049 EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_get(const Evas_Object *obj, const char *part);
2052 * Unset a content of an object
2054 * @param obj The Elementary object
2055 * @param part The content part name to unset (NULL for the default content)
2057 * @note Elementary objects may have many contents
2058 * @deprecated Use elm_object_part_content_unset instead.
2061 EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_unset(Evas_Object *obj, const char *part);
2064 * Set a content of an object item
2066 * @param it The Elementary object item
2067 * @param part The content part name to set (NULL for the default content)
2068 * @param content The new content of the object item
2070 * @note Elementary object items may have many contents
2071 * @deprecated Use elm_object_item_part_content_set instead.
2074 EINA_DEPRECATED EAPI void elm_object_item_content_part_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
2077 * Get a content of an object item
2079 * @param it The Elementary object item
2080 * @param part The content part name to unset (NULL for the default content)
2081 * @return content of the object item or NULL for any error
2083 * @note Elementary object items may have many contents
2084 * @deprecated Use elm_object_item_part_content_get instead.
2087 EINA_DEPRECATED EAPI Evas_Object *elm_object_item_content_part_get(const Elm_Object_Item *it, const char *part);
2090 * Unset a content of an object item
2092 * @param it The Elementary object item
2093 * @param part The content part name to unset (NULL for the default content)
2095 * @note Elementary object items may have many contents
2096 * @deprecated Use elm_object_item_part_content_unset instead.
2099 EINA_DEPRECATED EAPI Evas_Object *elm_object_item_content_part_unset(Elm_Object_Item *it, const char *part);
2102 * Get a label of an object item
2104 * @param it The Elementary object item
2105 * @param part The text part name to get (NULL for the default label)
2106 * @return text of the label or NULL for any error
2108 * @note Elementary object items may have many labels
2109 * @deprecated Use elm_object_item_part_text_get instead.
2112 EINA_DEPRECATED EAPI const char *elm_object_item_text_part_get(const Elm_Object_Item *it, const char *part);
2115 * Set a label of an object item
2117 * @param it The Elementary object item
2118 * @param part The text part name to set (NULL for the default label)
2119 * @param label The new text of the label
2121 * @note Elementary object items may have many labels
2122 * @deprecated Use elm_object_item_part_text_set instead.
2125 EINA_DEPRECATED EAPI void elm_object_item_text_part_set(Elm_Object_Item *it, const char *part, const char *label);
2128 * @brief Set the content of the panel.
2130 * @param obj The panel object
2131 * @param content The panel content
2133 * Once the content object is set, a previously set one will be deleted.
2134 * If you want to keep that old content object, use the
2135 * elm_panel_content_unset() function.
2137 * @deprecated use elm_object_content_set() instead
2140 EINA_DEPRECATED EAPI void elm_panel_content_set(Evas_Object *obj, Evas_Object *content);
2143 * @brief Get the content of the panel.
2145 * @param obj The panel object
2146 * @return The content that is being used
2148 * Return the content object which is set for this widget.
2150 * @see elm_panel_content_set()
2152 * @deprecated use elm_object_content_get() instead
2155 EINA_DEPRECATED EAPI Evas_Object *elm_panel_content_get(const Evas_Object *obj);
2158 * @brief Unset the content of the panel.
2160 * @param obj The panel object
2161 * @return The content that was being used
2163 * Unparent and return the content object which was set for this widget.
2165 * @see elm_panel_content_set()
2167 * @deprecated use elm_object_content_unset() instead
2170 EINA_DEPRECATED EAPI Evas_Object *elm_panel_content_unset(Evas_Object *obj);
2173 * Set the left content of the panes widget.
2175 * @param obj The panes object.
2176 * @param content The new left content object.
2178 * Once the content object is set, a previously set one will be deleted.
2179 * If you want to keep that old content object, use the
2180 * elm_panes_content_left_unset() function.
2182 * If panes is displayed vertically, left content will be displayed at
2185 * @see elm_panes_content_left_get()
2186 * @see elm_panes_content_right_set() to set content on the other side.
2188 * @deprecated use elm_object_part_content_set() instead
2192 EINA_DEPRECATED EAPI void elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content);
2195 * Set the right content of the panes widget.
2197 * @param obj The panes object.
2198 * @param content The new right content object.
2200 * Once the content object is set, a previously set one will be deleted.
2201 * If you want to keep that old content object, use the
2202 * elm_panes_content_right_unset() function.
2204 * If panes is displayed vertically, left content will be displayed at
2207 * @see elm_panes_content_right_get()
2208 * @see elm_panes_content_left_set() to set content on the other side.
2210 * @deprecated use elm_object_part_content_set() instead
2214 EINA_DEPRECATED EAPI void elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content);
2217 * Get the left content of the panes.
2219 * @param obj The panes object.
2220 * @return The left content object that is being used.
2222 * Return the left content object which is set for this widget.
2224 * @see elm_panes_content_left_set() for details.
2226 * @deprecated use elm_object_part_content_get() instead
2230 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_left_get(const Evas_Object *obj);
2233 * Get the right content of the panes.
2235 * @param obj The panes object
2236 * @return The right content object that is being used
2238 * Return the right content object which is set for this widget.
2240 * @see elm_panes_content_right_set() for details.
2242 * @deprecated use elm_object_part_content_get() instead
2246 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_right_get(const Evas_Object *obj);
2249 * Unset the left content used for the panes.
2251 * @param obj The panes object.
2252 * @return The left content object that was being used.
2254 * Unparent and return the left content object which was set for this widget.
2256 * @see elm_panes_content_left_set() for details.
2257 * @see elm_panes_content_left_get().
2259 * @deprecated use elm_object_part_content_unset() instead
2263 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_left_unset(Evas_Object *obj);
2266 * Unset the right content used for the panes.
2268 * @param obj The panes object.
2269 * @return The right content object that was being used.
2271 * Unparent and return the right content object which was set for this
2274 * @see elm_panes_content_right_set() for details.
2275 * @see elm_panes_content_right_get().
2277 * @deprecated use elm_object_part_content_unset() instead
2281 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_right_unset(Evas_Object *obj);
2283 * Set the label of a given progress bar widget
2285 * @param obj The progress bar object
2286 * @param label The text label string, in UTF-8
2288 * @ingroup Progressbar
2289 * @deprecated use elm_object_text_set() instead.
2291 EINA_DEPRECATED EAPI void elm_progressbar_label_set(Evas_Object *obj, const char *label);
2294 * Get the label of a given progress bar widget
2296 * @param obj The progressbar object
2297 * @return The text label string, in UTF-8
2299 * @ingroup Progressbar
2300 * @deprecated use elm_object_text_set() instead.
2302 EINA_DEPRECATED EAPI const char *elm_progressbar_label_get(const Evas_Object *obj);
2305 * Set the icon object of a given progress bar widget
2307 * @param obj The progress bar object
2308 * @param icon The icon object
2310 * Use this call to decorate @p obj with an icon next to it.
2312 * @note Once the icon object is set, a previously set one will be
2313 * deleted. If you want to keep that old content object, use the
2314 * elm_progressbar_icon_unset() function.
2316 * @see elm_progressbar_icon_get()
2317 * @deprecated use elm_object_part_content_set() instead.
2319 * @ingroup Progressbar
2321 EINA_DEPRECATED EAPI void elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon);
2324 * Retrieve the icon object set for a given progress bar widget
2326 * @param obj The progress bar object
2327 * @return The icon object's handle, if @p obj had one set, or @c NULL,
2328 * otherwise (and on errors)
2330 * @see elm_progressbar_icon_set() for more details
2331 * @deprecated use elm_object_part_content_get() instead.
2333 * @ingroup Progressbar
2335 EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj);
2338 * Unset an icon set on a given progress bar widget
2340 * @param obj The progress bar object
2341 * @return The icon object that was being used, if any was set, or
2342 * @c NULL, otherwise (and on errors)
2344 * This call will unparent and return the icon object which was set
2345 * for this widget, previously, on success.
2347 * @see elm_progressbar_icon_set() for more details
2348 * @deprecated use elm_object_part_content_unset() instead.
2350 * @ingroup Progressbar
2352 EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj);
2355 * @brief Set the text label of the radio object
2357 * @param obj The radio object
2358 * @param label The text label string in UTF-8
2360 * @deprecated use elm_object_text_set() instead.
2362 EINA_DEPRECATED EAPI void elm_radio_label_set(Evas_Object *obj, const char *label);
2365 * @brief Get the text label of the radio object
2367 * @param obj The radio object
2368 * @return The text label string in UTF-8
2370 * @deprecated use elm_object_text_set() instead.
2372 EINA_DEPRECATED EAPI const char *elm_radio_label_get(const Evas_Object *obj);
2375 * @brief Set the icon object of the radio object
2377 * @param obj The radio object
2378 * @param icon The icon object
2380 * Once the icon object is set, a previously set one will be deleted. If you
2381 * want to keep that old content object, use the elm_radio_icon_unset()
2384 * @deprecated use elm_object_part_content_set() instead.
2387 EINA_DEPRECATED EAPI void elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon);
2390 * @brief Get the icon object of the radio object
2392 * @param obj The radio object
2393 * @return The icon object
2395 * @see elm_radio_icon_set()
2397 * @deprecated use elm_object_part_content_get() instead.
2400 EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj);
2403 * @brief Unset the icon used for the radio object
2405 * @param obj The radio object
2406 * @return The icon object that was being used
2408 * Unparent and return the icon object which was set for this widget.
2410 * @see elm_radio_icon_set()
2411 * @deprecated use elm_object_part_content_unset() instead.
2414 EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj);
2417 * @brief Set the content of the scroller widget (the object to be scrolled around).
2419 * @param obj The scroller object
2420 * @param content The new content object
2422 * Once the content object is set, a previously set one will be deleted.
2423 * If you want to keep that old content object, use the
2424 * elm_scroller_content_unset() function.
2425 * @deprecated use elm_object_content_set() instead
2427 EINA_DEPRECATED EAPI void elm_scroller_content_set(Evas_Object *obj, Evas_Object *child);
2430 * @brief Get the content of the scroller widget
2432 * @param obj The slider object
2433 * @return The content that is being used
2435 * Return the content object which is set for this widget
2437 * @see elm_scroller_content_set()
2438 * @deprecated use elm_object_content_get() instead.
2440 EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj);
2443 * @brief Unset the content of the scroller widget
2445 * @param obj The slider object
2446 * @return The content that was being used
2448 * Unparent and return the content object which was set for this widget
2450 * @see elm_scroller_content_set()
2451 * @deprecated use elm_object_content_unset() instead.
2453 EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj);
2456 * Set the label of a given slider widget
2458 * @param obj The progress bar object
2459 * @param label The text label string, in UTF-8
2462 * @deprecated use elm_object_text_set() instead.
2464 EINA_DEPRECATED EAPI void elm_slider_label_set(Evas_Object *obj, const char *label);
2467 * Get the label of a given slider widget
2469 * @param obj The progressbar object
2470 * @return The text label string, in UTF-8
2473 * @deprecated use elm_object_text_get() instead.
2475 EINA_DEPRECATED EAPI const char *elm_slider_label_get(const Evas_Object *obj);
2478 * Set the icon object of the slider object.
2480 * @param obj The slider object.
2481 * @param icon The icon object.
2483 * On horizontal mode, icon is placed at left, and on vertical mode,
2486 * @note Once the icon object is set, a previously set one will be deleted.
2487 * If you want to keep that old content object, use the
2488 * elm_slider_icon_unset() function.
2490 * @warning If the object being set does not have minimum size hints set,
2491 * it won't get properly displayed.
2494 * @deprecated use elm_object_part_content_set() instead.
2496 EINA_DEPRECATED EAPI void elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon);
2499 * Unset an icon set on a given slider widget.
2501 * @param obj The slider object.
2502 * @return The icon object that was being used, if any was set, or
2503 * @c NULL, otherwise (and on errors).
2505 * On horizontal mode, icon is placed at left, and on vertical mode,
2508 * This call will unparent and return the icon object which was set
2509 * for this widget, previously, on success.
2511 * @see elm_slider_icon_set() for more details
2512 * @see elm_slider_icon_get()
2513 * @deprecated use elm_object_part_content_unset() instead.
2517 EINA_DEPRECATED EAPI Evas_Object *elm_slider_icon_unset(Evas_Object *obj);
2520 * Retrieve the icon object set for a given slider widget.
2522 * @param obj The slider object.
2523 * @return The icon object's handle, if @p obj had one set, or @c NULL,
2524 * otherwise (and on errors).
2526 * On horizontal mode, icon is placed at left, and on vertical mode,
2529 * @see elm_slider_icon_set() for more details
2530 * @see elm_slider_icon_unset()
2532 * @deprecated use elm_object_part_content_get() instead.
2536 EINA_DEPRECATED EAPI Evas_Object *elm_slider_icon_get(const Evas_Object *obj);
2539 * Set the end object of the slider object.
2541 * @param obj The slider object.
2542 * @param end The end object.
2544 * On horizontal mode, end is placed at left, and on vertical mode,
2547 * @note Once the icon object is set, a previously set one will be deleted.
2548 * If you want to keep that old content object, use the
2549 * elm_slider_end_unset() function.
2551 * @warning If the object being set does not have minimum size hints set,
2552 * it won't get properly displayed.
2554 * @deprecated use elm_object_part_content_set() instead.
2558 EINA_DEPRECATED EAPI void elm_slider_end_set(Evas_Object *obj, Evas_Object *end);
2561 * Unset an end object set on a given slider widget.
2563 * @param obj The slider object.
2564 * @return The end object that was being used, if any was set, or
2565 * @c NULL, otherwise (and on errors).
2567 * On horizontal mode, end is placed at left, and on vertical mode,
2570 * This call will unparent and return the icon object which was set
2571 * for this widget, previously, on success.
2573 * @see elm_slider_end_set() for more details.
2574 * @see elm_slider_end_get()
2576 * @deprecated use elm_object_part_content_unset() instead
2581 EINA_DEPRECATED EAPI Evas_Object *elm_slider_end_unset(Evas_Object *obj);
2584 * Retrieve the end object set for a given slider widget.
2586 * @param obj The slider object.
2587 * @return The end object's handle, if @p obj had one set, or @c NULL,
2588 * otherwise (and on errors).
2590 * On horizontal mode, icon is placed at right, and on vertical mode,
2593 * @see elm_slider_end_set() for more details.
2594 * @see elm_slider_end_unset()
2597 * @deprecated use elm_object_part_content_get() instead
2602 EINA_DEPRECATED EAPI Evas_Object *elm_slider_end_get(const Evas_Object *obj);
2605 * Return the data associated with a given slideshow item
2607 * @param it The slideshow item
2608 * @return Returns the data associated to this item
2610 * @deprecated use elm_object_item_data_get() instead
2611 * @ingroup Slideshow
2613 EINA_DEPRECATED EAPI void *elm_slideshow_item_data_get(const Elm_Object_Item *it);
2616 * Delete a given item from a slideshow widget.
2618 * @param it The slideshow item
2620 * @deprecated Use elm_object_item_de() instead
2621 * @ingroup Slideshow
2623 EINA_DEPRECATED EAPI void elm_slideshow_item_del(Elm_Object_Item *it);
2626 * Get the toolbar object from an item.
2628 * @param it The item.
2629 * @return The toolbar object.
2631 * This returns the toolbar object itself that an item belongs to.
2633 * @deprecated use elm_object_item_object_get() instead.
2636 EINA_DEPRECATED EAPI Evas_Object *elm_toolbar_item_toolbar_get(const Elm_Object_Item *it);
2639 * Get the label of item.
2641 * @param it The item of toolbar.
2642 * @return The label of item.
2644 * The return value is a pointer to the label associated to @p item when
2645 * it was created, with function elm_toolbar_item_append() or similar,
2647 * with function elm_toolbar_item_label_set. If no label
2648 * was passed as argument, it will return @c NULL.
2650 * @see elm_toolbar_item_label_set() for more details.
2651 * @see elm_toolbar_item_append()
2653 * @deprecated use elm_object_item_text_get() instead.
2656 EINA_DEPRECATED EAPI const char *elm_toolbar_item_label_get(const Elm_Object_Item *it);
2659 * Set the label of item.
2661 * @param it The item of toolbar.
2662 * @param text The label of item.
2664 * The label to be displayed by the item.
2665 * Label will be placed at icons bottom (if set).
2667 * If a label was passed as argument on item creation, with function
2668 * elm_toolbar_item_append() or similar, it will be already
2669 * displayed by the item.
2671 * @see elm_toolbar_item_label_get()
2672 * @see elm_toolbar_item_append()
2674 * @deprecated use elm_object_item_text_set() instead
2677 EINA_DEPRECATED EAPI void elm_toolbar_item_label_set(Elm_Object_Item *it, const char *label);
2680 * Return the data associated with a given toolbar widget item.
2682 * @param it The toolbar widget item handle.
2683 * @return The data associated with @p item.
2685 * @see elm_toolbar_item_data_set()
2687 * @deprecated use elm_object_item_data_get() instead.
2690 EINA_DEPRECATED EAPI void *elm_toolbar_item_data_get(const Elm_Object_Item *it);
2693 * Set the data associated with a given toolbar widget item.
2695 * @param it The toolbar widget item handle
2696 * @param data The new data pointer to set to @p item.
2698 * This sets new item data on @p item.
2700 * @warning The old data pointer won't be touched by this function, so
2701 * the user had better to free that old data himself/herself.
2703 * @deprecated use elm_object_item_data_set() instead.
2706 EINA_DEPRECATED EAPI void elm_toolbar_item_data_set(Elm_Object_Item *it, const void *data);
2709 * Get a value whether toolbar item is disabled or not.
2711 * @param it The item.
2712 * @return The disabled state.
2714 * @see elm_toolbar_item_disabled_set() for more details.
2716 * @deprecated use elm_object_item_disabled_get() instead.
2719 EINA_DEPRECATED EAPI Eina_Bool elm_toolbar_item_disabled_get(const Elm_Object_Item *it);
2722 * Sets the disabled/enabled state of a toolbar item.
2724 * @param it The item.
2725 * @param disabled The disabled state.
2727 * A disabled item cannot be selected or unselected. It will also
2728 * change its appearance (generally greyed out). This sets the
2729 * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
2732 * @deprecated use elm_object_item_disabled_set() instead.
2735 EINA_DEPRECATED EAPI void elm_toolbar_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
2738 * Change a toolbar's orientation
2739 * @param obj The toolbar object
2740 * @param vertical If @c EINA_TRUE, the toolbar is vertical
2741 * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
2743 * @deprecated use elm_toolbar_horizontal_set() instead.
2745 EINA_DEPRECATED EAPI void elm_toolbar_orientation_set(Evas_Object *obj, Eina_Bool vertical);
2748 * Get a toolbar's orientation
2749 * @param obj The toolbar object
2750 * @return If @c EINA_TRUE, the toolbar is vertical
2751 * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
2753 * @deprecated use elm_toolbar_horizontal_get() instead.
2755 EINA_DEPRECATED EAPI Eina_Bool elm_toolbar_orientation_get(const Evas_Object *obj);
2758 * Set the function called when a toolbar item is freed.
2760 * @param it The item to set the callback on.
2761 * @param func The function called.
2763 * If there is a @p func, then it will be called prior item's memory release.
2764 * That will be called with the following arguments:
2766 * @li item's Evas object;
2769 * This way, a data associated to a toolbar item could be properly freed.
2771 * @deprecated Use elm_object_item_del_cb_set() instead
2774 EINA_DEPRECATED EAPI void elm_toolbar_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
2777 * Delete them item from the toolbar.
2779 * @param it The item of toolbar to be deleted.
2781 * @deprecated Use elm_object_item_del() instead
2782 * @see elm_toolbar_item_append()
2786 EINA_DEPRECATED EAPI void elm_toolbar_item_del(Elm_Object_Item *it);
2789 * @brief Link a Elm_Payer with an Elm_Video object.
2791 * @param player the Elm_Player object.
2792 * @param video The Elm_Video object.
2794 * This mean that action on the player widget will affect the
2795 * video object and the state of the video will be reflected in
2796 * the player itself.
2798 * @see elm_player_add()
2799 * @see elm_video_add()
2800 * @deprecated use elm_object_part_content_set() instead
2804 EINA_DEPRECATED EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);
2807 * Set the label of item.
2809 * @param it The item of segment control.
2810 * @param text The label of item.
2812 * The label to be displayed by the item.
2813 * Label will be at right of the icon (if set).
2815 * If a label was passed as argument on item creation, with function
2816 * elm_control_segment_item_add(), it will be already
2817 * displayed by the item.
2819 * @see elm_segment_control_item_label_get()
2820 * @see elm_segment_control_item_add()
2821 * @deprecated Use elm_object_item_text_set() instead
2823 * @ingroup SegmentControl
2825 EINA_DEPRECATED EAPI void elm_segment_control_item_label_set(Elm_Object_Item *it, const char *label);
2829 * Set the icon associated to the item.
2831 * @param it The segment control item.
2832 * @param icon The icon object to associate with @p it.
2834 * The icon object to use at left side of the item. An
2835 * icon can be any Evas object, but usually it is an icon created
2836 * with elm_icon_add().
2838 * Once the icon object is set, a previously set one will be deleted.
2839 * @warning Setting the same icon for two items will cause the icon to
2840 * dissapear from the first item.
2842 * If an icon was passed as argument on item creation, with function
2843 * elm_segment_control_item_add(), it will be already
2844 * associated to the item.
2846 * @see elm_segment_control_item_add()
2847 * @see elm_segment_control_item_icon_get()
2848 * @deprecated Use elm_object_item_part_content_set() instead
2850 * @ingroup SegmentControl
2852 EINA_DEPRECATED EAPI void elm_segment_control_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
2855 * Remove a segment control item from its parent, deleting it.
2857 * @param it The item to be removed.
2859 * Items can be added with elm_segment_control_item_add() or
2860 * elm_segment_control_item_insert_at().
2862 * @deprecated Use elm_object_item_del() instead
2863 * @ingroup SegmentControl
2865 EINA_DEPRECATED EAPI void elm_segment_control_item_del(Elm_Object_Item *it);
2870 * @param obj The multibuttonentry object
2871 * @return The label, or NULL if none
2873 * @deprecated Use elm_object_text_get() instead
2876 EINA_DEPRECATED EAPI const char *elm_multibuttonentry_label_get(const Evas_Object *obj);
2881 * @param obj The multibuttonentry object
2882 * @param label The text label string
2884 * @deprecated Use elm_object_text_set() instead
2887 EINA_DEPRECATED EAPI void elm_multibuttonentry_label_set(Evas_Object *obj, const char *label);
2890 * Get the label of a given item
2892 * @param it The item
2893 * @return The label of a given item, or NULL if none
2895 * @deprecated Use elm_object_item_text_get() instead
2898 EINA_DEPRECATED EAPI const char *elm_multibuttonentry_item_label_get(const Elm_Object_Item *it);
2901 * Set the label of a given item
2903 * @param it The item
2904 * @param str The text label string
2906 * @deprecated Use elm_object_item_text_set() instead
2908 EINA_DEPRECATED EAPI void elm_multibuttonentry_item_label_set(Elm_Object_Item *it, const char *str);
2911 * Delete a given item
2913 * @param it The item
2915 * @deprecated Use elm_object_item_del() instead
2918 EINA_DEPRECATED EAPI void elm_multibuttonentry_item_del(Elm_Object_Item *it);
2921 * @brief Delete the given item instantly.
2923 * @param it The naviframe item
2925 * This just deletes the given item from the naviframe item list instantly.
2926 * So this would not emit any signals for view transitions but just change
2927 * the current view if the given item is a top one.
2929 * @deprecated Use elm_object_item_del() instead
2930 * @ingroup Naviframe
2932 EINA_DEPRECATED EAPI void elm_naviframe_item_del(Elm_Object_Item *it);
2937 * Sets the disabled/enabled state of a list item.
2939 * @param it The item.
2940 * @param disabled The disabled state.
2942 * A disabled item cannot be selected or unselected. It will also
2943 * change its appearance (generally greyed out). This sets the
2944 * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
2947 * @deprecated Use elm_object_item_disabled_set() instead
2951 EINA_DEPRECATED EAPI void elm_list_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
2954 * Get a value whether list item is disabled or not.
2956 * @param it The item.
2957 * @return The disabled state.
2959 * @see elm_list_item_disabled_set() for more details.
2961 * @deprecated Use elm_object_item_disabled_get() instead
2965 EINA_DEPRECATED EAPI Eina_Bool elm_list_item_disabled_get(const Elm_Object_Item *it);
2968 * Set the function called when a list item is freed.
2970 * @param it The item to set the callback on
2971 * @param func The function called
2973 * If there is a @p func, then it will be called prior item's memory release.
2974 * That will be called with the following arguments:
2976 * @li item's Evas object;
2979 * This way, a data associated to a list item could be properly freed.
2981 * @deprecated Please use elm_object_item_del_cb_set() instead.
2985 EINA_DEPRECATED EAPI void elm_list_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
2988 * Get the data associated to the item.
2990 * @param it The list item
2991 * @return The data associated to @p item
2993 * The return value is a pointer to data associated to @p item when it was
2994 * created, with function elm_list_item_append() or similar. If no data
2995 * was passed as argument, it will return @c NULL.
2997 * @see elm_list_item_append()
2999 * @deprecated Please use elm_object_item_data_get() instead.
3003 EINA_DEPRECATED EAPI void *elm_list_item_data_get(const Elm_Object_Item *it);
3006 * Get the left side icon associated to the item.
3008 * @param it The list item
3009 * @return The left side icon associated to @p item
3011 * The return value is a pointer to the icon associated to @p item when
3013 * created, with function elm_list_item_append() or similar, or later
3014 * with function elm_list_item_icon_set(). If no icon
3015 * was passed as argument, it will return @c NULL.
3017 * @see elm_list_item_append()
3018 * @see elm_list_item_icon_set()
3020 * @deprecated Please use elm_object_item_part_content_get(item, NULL);
3023 EINA_DEPRECATED EAPI Evas_Object *elm_list_item_icon_get(const Elm_Object_Item *it);
3026 * Set the left side icon associated to the item.
3028 * @param it The list item
3029 * @param icon The left side icon object to associate with @p item
3031 * The icon object to use at left side of the item. An
3032 * icon can be any Evas object, but usually it is an icon created
3033 * with elm_icon_add().
3035 * Once the icon object is set, a previously set one will be deleted.
3036 * @warning Setting the same icon for two items will cause the icon to
3037 * dissapear from the first item.
3039 * If an icon was passed as argument on item creation, with function
3040 * elm_list_item_append() or similar, it will be already
3041 * associated to the item.
3043 * @see elm_list_item_append()
3044 * @see elm_list_item_icon_get()
3046 * @deprecated Please use elm_object_item_part_content_set(item, NULL, icon);
3049 EINA_DEPRECATED EAPI void elm_list_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
3052 * Get the right side icon associated to the item.
3054 * @param it The list item
3055 * @return The right side icon associated to @p item
3057 * The return value is a pointer to the icon associated to @p item when
3059 * created, with function elm_list_item_append() or similar, or later
3060 * with function elm_list_item_icon_set(). If no icon
3061 * was passed as argument, it will return @c NULL.
3063 * @see elm_list_item_append()
3064 * @see elm_list_item_icon_set()
3066 * @deprecated Please use elm_object_item_part_content_get(item, "end");
3069 EINA_DEPRECATED EAPI Evas_Object *elm_list_item_end_get(const Elm_Object_Item *it);
3072 * Set the right side icon associated to the item.
3074 * @param it The list item
3075 * @param end The right side icon object to associate with @p item
3077 * The icon object to use at right side of the item. An
3078 * icon can be any Evas object, but usually it is an icon created
3079 * with elm_icon_add().
3081 * Once the icon object is set, a previously set one will be deleted.
3082 * @warning Setting the same icon for two items will cause the icon to
3083 * dissapear from the first item.
3085 * If an icon was passed as argument on item creation, with function
3086 * elm_list_item_append() or similar, it will be already
3087 * associated to the item.
3089 * @see elm_list_item_append()
3090 * @see elm_list_item_end_get()
3092 * @deprecated Please use elm_object_item_part_content_set(item, "end", end);
3095 EINA_DEPRECATED EAPI void elm_list_item_end_set(Elm_Object_Item *it, Evas_Object *end);
3098 * Get the label of item.
3100 * @param it The item of list.
3101 * @return The label of item.
3103 * The return value is a pointer to the label associated to @p item when
3104 * it was created, with function elm_list_item_append(), or later
3105 * with function elm_list_item_label_set. If no label
3106 * was passed as argument, it will return @c NULL.
3108 * @see elm_list_item_label_set() for more details.
3109 * @see elm_list_item_append()
3111 * @deprecated Please use elm_object_item_text_get(item);
3114 EINA_DEPRECATED EAPI const char *elm_list_item_label_get(const Elm_Object_Item *it);
3117 * Set the label of item.
3119 * @param it The item of list.
3120 * @param text The label of item.
3122 * The label to be displayed by the item.
3123 * Label will be placed between left and right side icons (if set).
3125 * If a label was passed as argument on item creation, with function
3126 * elm_list_item_append() or similar, it will be already
3127 * displayed by the item.
3129 * @see elm_list_item_label_get()
3130 * @see elm_list_item_append()
3132 * @deprecated Please use elm_object_item_text_set(item, text);
3135 EINA_DEPRECATED EAPI void elm_list_item_label_set(Elm_Object_Item *it, const char *text);
3138 * Set the text to be shown in a given list item's tooltips.
3140 * @param it Target item.
3141 * @param text The text to set in the content.
3143 * Setup the text as tooltip to object. The item can have only one tooltip,
3144 * so any previous tooltip data - set with this function or
3145 * elm_list_item_tooltip_content_cb_set() - is removed.
3147 * @deprecated Use elm_object_item_tooltip_text_set() instead
3148 * @see elm_object_tooltip_text_set() for more details.
3152 EINA_DEPRECATED EAPI void elm_list_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
3155 * @brief Disable size restrictions on an object's tooltip
3156 * @param it The tooltip's anchor object
3157 * @param disable If EINA_TRUE, size restrictions are disabled
3158 * @return EINA_FALSE on failure, EINA_TRUE on success
3160 * This function allows a tooltip to expand beyond its parant window's canvas.
3161 * It will instead be limited only by the size of the display.
3163 * @deprecated Use elm_object_item_tooltip_window_mode_set() instead
3166 EINA_DEPRECATED EAPI Eina_Bool elm_list_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable);
3169 * @brief Retrieve size restriction state of an object's tooltip
3170 * @param obj The tooltip's anchor object
3171 * @return If EINA_TRUE, size restrictions are disabled
3173 * This function returns whether a tooltip is allowed to expand beyond
3174 * its parant window's canvas.
3175 * It will instead be limited only by the size of the display.
3177 * @deprecated Use elm_object_item_tooltip_window_mode_get() instead
3180 EINA_DEPRECATED EAPI Eina_Bool elm_list_item_tooltip_window_mode_get(const Elm_Object_Item *it);
3183 * Set the content to be shown in the tooltip item.
3185 * Setup the tooltip to item. The item can have only one tooltip,
3186 * so any previous tooltip data is removed. @p func(with @p data) will
3187 * be called every time that need show the tooltip and it should
3188 * return a valid Evas_Object. This object is then managed fully by
3189 * tooltip system and is deleted when the tooltip is gone.
3191 * @param it the list item being attached a tooltip.
3192 * @param func the function used to create the tooltip contents.
3193 * @param data what to provide to @a func as callback data/context.
3194 * @param del_cb called when data is not needed anymore, either when
3195 * another callback replaces @a func, the tooltip is unset with
3196 * elm_list_item_tooltip_unset() or the owner @a item
3197 * dies. This callback receives as the first parameter the
3198 * given @a data, and @c event_info is the item.
3200 * @deprecated Use elm_object_item_tooltip_content_cb_set() instead
3202 * @see elm_object_tooltip_content_cb_set() for more details.
3206 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);
3209 * Unset tooltip from item.
3211 * @param it list item to remove previously set tooltip.
3213 * Remove tooltip from item. The callback provided as del_cb to
3214 * elm_list_item_tooltip_content_cb_set() will be called to notify
3215 * it is not used anymore.
3217 * @deprecated Use elm_object_item_tooltip_unset() instead
3218 * @see elm_object_tooltip_unset() for more details.
3219 * @see elm_list_item_tooltip_content_cb_set()
3223 EINA_DEPRECATED EAPI void elm_list_item_tooltip_unset(Elm_Object_Item *it);
3226 * Sets a different style for this item tooltip.
3228 * @note before you set a style you should define a tooltip with
3229 * elm_list_item_tooltip_content_cb_set() or
3230 * elm_list_item_tooltip_text_set()
3232 * @param it list item with tooltip already set.
3233 * @param style the theme style to use (default, transparent, ...)
3236 * @deprecated Use elm_object_item_tooltip_style_set() instead
3237 * @see elm_object_tooltip_style_set() for more details.
3241 EINA_DEPRECATED EAPI void elm_list_item_tooltip_style_set(Elm_Object_Item *it, const char *style);
3244 * Get the style for this item tooltip.
3246 * @param item list item with tooltip already set.
3247 * @return style the theme style in use, defaults to "default". If the
3248 * object does not have a tooltip set, then NULL is returned.
3250 * @deprecated Use elm_object_item_tooltip_style_get() instead
3252 * @see elm_object_tooltip_style_get() for more details.
3253 * @see elm_list_item_tooltip_style_set()
3257 EINA_DEPRECATED EAPI const char *elm_list_item_tooltip_style_get(const Elm_Object_Item *it);
3261 * Set the shrink state of toolbar @p obj.
3263 * @param obj The toolbar object.
3264 * @param shrink_mode Toolbar's items display behavior.
3266 * The toolbar won't scroll if #ELM_TOOLBAR_SHRINK_NONE,
3267 * but will enforce a minimun size so all the items will fit, won't scroll
3268 * and won't show the items that don't fit if #ELM_TOOLBAR_SHRINK_HIDE,
3269 * will scroll if #ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to
3270 * pop up excess elements with #ELM_TOOLBAR_SHRINK_MENU.
3272 * @deprecated Please use elm_toolbar_shrink_mode_set(obj, shrink_mode);
3275 EINA_DEPRECATED EAPI void elm_toolbar_mode_shrink_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode);
3278 * Get the shrink mode of toolbar @p obj.
3280 * @param obj The toolbar object.
3281 * @return Toolbar's items display behavior.
3283 * @see elm_toolbar_shrink_mode_set() for details.
3285 * @deprecated Please use elm_toolbar_shrink_mode_get(obj);
3288 EINA_DEPRECATED EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_mode_shrink_get(const Evas_Object *obj);
3291 * This sets a widget to be displayed to the left of a scrolled entry.
3293 * @param obj The scrolled entry object
3294 * @param icon The widget to display on the left side of the scrolled
3297 * @note A previously set widget will be destroyed.
3298 * @note If the object being set does not have minimum size hints set,
3299 * it won't get properly displayed.
3301 * @deprecated Use elm_object_part_content_set(entry, "icon", content) instead
3302 * @see elm_entry_end_set()
3304 EINA_DEPRECATED EAPI void elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
3307 * Gets the leftmost widget of the scrolled entry. This object is
3308 * owned by the scrolled entry and should not be modified.
3310 * @param obj The scrolled entry object
3311 * @return the left widget inside the scroller
3313 * @deprecated Use elm_object_part_content_get(entry, "icon") instead
3315 EINA_DEPRECATED EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj);
3318 * Unset the leftmost widget of the scrolled entry, unparenting and
3321 * @param obj The scrolled entry object
3322 * @return the previously set icon sub-object of this entry, on
3325 * @deprecated Use elm_object_part_content_unset(entry, "icon") instead
3326 * @see elm_entry_icon_set()
3328 EINA_DEPRECATED EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj);
3331 * This sets a widget to be displayed to the end of a scrolled entry.
3333 * @param obj The scrolled entry object
3334 * @param end The widget to display on the right side of the scrolled
3337 * @note A previously set widget will be destroyed.
3338 * @note If the object being set does not have minimum size hints set,
3339 * it won't get properly displayed.
3341 * @deprecated Use elm_object_part_content_set(entry, "end", content) instead
3342 * @see elm_entry_icon_set
3344 EINA_DEPRECATED EAPI void elm_entry_end_set(Evas_Object *obj, Evas_Object *end);
3347 * Gets the endmost widget of the scrolled entry. This object is owned
3348 * by the scrolled entry and should not be modified.
3350 * @param obj The scrolled entry object
3351 * @return the right widget inside the scroller
3353 * @deprecated Use elm_object_part_content_get(entry, "end") instead
3355 EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj);
3358 * Unset the endmost widget of the scrolled entry, unparenting and
3361 * @param obj The scrolled entry object
3362 * @return the previously set icon sub-object of this entry, on
3365 * @deprecated Use elm_object_part_content_unset(entry, "end") instead
3366 * @see elm_entry_icon_set()
3368 EINA_DEPRECATED EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj);