cb62f9ef14cf89f308cf571ee8bb19c0dda909b1
[framework/uifw/elementary.git] / src / lib / elm_deprecated.h
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);
12
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);
23
24 /**
25  * Get the widget object's handle which contains a given item
26  *
27  * @param it The Elementary object item
28  * @return The widget object
29  *
30  * @note This returns the widget object itself that an item belongs to.
31  * @note Every elm_object_item supports this API
32  * @deprecated Use elm_object_item_widget_get() instead
33  * @ingroup General
34  */
35 EINA_DEPRECATED EAPI Evas_Object                 *elm_object_item_object_get(const Elm_Object_Item *it);
36
37 /**
38  * @defgroup Toggle Toggle
39  *
40  * @image html img/widget/toggle/preview-00.png
41  * @image latex img/widget/toggle/preview-00.eps
42  *
43  * @brief A toggle is a slider which can be used to toggle between
44  * two values.  It has two states: on and off.
45  *
46  * This widget is deprecated. Please use elm_check_add() instead using the
47  * toggle style like:
48  *
49  * @code
50  * obj = elm_check_add(parent);
51  * elm_object_style_set(obj, "toggle");
52  * elm_object_part_text_set(obj, "on", "ON");
53  * elm_object_part_text_set(obj, "off", "OFF");
54  * @endcode
55  *
56  * Signals that you can add callbacks for are:
57  * @li "changed" - Whenever the toggle value has been changed.  Is not called
58  *                 until the toggle is released by the cursor (assuming it
59  *                 has been triggered by the cursor in the first place).
60  *
61  * Default contents parts of the toggle widget that you can use for are:
62  * @li "icon" - An icon of the toggle
63  *
64  * Default text parts of the toggle widget that you can use for are:
65  * @li "elm.text" - Label of the toggle
66  *
67  * @ref tutorial_toggle show how to use a toggle.
68  * @{
69  */
70
71 /**
72  * @brief Add a toggle to @p parent.
73  *
74  * @param parent The parent object
75  *
76  * @return The toggle object
77  */
78 EINA_DEPRECATED EAPI Evas_Object *elm_toggle_add(Evas_Object *parent);
79
80 /**
81  * @brief Sets the label to be displayed with the toggle.
82  *
83  * @param obj The toggle object
84  * @param label The label to be displayed
85  *
86  * @deprecated use elm_object_text_set() instead.
87  */
88 EINA_DEPRECATED EAPI void         elm_toggle_label_set(Evas_Object *obj, const char *label);
89
90 /**
91  * @brief Gets the label of the toggle
92  *
93  * @param obj  toggle object
94  * @return The label of the toggle
95  *
96  * @deprecated use elm_object_text_get() instead.
97  */
98 EINA_DEPRECATED EAPI const char  *elm_toggle_label_get(const Evas_Object *obj);
99
100 /**
101  * @brief Set the icon used for the toggle
102  *
103  * @param obj The toggle object
104  * @param icon The icon object for the button
105  *
106  * Once the icon object is set, a previously set one will be deleted
107  * If you want to keep that old content object, use the
108  * elm_toggle_icon_unset() function.
109  *
110  * @deprecated use elm_object_part_content_set() instead.
111  */
112 EINA_DEPRECATED EAPI void         elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon);
113
114 /**
115  * @brief Get the icon used for the toggle
116  *
117  * @param obj The toggle object
118  * @return The icon object that is being used
119  *
120  * Return the icon object which is set for this widget.
121  *
122  * @see elm_toggle_icon_set()
123  *
124  * @deprecated use elm_object_part_content_get() instead.
125  */
126 EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj);
127
128 /**
129  * @brief Unset the icon used for the toggle
130  *
131  * @param obj The toggle object
132  * @return The icon object that was being used
133  *
134  * Unparent and return the icon object which was set for this widget.
135  *
136  * @see elm_toggle_icon_set()
137  *
138  * @deprecated use elm_object_part_content_unset() instead.
139  */
140 EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_unset(Evas_Object *obj);
141
142 /**
143  * @brief Sets the labels to be associated with the on and off states of the toggle.
144  *
145  * @param obj The toggle object
146  * @param onlabel The label displayed when the toggle is in the "on" state
147  * @param offlabel The label displayed when the toggle is in the "off" state
148  *
149  * @deprecated use elm_object_part_text_set() for "on" and "off" parts
150  * instead.
151  */
152 EINA_DEPRECATED EAPI void         elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel);
153
154 /**
155  * @brief Gets the labels associated with the on and off states of the
156  * toggle.
157  *
158  * @param obj The toggle object
159  * @param onlabel A char** to place the onlabel of @p obj into
160  * @param offlabel A char** to place the offlabel of @p obj into
161  *
162  * @deprecated use elm_object_part_text_get() for "on" and "off" parts
163  * instead.
164  */
165 EINA_DEPRECATED EAPI void         elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel);
166
167 /**
168  * @brief Sets the state of the toggle to @p state.
169  *
170  * @param obj The toggle object
171  * @param state The state of @p obj
172  *
173  * @deprecated use elm_check_state_set() instead.
174  */
175 EINA_DEPRECATED EAPI void         elm_toggle_state_set(Evas_Object *obj, Eina_Bool state);
176
177 /**
178  * @brief Gets the state of the toggle to @p state.
179  *
180  * @param obj The toggle object
181  * @return The state of @p obj
182  *
183  * @deprecated use elm_check_state_get() instead.
184  */
185 EINA_DEPRECATED EAPI Eina_Bool    elm_toggle_state_get(const Evas_Object *obj);
186
187 /**
188  * @brief Sets the state pointer of the toggle to @p statep.
189  *
190  * @param obj The toggle object
191  * @param statep The state pointer of @p obj
192  *
193  * @deprecated use elm_check_state_pointer_set() instead.
194  */
195 EINA_DEPRECATED EAPI void         elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep);
196
197 /**
198  * @}
199  */
200
201 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent);
202 EINA_DEPRECATED EAPI void         elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
203 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_single_line_get(const Evas_Object *obj);
204 EINA_DEPRECATED EAPI void         elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password);
205 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_password_get(const Evas_Object *obj);
206 EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry);
207 EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_entry_get(const Evas_Object *obj);
208 EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry);
209 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_is_empty(const Evas_Object *obj);
210 EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_selection_get(const Evas_Object *obj);
211 EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry);
212 EINA_DEPRECATED EAPI void         elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap);
213 EINA_DEPRECATED EAPI void         elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
214 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_editable_get(const Evas_Object *obj);
215 EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_none(Evas_Object *obj);
216 EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_all(Evas_Object *obj);
217 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_next(Evas_Object *obj);
218 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_prev(Evas_Object *obj);
219 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_up(Evas_Object *obj);
220 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_down(Evas_Object *obj);
221 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_begin_set(Evas_Object *obj);
222 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_end_set(Evas_Object *obj);
223 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj);
224 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj);
225 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj);
226 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_end(Evas_Object *obj);
227 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj);
228 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj);
229 EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj);
230 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos);
231 EINA_DEPRECATED EAPI int          elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj);
232 EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_cut(Evas_Object *obj);
233 EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_copy(Evas_Object *obj);
234 EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_paste(Evas_Object *obj);
235 EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_clear(Evas_Object *obj);
236 EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data);
237 EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
238 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj);
239 EINA_DEPRECATED EAPI void         elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
240 EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
241 EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
242 EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
243 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj);
244 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj);
245 EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
246 EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end);
247 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj);
248 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj);
249 EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
250 EINA_DEPRECATED EAPI void         elm_scrolled_entry_item_provider_append(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data);
251 EINA_DEPRECATED EAPI void         elm_scrolled_entry_item_provider_prepend(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data);
252 EINA_DEPRECATED EAPI void         elm_scrolled_entry_item_provider_remove(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data);
253 EINA_DEPRECATED EAPI void         elm_scrolled_entry_text_filter_append(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
254 EINA_DEPRECATED EAPI void         elm_scrolled_entry_text_filter_prepend(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
255 EINA_DEPRECATED EAPI void         elm_scrolled_entry_text_filter_remove(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
256 EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format);
257 EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format);
258 EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_save(Evas_Object *obj);
259 EINA_DEPRECATED EAPI void         elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave);
260 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_autosave_get(const Evas_Object *obj);
261 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly);
262 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj);
263
264 /**
265  * Set the text to show in the anchorblock
266  *
267  * Sets the text of the anchorblock to @p text. This text can include markup
268  * format tags, including <c>\<a href=anchorname\></a></c> to begin a segment
269  * of text that will be specially styled and react to click events, ended
270  * with either of \</a\> or \</\>. When clicked, the anchor will emit an
271  * "anchor,clicked" signal that you can attach a callback to with
272  * evas_object_smart_callback_add(). The name of the anchor given in the
273  * event info struct will be the one set in the href attribute, in this
274  * case, anchorname.
275  *
276  * Other markup can be used to style the text in different ways, but it's
277  * up to the style defined in the theme which tags do what.
278  * @deprecated use elm_object_text_set() instead.
279  */
280 EINA_DEPRECATED EAPI void        elm_anchorblock_text_set(Evas_Object *obj, const char *text);
281
282 /**
283  * Get the markup text set for the anchorblock
284  *
285  * Retrieves the text set on the anchorblock, with markup tags included.
286  *
287  * @param obj The anchorblock object
288  * @return The markup text set or @c NULL if nothing was set or an error
289  * occurred
290  * @deprecated use elm_object_text_set() instead.
291  */
292 EINA_DEPRECATED EAPI const char *elm_anchorblock_text_get(const Evas_Object *obj);
293
294 /**
295  * Set the text to show in the anchorview
296  *
297  * Sets the text of the anchorview to @p text. This text can include markup
298  * format tags, including <c>\<a href=anchorname\></c> to begin a segment of
299  * text that will be specially styled and react to click events, ended with
300  * either of \</a\> or \</\>. When clicked, the anchor will emit an
301  * "anchor,clicked" signal that you can attach a callback to with
302  * evas_object_smart_callback_add(). The name of the anchor given in the
303  * event info struct will be the one set in the href attribute, in this
304  * case, anchorname.
305  *
306  * Other markup can be used to style the text in different ways, but it's
307  * up to the style defined in the theme which tags do what.
308  * @deprecated use elm_object_text_set() instead.
309  */
310 EINA_DEPRECATED EAPI void        elm_anchorview_text_set(Evas_Object *obj, const char *text);
311
312 /**
313  * Get the markup text set for the anchorview
314  *
315  * Retrieves the text set on the anchorview, with markup tags included.
316  *
317  * @param obj The anchorview object
318  * @return The markup text set or @c NULL if nothing was set or an error
319  * occurred
320  * @deprecated use elm_object_text_set() instead.
321  */
322 EINA_DEPRECATED EAPI const char *elm_anchorview_text_get(const Evas_Object *obj);
323
324 /**
325  * @brief Get the ctxpopup item's disabled/enabled state.
326  *
327  * @param it Ctxpopup item to be enabled/disabled
328  * @return disabled @c EINA_TRUE, if disabled, @c EINA_FALSE otherwise
329  *
330  * @see elm_ctxpopup_item_disabled_set()
331  * @deprecated use elm_object_item_disabled_get() instead
332  *
333  * @ingroup Ctxpopup
334  */
335 EINA_DEPRECATED EAPI Eina_Bool                    elm_ctxpopup_item_disabled_get(const Elm_Object_Item *it);
336
337 /**
338  * @brief Set the ctxpopup item's state as disabled or enabled.
339  *
340  * @param it Ctxpopup item to be enabled/disabled
341  * @param disabled @c EINA_TRUE to disable it, @c EINA_FALSE to enable it
342  *
343  * When disabled the item is greyed out to indicate it's state.
344  * @deprecated use elm_object_item_disabled_set() instead
345  *
346  * @ingroup Ctxpopup
347  */
348 EINA_DEPRECATED EAPI void         elm_ctxpopup_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
349
350 /**
351  * @brief Get the icon object for the given ctxpopup item.
352  *
353  * @param it Ctxpopup item
354  * @return icon object or @c NULL, if the item does not have icon or an error
355  * occurred
356  *
357  * @see elm_ctxpopup_item_append()
358  * @see elm_ctxpopup_item_icon_set()
359  *
360  * @deprecated use elm_object_item_part_content_get() instead
361  *
362  * @ingroup Ctxpopup
363  */
364 EINA_DEPRECATED EAPI Evas_Object *elm_ctxpopup_item_icon_get(const Elm_Object_Item *it);
365
366 /**
367  * @brief Sets the side icon associated with the ctxpopup item
368  *
369  * @param it Ctxpopup item
370  * @param icon Icon object to be set
371  *
372  * Once the icon object is set, a previously set one will be deleted.
373  * @warning Setting the same icon for two items will cause the icon to
374  * dissapear from the first item.
375  *
376  * @see elm_ctxpopup_item_append()
377  *
378  * @deprecated use elm_object_item_part_content_set() instead
379  *
380  * @ingroup Ctxpopup
381  */
382 EINA_DEPRECATED EAPI void         elm_ctxpopup_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
383
384 /**
385  * @brief Get the label for the given ctxpopup item.
386  *
387  * @param it Ctxpopup item
388  * @return label string or @c NULL, if the item does not have label or an
389  * error occured
390  *
391  * @see elm_ctxpopup_item_append()
392  * @see elm_ctxpopup_item_label_set()
393  *
394  * @deprecated use elm_object_item_text_get() instead
395  *
396  * @ingroup Ctxpopup
397  */
398 EINA_DEPRECATED EAPI const char  *elm_ctxpopup_item_label_get(const Elm_Object_Item *it);
399
400 /**
401  * @brief (Re)set the label on the given ctxpopup item.
402  *
403  * @param it Ctxpopup item
404  * @param label String to set as label
405  *
406  * @deprecated use elm_object_item_text_set() instead
407  *
408  * @ingroup Ctxpopup
409  */
410 EINA_DEPRECATED EAPI void         elm_ctxpopup_item_label_set(Elm_Object_Item *it, const char *label);
411
412 /**
413  * @brief Set an elm widget as the content of the ctxpopup.
414  *
415  * @param obj Ctxpopup object
416  * @param content Content to be swallowed
417  *
418  * If the content object is already set, a previous one will bedeleted. If
419  * you want to keep that old content object, use the
420  * elm_ctxpopup_content_unset() function.
421  *
422  * @warning Ctxpopup can't hold both a item list and a content at the same
423  * time. When a content is set, any previous items will be removed.
424  *
425  * @deprecated use elm_object_content_set() instead
426  *
427  * @ingroup Ctxpopup
428  */
429 EINA_DEPRECATED EAPI void         elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content);
430
431 /**
432  * @brief Unset the ctxpopup content
433  *
434  * @param obj Ctxpopup object
435  * @return The content that was being used
436  *
437  * Unparent and return the content object which was set for this widget.
438  *
439  * @deprecated use elm_object_content_unset()
440  *
441  * @see elm_ctxpopup_content_set()
442  *
443  * @deprecated use elm_object_content_unset() instead
444  *
445  * @ingroup Ctxpopup
446  */
447 EINA_DEPRECATED EAPI Evas_Object *elm_ctxpopup_content_unset(Evas_Object *obj);
448
449 /**
450  * @brief Delete the given item in a ctxpopup object.
451  *
452  * @param it Ctxpopup item to be deleted
453  *
454  * @deprecated Use elm_object_item_del() instead
455  * @see elm_ctxpopup_item_append()
456  *
457  * @ingroup Ctxpopup
458  */
459 EINA_DEPRECATED EAPI void                         elm_ctxpopup_item_del(Elm_Object_Item *it);
460
461 /**
462  * Set the label for a given file selector button widget
463  *
464  * @param obj The file selector button widget
465  * @param label The text label to be displayed on @p obj
466  *
467  * @deprecated use elm_object_text_set() instead.
468  */
469 EINA_DEPRECATED EAPI void        elm_fileselector_button_label_set(Evas_Object *obj, const char *label);
470
471 /**
472  * Get the label set for a given file selector button widget
473  *
474  * @param obj The file selector button widget
475  * @return The button label
476  *
477  * @deprecated use elm_object_text_set() instead.
478  */
479 EINA_DEPRECATED EAPI const char *elm_fileselector_button_label_get(const Evas_Object *obj);
480
481 /**
482  * Set the icon on a given file selector button widget
483  *
484  * @param obj The file selector button widget
485  * @param icon The icon object for the button
486  *
487  * Once the icon object is set, a previously set one will be
488  * deleted. If you want to keep the latter, use the
489  * elm_fileselector_button_icon_unset() function.
490  *
491  * @deprecated Use elm_object_part_content_set() instead
492  * @see elm_fileselector_button_icon_get()
493  */
494 EINA_DEPRECATED EAPI void                        elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon);
495
496 /**
497  * Get the icon set for a given file selector button widget
498  *
499  * @param obj The file selector button widget
500  * @return The icon object currently set on @p obj or @c NULL, if
501  * none is
502  *
503  * @deprecated Use elm_object_part_content_get() instead
504  * @see elm_fileselector_button_icon_set()
505  */
506 EINA_DEPRECATED EAPI Evas_Object                *elm_fileselector_button_icon_get(const Evas_Object *obj);
507
508 /**
509  * Unset the icon used in a given file selector button widget
510  *
511  * @param obj The file selector button widget
512  * @return The icon object that was being used on @p obj or @c
513  * NULL, on errors
514  *
515  * Unparent and return the icon object which was set for this
516  * widget.
517  *
518  * @deprecated Use elm_object_part_content_unset() instead
519  * @see elm_fileselector_button_icon_set()
520  */
521 EINA_DEPRECATED EAPI Evas_Object                *elm_fileselector_button_icon_unset(Evas_Object *obj);
522
523 /**
524  * Set the label for a given file selector entry widget's button
525  *
526  * @param obj The file selector entry widget
527  * @param label The text label to be displayed on @p obj widget's
528  * button
529  *
530  * @deprecated use elm_object_text_set() instead.
531  */
532 EINA_DEPRECATED EAPI void        elm_fileselector_entry_button_label_set(Evas_Object *obj, const char *label);
533
534 /**
535  * Get the label set for a given file selector entry widget's button
536  *
537  * @param obj The file selector entry widget
538  * @return The widget button's label
539  *
540  * @deprecated use elm_object_text_set() instead.
541  */
542 EINA_DEPRECATED EAPI const char *elm_fileselector_entry_button_label_get(const Evas_Object *obj);
543
544 /**
545  * Set the icon on a given file selector entry widget's button
546  *
547  * @param obj The file selector entry widget
548  * @param icon The icon object for the entry's button
549  *
550  * Once the icon object is set, a previously set one will be
551  * deleted. If you want to keep the latter, use the
552  * elm_fileselector_entry_button_icon_unset() function.
553  *
554  * @deprecated Use elm_object_part_content_set() instead
555  * @see elm_fileselector_entry_button_icon_get()
556  */
557 EINA_DEPRECATED EAPI void                        elm_fileselector_entry_button_icon_set(Evas_Object *obj, Evas_Object *icon);
558
559 /**
560  * Get the icon set for a given file selector entry widget's button
561  *
562  * @param obj The file selector entry widget
563  * @return The icon object currently set on @p obj widget's button
564  * or @c NULL, if none is
565  *
566  * @deprecated Use elm_object_part_content_get() instead
567  * @see elm_fileselector_entry_button_icon_set()
568  */
569 EINA_DEPRECATED EAPI Evas_Object                *elm_fileselector_entry_button_icon_get(const Evas_Object *obj);
570
571 /**
572  * Unset the icon used in a given file selector entry widget's
573  * button
574  *
575  * @param obj The file selector entry widget
576  * @return The icon object that was being used on @p obj widget's
577  * button or @c NULL, on errors
578  *
579  * Unparent and return the icon object which was set for this
580  * widget's button.
581  *
582  * @deprecated Use elm_object_part_content_unset() instead
583  * @see elm_fileselector_entry_button_icon_set()
584  */
585 EINA_DEPRECATED EAPI Evas_Object                *elm_fileselector_entry_button_icon_unset(Evas_Object *obj);
586
587 /**
588  * @brief Sets the content of the hover object and the direction in which it
589  * will pop out.
590  *
591  * @param obj The hover object
592  * @param swallow The direction that the object will be displayed
593  * at. Accepted values are "left", "top-left", "top", "top-right",
594  * "right", "bottom-right", "bottom", "bottom-left", "middle" and
595  * "smart".
596  * @param content The content to place at @p swallow
597  *
598  * Once the content object is set for a given direction, a previously
599  * set one (on the same direction) will be deleted. If you want to
600  * keep that old content object, use the elm_object_part_content_unset()
601  * function.
602  *
603  * All directions may have contents at the same time, except for
604  * "smart". This is a special placement hint and its use case
605  * independs of the calculations coming from
606  * elm_hover_best_content_location_get(). Its use is for cases when
607  * one desires only one hover content, but with a dynamic special
608  * placement within the hover area. The content's geometry, whenever
609  * it changes, will be used to decide on a best location, not
610  * extrapolating the hover's parent object view to show it in (still
611  * being the hover's target determinant of its medium part -- move and
612  * resize it to simulate finger sizes, for example). If one of the
613  * directions other than "smart" are used, a previously content set
614  * using it will be deleted, and vice-versa.
615  *
616  * @deprecated Use elm_object_part_content_set() instead
617  */
618 EINA_DEPRECATED EAPI void         elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
619
620 /**
621  * @brief Get the content of the hover object, in a given direction.
622  *
623  * Return the content object which was set for this widget in the
624  * @p swallow direction.
625  *
626  * @param obj The hover object
627  * @param swallow The direction that the object was display at.
628  * @return The content that was being used
629  *
630  * @deprecated Use elm_object_part_content_get() instead
631  * @see elm_object_part_content_set()
632  */
633 EINA_DEPRECATED EAPI Evas_Object *elm_hover_content_get(const Evas_Object *obj, const char *swallow);
634
635 /**
636  * @brief Unset the content of the hover object, in a given direction.
637  *
638  * Unparent and return the content object set at @p swallow direction.
639  *
640  * @param obj The hover object
641  * @param swallow The direction that the object was display at.
642  * @return The content that was being used.
643  *
644  * @deprecated Use elm_object_part_content_unset() instead
645  * @see elm_object_part_content_set()
646  */
647 EINA_DEPRECATED EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow);
648
649 /**
650  * @brief Set the hoversel button label
651  *
652  * @param obj The hoversel object
653  * @param label The label text.
654  *
655  * This sets the label of the button that is always visible (before it is
656  * clicked and expanded).
657  *
658  * @deprecated elm_object_text_set()
659  */
660 EINA_DEPRECATED EAPI void         elm_hoversel_label_set(Evas_Object *obj, const char *label);
661
662 /**
663  * @brief Get the hoversel button label
664  *
665  * @param obj The hoversel object
666  * @return The label text.
667  *
668  * @deprecated elm_object_text_get()
669  */
670 EINA_DEPRECATED EAPI const char  *elm_hoversel_label_get(const Evas_Object *obj);
671
672 /**
673  * @brief Set the icon of the hoversel button
674  *
675  * @param obj The hoversel object
676  * @param icon The icon object
677  *
678  * Sets the icon of the button that is always visible (before it is clicked
679  * and expanded).  Once the icon object is set, a previously set one will be
680  * deleted, if you want to keep that old content object, use the
681  * elm_hoversel_icon_unset() function.
682  *
683  * @see elm_object_content_set() for the button widget
684  * @deprecated Use elm_object_item_part_content_set() instead
685  */
686 EINA_DEPRECATED EAPI void         elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon);
687
688 /**
689  * @brief Get the icon of the hoversel button
690  *
691  * @param obj The hoversel object
692  * @return The icon object
693  *
694  * Get the icon of the button that is always visible (before it is clicked
695  * and expanded). Also see elm_object_content_get() for the button widget.
696  *
697  * @see elm_hoversel_icon_set()
698  * @deprecated Use elm_object_item_part_content_get() instead
699  */
700 EINA_DEPRECATED EAPI Evas_Object *elm_hoversel_icon_get(const Evas_Object *obj);
701
702 /**
703  * @brief Get and unparent the icon of the hoversel button
704  *
705  * @param obj The hoversel object
706  * @return The icon object that was being used
707  *
708  * Unparent and return the icon of the button that is always visible
709  * (before it is clicked and expanded).
710  *
711  * @see elm_hoversel_icon_set()
712  * @see elm_object_content_unset() for the button widget
713  * @deprecated Use elm_object_item_part_content_unset() instead
714  */
715 EINA_DEPRECATED EAPI Evas_Object *elm_hoversel_icon_unset(Evas_Object *obj);
716
717 /**
718  * @brief This returns the data pointer supplied with elm_hoversel_item_add()
719  * that will be passed to associated function callbacks.
720  *
721  * @param it The item to get the data from
722  * @return The data pointer set with elm_hoversel_item_add()
723  *
724  * @see elm_hoversel_item_add()
725  * @deprecated Use elm_object_item_data_get() instead
726  */
727 EINA_DEPRECATED EAPI void        *elm_hoversel_item_data_get(const Elm_Object_Item *it);
728
729 /**
730  * @brief This returns the label text of the given hoversel item.
731  *
732  * @param it The item to get the label
733  * @return The label text of the hoversel item
734  *
735  * @see elm_hoversel_item_add()
736  * @deprecated Use elm_object_item_text_get() instead
737  */
738 EINA_DEPRECATED EAPI const char  *elm_hoversel_item_label_get(const Elm_Object_Item *it);
739
740 /**
741  * @brief Set the function to be called when an item from the hoversel is
742  * freed.
743  *
744  * @param it The item to set the callback on
745  * @param func The function called
746  *
747  * That function will receive these parameters:
748  * @li void * item data
749  * @li Evas_Object * hoversel object
750  * @li Elm_Object_Item * hoversel item
751  *
752  * @see elm_hoversel_item_add()
753  * @deprecated Use elm_object_item_del_cb_set() instead
754  */
755 EINA_DEPRECATED EAPI void                         elm_hoversel_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
756
757 /**
758  * @brief Delete an item from the hoversel
759  *
760  * @param it The item to delete
761  *
762  * This deletes the item from the hoversel (should not be called while the
763  * hoversel is active; use elm_hoversel_expanded_get() to check first).
764  *
765  * @deprecated Use elm_object_item_del() instead
766  * @see elm_hoversel_item_add()
767  */
768 EINA_DEPRECATED EAPI void                         elm_hoversel_item_del(Elm_Object_Item *it);
769
770 /**
771  * Set actionslider labels.
772  *
773  * @param obj The actionslider object
774  * @param left_label The label to be set on the left.
775  * @param center_label The label to be set on the center.
776  * @param right_label The label to be set on the right.
777  * @deprecated use elm_object_text_set() instead.
778  */
779 EINA_DEPRECATED EAPI void        elm_actionslider_labels_set(Evas_Object *obj, const char *left_label, const char *center_label, const char *right_label);
780
781 /**
782  * Get actionslider labels.
783  *
784  * @param obj The actionslider object
785  * @param left_label A char** to place the left_label of @p obj into.
786  * @param center_label A char** to place the center_label of @p obj into.
787  * @param right_label A char** to place the right_label of @p obj into.
788  * @deprecated use elm_object_text_set() instead.
789  */
790 EINA_DEPRECATED EAPI void        elm_actionslider_labels_get(const Evas_Object *obj, const char **left_label, const char **center_label, const char **right_label);
791
792 /**
793  * Set the label used on the indicator.
794  *
795  * @param obj The actionslider object
796  * @param label The label to be set on the indicator.
797  * @deprecated use elm_object_text_set() instead.
798  */
799 EINA_DEPRECATED EAPI void        elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label);
800
801 /**
802  * Get the label used on the indicator object.
803  *
804  * @param obj The actionslider object
805  * @return The indicator label
806  * @deprecated use elm_object_text_get() instead.
807  */
808 EINA_DEPRECATED EAPI const char *elm_actionslider_indicator_label_get(Evas_Object *obj);
809
810 /**
811  * Set the overlay object used for the background object.
812  *
813  * @param obj The bg object
814  * @param overlay The overlay object
815  *
816  * This provides a way for elm_bg to have an 'overlay' that will be on top
817  * of the bg. Once the over object is set, a previously set one will be
818  * deleted, even if you set the new one to NULL. If you want to keep that
819  * old content object, use the elm_bg_overlay_unset() function.
820  *
821  * @deprecated use elm_object_part_content_set() instead
822  *
823  * @ingroup Bg
824  */
825
826 EINA_DEPRECATED EAPI void         elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay);
827
828 /**
829  * Get the overlay object used for the background object.
830  *
831  * @param obj The bg object
832  * @return The content that is being used
833  *
834  * Return the content object which is set for this widget
835  *
836  * @deprecated use elm_object_part_content_get() instead
837  *
838  * @ingroup Bg
839  */
840 EINA_DEPRECATED EAPI Evas_Object *elm_bg_overlay_get(const Evas_Object *obj);
841
842 /**
843  * Get the overlay object used for the background object.
844  *
845  * @param obj The bg object
846  * @return The content that was being used
847  *
848  * Unparent and return the overlay object which was set for this widget
849  *
850  * @deprecated use elm_object_part_content_unset() instead
851  *
852  * @ingroup Bg
853  */
854 EINA_DEPRECATED EAPI Evas_Object *elm_bg_overlay_unset(Evas_Object *obj);
855
856
857 /**
858  * Set the label of the bubble
859  *
860  * @param obj The bubble object
861  * @param label The string to set in the label
862  *
863  * This function sets the title of the bubble. Where this appears depends on
864  * the selected corner.
865  * @deprecated use elm_object_text_set() instead.
866  */
867 EINA_DEPRECATED EAPI void         elm_bubble_label_set(Evas_Object *obj, const char *label);
868
869 /**
870  * Get the label of the bubble
871  *
872  * @param obj The bubble object
873  * @return The string of set in the label
874  *
875  * This function gets the title of the bubble.
876  * @deprecated use elm_object_text_get() instead.
877  */
878 EINA_DEPRECATED EAPI const char  *elm_bubble_label_get(const Evas_Object *obj);
879
880 /**
881  * Set the info of the bubble
882  *
883  * @param obj The bubble object
884  * @param info The given info about the bubble
885  *
886  * This function sets the info of the bubble. Where this appears depends on
887  * the selected corner.
888  * @deprecated use elm_object_part_text_set() instead. (with "info" as the parameter).
889  */
890 EINA_DEPRECATED EAPI void         elm_bubble_info_set(Evas_Object *obj, const char *info);
891
892 /**
893  * Get the info of the bubble
894  *
895  * @param obj The bubble object
896  *
897  * @return The "info" string of the bubble
898  *
899  * This function gets the info text.
900  * @deprecated use elm_object_part_text_get() instead. (with "info" as the parameter).
901  */
902 EINA_DEPRECATED EAPI const char  *elm_bubble_info_get(const Evas_Object *obj);
903
904 /**
905  * Set the content to be shown in the bubble
906  *
907  * Once the content object is set, a previously set one will be deleted.
908  * If you want to keep the old content object, use the
909  * elm_bubble_content_unset() function.
910  *
911  * @param obj The bubble object
912  * @param content The given content of the bubble
913  *
914  * This function sets the content shown on the middle of the bubble.
915  *
916  * @deprecated use elm_object_content_set() instead
917  *
918  */
919 EINA_DEPRECATED EAPI void         elm_bubble_content_set(Evas_Object *obj, Evas_Object *content);
920
921 /**
922  * Get the content shown in the bubble
923  *
924  * Return the content object which is set for this widget.
925  *
926  * @param obj The bubble object
927  * @return The content that is being used
928  *
929  * @deprecated use elm_object_content_get() instead
930  *
931  */
932 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_content_get(const Evas_Object *obj);
933
934 /**
935  * Unset the content shown in the bubble
936  *
937  * Unparent and return the content object which was set for this widget.
938  *
939  * @param obj The bubble object
940  * @return The content that was being used
941  *
942  * @deprecated use elm_object_content_unset() instead
943  *
944  */
945 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj);
946
947 /**
948  * Set the icon of the bubble
949  *
950  * Once the icon object is set, a previously set one will be deleted.
951  * If you want to keep the old content object, use the
952  * elm_icon_content_unset() function.
953  *
954  * @param obj The bubble object
955  * @param icon The given icon for the bubble
956  *
957  * @deprecated use elm_object_part_content_set() instead
958  *
959  */
960 EINA_DEPRECATED EAPI void         elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon);
961
962 /**
963  * Get the icon of the bubble
964  *
965  * @param obj The bubble object
966  * @return The icon for the bubble
967  *
968  * This function gets the icon shown on the top left of bubble.
969  *
970  * @deprecated use elm_object_part_content_get() instead
971  *
972  */
973 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj);
974
975 /**
976  * Unset the icon of the bubble
977  *
978  * Unparent and return the icon object which was set for this widget.
979  *
980  * @param obj The bubble object
981  * @return The icon that was being used
982  *
983  * @deprecated use elm_object_part_content_unset() instead
984  *
985  */
986 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_unset(Evas_Object *obj);
987
988
989 /**
990  * Set the label used in the button
991  *
992  * The passed @p label can be NULL to clean any existing text in it and
993  * leave the button as an icon only object.
994  *
995  * @param obj The button object
996  * @param label The text will be written on the button
997  * @deprecated use elm_object_text_set() instead.
998  */
999 EINA_DEPRECATED EAPI void         elm_button_label_set(Evas_Object *obj, const char *label);
1000
1001 /**
1002  * Get the label set for the button
1003  *
1004  * The string returned is an internal pointer and should not be freed or
1005  * altered. It will also become invalid when the button is destroyed.
1006  * The string returned, if not NULL, is a stringshare, so if you need to
1007  * keep it around even after the button is destroyed, you can use
1008  * eina_stringshare_ref().
1009  *
1010  * @param obj The button object
1011  * @return The text set to the label, or NULL if nothing is set
1012  * @deprecated use elm_object_text_set() instead.
1013  */
1014 EINA_DEPRECATED EAPI const char  *elm_button_label_get(const Evas_Object *obj);
1015
1016 /**
1017  * Set the icon used for the button
1018  *
1019  * Setting a new icon will delete any other that was previously set, making
1020  * any reference to them invalid. If you need to maintain the previous
1021  * object alive, unset it first with elm_button_icon_unset().
1022  *
1023  * @param obj The button object
1024  * @param icon The icon object for the button
1025  * @deprecated use elm_object_part_content_set() instead.
1026  */
1027 EINA_DEPRECATED EAPI void         elm_button_icon_set(Evas_Object *obj, Evas_Object *icon);
1028
1029 /**
1030  * Get the icon used for the button
1031  *
1032  * Return the icon object which is set for this widget. If the button is
1033  * destroyed or another icon is set, the returned object will be deleted
1034  * and any reference to it will be invalid.
1035  *
1036  * @param obj The button object
1037  * @return The icon object that is being used
1038  *
1039  * @deprecated use elm_object_part_content_get() instead
1040  */
1041 EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj);
1042
1043 /**
1044  * Remove the icon set without deleting it and return the object
1045  *
1046  * This function drops the reference the button holds of the icon object
1047  * and returns this last object. It is used in case you want to remove any
1048  * icon, or set another one, without deleting the actual object. The button
1049  * will be left without an icon set.
1050  *
1051  * @param obj The button object
1052  * @return The icon object that was being used
1053  * @deprecated use elm_object_part_content_unset() instead.
1054  */
1055 EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_unset(Evas_Object *obj);
1056
1057 /**
1058  * Set a day text color to the same that represents Saturdays.
1059  *
1060  * @param obj The calendar object.
1061  * @param pos The text position. Position is the cell counter, from left
1062  * to right, up to down. It starts on 0 and ends on 41.
1063  *
1064  * @deprecated use elm_calendar_mark_add() instead like:
1065  *
1066  * @code
1067  * struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
1068  * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
1069  * @endcode
1070  *
1071  * @see elm_calendar_mark_add()
1072  *
1073  * @ingroup Calendar
1074  */
1075 EINA_DEPRECATED EAPI void elm_calendar_text_saturday_color_set(Evas_Object *obj, int pos);
1076
1077 /**
1078  * Set a day text color to the same that represents Sundays.
1079  *
1080  * @param obj The calendar object.
1081  * @param pos The text position. Position is the cell counter, from left
1082  * to right, up to down. It starts on 0 and ends on 41.
1083
1084  * @deprecated use elm_calendar_mark_add() instead like:
1085  *
1086  * @code
1087  * struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
1088  * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
1089  * @endcode
1090  *
1091  * @see elm_calendar_mark_add()
1092  *
1093  * @ingroup Calendar
1094  */
1095 EINA_DEPRECATED EAPI void elm_calendar_text_sunday_color_set(Evas_Object *obj, int pos);
1096
1097 /**
1098  * Set a day text color to the same that represents Weekdays.
1099  *
1100  * @param obj The calendar object
1101  * @param pos The text position. Position is the cell counter, from left
1102  * to right, up to down. It starts on 0 and ends on 41.
1103  *
1104  * @deprecated use elm_calendar_mark_add() instead like:
1105  *
1106  * @code
1107  * struct tm t = { 0, 0, 12, 1, 0, 0, 0, 0, -1 };
1108  *
1109  * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // monday
1110  * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
1111  * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // tuesday
1112  * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
1113  * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // wednesday
1114  * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
1115  * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // thursday
1116  * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
1117  * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // friday
1118  * @endcode
1119  *
1120  * @see elm_calendar_mark_add()
1121  *
1122  * @ingroup Calendar
1123  */
1124 EINA_DEPRECATED EAPI void elm_calendar_text_weekday_color_set(Evas_Object *obj, int pos);
1125
1126
1127 /**
1128  * @brief Set the text label of the check object
1129  *
1130  * @param obj The check object
1131  * @param label The text label string in UTF-8
1132  *
1133  * @deprecated use elm_object_text_set() instead.
1134  */
1135 EINA_DEPRECATED EAPI void         elm_check_label_set(Evas_Object *obj, const char *label);
1136
1137 /**
1138  * @brief Get the text label of the check object
1139  *
1140  * @param obj The check object
1141  * @return The text label string in UTF-8
1142  *
1143  * @deprecated use elm_object_text_get() instead.
1144  */
1145 EINA_DEPRECATED EAPI const char  *elm_check_label_get(const Evas_Object *obj);
1146
1147 /**
1148  * @brief Set the icon object of the check object
1149  *
1150  * @param obj The check object
1151  * @param icon The icon object
1152  *
1153  * Once the icon object is set, a previously set one will be deleted.
1154  * If you want to keep that old content object, use the
1155  * elm_object_content_unset() function.
1156  *
1157  * @deprecated use elm_object_part_content_set() instead.
1158  *
1159  */
1160 EINA_DEPRECATED EAPI void         elm_check_icon_set(Evas_Object *obj, Evas_Object *icon);
1161
1162 /**
1163  * @brief Get the icon object of the check object
1164  *
1165  * @param obj The check object
1166  * @return The icon object
1167  *
1168  * @deprecated use elm_object_part_content_get() instead.
1169  *
1170  */
1171 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj);
1172
1173 /**
1174  * @brief Unset the icon used for the check object
1175  *
1176  * @param obj The check object
1177  * @return The icon object that was being used
1178  *
1179  * Unparent and return the icon object which was set for this widget.
1180  *
1181  * @deprecated use elm_object_part_content_unset() instead.
1182  *
1183  */
1184 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj);
1185
1186 /**
1187  * @brief Set the text label of the check object
1188  *
1189  * @param obj The check object
1190  * @param label The text label string in UTF-8
1191  *
1192  * @deprecated use elm_object_text_set() instead.
1193  */
1194 EINA_DEPRECATED EAPI void         elm_check_label_set(Evas_Object *obj, const char *label);
1195
1196 /**
1197  * @brief Get the text label of the check object
1198  *
1199  * @param obj The check object
1200  * @return The text label string in UTF-8
1201  *
1202  * @deprecated use elm_object_text_get() instead.
1203  */
1204 EINA_DEPRECATED EAPI const char  *elm_check_label_get(const Evas_Object *obj);
1205
1206 /**
1207  * @brief Set the icon object of the check object
1208  *
1209  * @param obj The check object
1210  * @param icon The icon object
1211  *
1212  * Once the icon object is set, a previously set one will be deleted.
1213  * If you want to keep that old content object, use the
1214  * elm_object_content_unset() function.
1215  *
1216  * @deprecated use elm_object_part_content_set() instead.
1217  *
1218  */
1219 EINA_DEPRECATED EAPI void         elm_check_icon_set(Evas_Object *obj, Evas_Object *icon);
1220
1221 /**
1222  * @brief Get the icon object of the check object
1223  *
1224  * @param obj The check object
1225  * @return The icon object
1226  *
1227  * @deprecated use elm_object_part_content_get() instead.
1228  *
1229  */
1230 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj);
1231
1232 /**
1233  * @brief Unset the icon used for the check object
1234  *
1235  * @param obj The check object
1236  * @return The icon object that was being used
1237  *
1238  * Unparent and return the icon object which was set for this widget.
1239  *
1240  * @deprecated use elm_object_part_content_unset() instead.
1241  *
1242  */
1243 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj);
1244
1245 EINA_DEPRECATED EAPI void         elm_check_states_labels_set(Evas_Object *obj, const char *ontext, const char *offtext);
1246 EINA_DEPRECATED EAPI void         elm_check_states_labels_get(const Evas_Object *obj, const char **ontext, const char **offtext);
1247
1248
1249 /**
1250  * Set the content of the conformant widget.
1251  *
1252  * @param obj The conformant object.
1253  * @param content The content to be displayed by the conformant.
1254  *
1255  * Content will be sized and positioned considering the space required
1256  * to display a virtual keyboard. So it won't fill all the conformant
1257  * size. This way is possible to be sure that content won't resize
1258  * or be re-positioned after the keyboard is displayed.
1259  *
1260  * Once the content object is set, a previously set one will be deleted.
1261  * If you want to keep that old content object, use the
1262  * elm_object_content_unset() function.
1263  *
1264  * @see elm_object_content_unset()
1265  * @see elm_object_content_get()
1266  *
1267  * @deprecated use elm_object_content_set() instead
1268  *
1269  * @ingroup Conformant
1270  */
1271 EINA_DEPRECATED EAPI void         elm_conformant_content_set(Evas_Object *obj, Evas_Object *content);
1272
1273 /**
1274  * Get the content of the conformant widget.
1275  *
1276  * @param obj The conformant object.
1277  * @return The content that is being used.
1278  *
1279  * Return the content object which is set for this widget.
1280  * It won't be unparent from conformant. For that, use
1281  * elm_object_content_unset().
1282  *
1283  * @see elm_object_content_set().
1284  * @see elm_object_content_unset()
1285  *
1286  * @deprecated use elm_object_content_get() instead
1287  *
1288  * @ingroup Conformant
1289  */
1290 EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj);
1291
1292 /**
1293  * Unset the content of the conformant widget.
1294  *
1295  * @param obj The conformant object.
1296  * @return The content that was being used.
1297  *
1298  * Unparent and return the content object which was set for this widget.
1299  *
1300  * @see elm_object_content_set().
1301  *
1302  * @deprecated use elm_object_content_unset() instead
1303  *
1304  * @ingroup Conformant
1305  */
1306 EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj);
1307
1308 /**
1309  * Get the side labels max length.
1310  *
1311  * @deprecated use elm_diskselector_side_label_length_get() instead:
1312  *
1313  * @param obj The diskselector object.
1314  * @return The max length defined for side labels, or 0 if not a valid
1315  * diskselector.
1316  *
1317  * @ingroup Diskselector
1318  */
1319 EINA_DEPRECATED EAPI int    elm_diskselector_side_label_lenght_get(const Evas_Object *obj);
1320
1321 /**
1322  * Set the side labels max length.
1323  *
1324  * @deprecated use elm_diskselector_side_label_length_set() instead:
1325  *
1326  * @param obj The diskselector object.
1327  * @param len The max length defined for side labels.
1328  *
1329  * @ingroup Diskselector
1330  */
1331 EINA_DEPRECATED EAPI void   elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len);
1332
1333 /**
1334  * Get the data associated to the item.
1335  *
1336  * @param it The diskselector item
1337  * @return The data associated to @p it
1338  *
1339  * The return value is a pointer to data associated to @p item when it was
1340  * created, with function elm_diskselector_item_append(). If no data
1341  * was passed as argument, it will return @c NULL.
1342  *
1343  * @see elm_diskselector_item_append()
1344  * @deprecated Use elm_object_item_data_get()
1345  *
1346  * @ingroup Diskselector
1347  */
1348 EINA_DEPRECATED EAPI void                  *elm_diskselector_item_data_get(const Elm_Object_Item *it);
1349
1350 /**
1351  * Set the icon associated to the item.
1352  *
1353  * @param it The diskselector item
1354  * @param icon The icon object to associate with @p it
1355  *
1356  * The icon object to use at left side of the item. An
1357  * icon can be any Evas object, but usually it is an icon created
1358  * with elm_icon_add().
1359  *
1360  * Once the icon object is set, a previously set one will be deleted.
1361  * @warning Setting the same icon for two items will cause the icon to
1362  * dissapear from the first item.
1363  *
1364  * If an icon was passed as argument on item creation, with function
1365  * elm_diskselector_item_append(), it will be already
1366  * associated to the item.
1367  *
1368  * @see elm_diskselector_item_append()
1369  * @see elm_diskselector_item_icon_get()
1370  *
1371  * @deprecated Use elm_object_item_part_content_set() instead
1372  * @ingroup Diskselector
1373  */
1374 EINA_DEPRECATED EAPI void                   elm_diskselector_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
1375
1376 /**
1377  * Get the icon associated to the item.
1378  *
1379  * @param item The diskselector item
1380  * @return The icon associated to @p it
1381  *
1382  * The return value is a pointer to the icon associated to @p item when it was
1383  * created, with function elm_diskselector_item_append(), or later
1384  * with function elm_diskselector_item_icon_set. If no icon
1385  * was passed as argument, it will return @c NULL.
1386  *
1387  * @see elm_diskselector_item_append()
1388  * @see elm_diskselector_item_icon_set()
1389  *
1390  * @deprecated Use elm_object_item_part_content_set() instead
1391  * @ingroup Diskselector
1392  */
1393 EAPI Evas_Object           *elm_diskselector_item_icon_get(const Elm_Object_Item *it);
1394
1395 /**
1396  * Set the label of item.
1397  *
1398  * @param it The item of diskselector.
1399  * @param label The label of item.
1400  *
1401  * The label to be displayed by the item.
1402  *
1403  * If no icon is set, label will be centered on item position, otherwise
1404  * the icon will be placed at left of the label, that will be shifted
1405  * to the right.
1406  *
1407  * An item with label "January" would be displayed on side position as
1408  * "Jan" if max length is set to 3 with function
1409  * elm_diskselector_side_label_lenght_set(), or "Janu", if this property
1410  * is set to 4.
1411  *
1412  * When this @p item is selected, the entire label will be displayed,
1413  * except for width restrictions.
1414  * In this case label will be cropped and "..." will be concatenated,
1415  * but only for display purposes. It will keep the entire string, so
1416  * if diskselector is resized the remaining characters will be displayed.
1417  *
1418  * If a label was passed as argument on item creation, with function
1419  * elm_diskselector_item_append(), it will be already
1420  * displayed by the item.
1421  *
1422  * @see elm_diskselector_side_label_lenght_set()
1423  * @see elm_diskselector_item_label_get()
1424  * @see elm_diskselector_item_append()
1425  *
1426  * @deprecated Use elm_object_item_text_set() instead
1427  * @ingroup Diskselector
1428  */
1429 EINA_DEPRECATED EAPI void                   elm_diskselector_item_label_set(Elm_Object_Item *it, const char *label);
1430
1431 /**
1432  * Get the label of item.
1433  *
1434  * @param it The item of diskselector.
1435  * @return The label of item.
1436  *
1437  * The return value is a pointer to the label associated to @p item when it was
1438  * created, with function elm_diskselector_item_append(), or later
1439  * with function elm_diskselector_item_label_set. If no label
1440  * was passed as argument, it will return @c NULL.
1441  *
1442  * @see elm_diskselector_item_label_set() for more details.
1443  * @see elm_diskselector_item_append()
1444  * @use elm_object_item_text_get()
1445  *
1446  * @ingroup Diskselector
1447  */
1448 EINA_DEPRECATED EAPI const char            *elm_diskselector_item_label_get(const Elm_Object_Item *it);
1449
1450 /**
1451  * Set the function called when a diskselector item is freed.
1452  *
1453  * @param it The item to set the callback on
1454  * @param func The function called
1455  *
1456  * If there is a @p func, then it will be called prior item's memory release.
1457  * That will be called with the following arguments:
1458  * @li item's data;
1459  * @li item's Evas object;
1460  * @li item itself;
1461  *
1462  * This way, a data associated to a diskselector item could be properly
1463  * freed.
1464  * @deprecated Use elm_object_item_del_cb_set() instead
1465  *
1466  * @ingroup Diskselector
1467  */
1468 EINA_DEPRECATED EAPI void                   elm_diskselector_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
1469
1470 /**
1471  * Delete them item from the diskselector.
1472  *
1473  * @param it The item of diskselector to be deleted.
1474  *
1475  * If deleting all diskselector items is required, elm_diskselector_clear()
1476  * should be used instead of getting items list and deleting each one.
1477  *
1478  * @deprecated Use elm_object_item_del() instead
1479  * @see elm_diskselector_clear()
1480  * @see elm_diskselector_item_append()
1481  *
1482  * @ingroup Diskselector
1483  */
1484 EINA_DEPRECATED EAPI void                   elm_diskselector_item_del(Elm_Object_Item *it);
1485
1486 /**
1487  * Set the text to be shown in the diskselector item.
1488  *
1489  * @param it Target item
1490  * @param text The text to set in the content
1491  *
1492  * Setup the text as tooltip to object. The item can have only one tooltip,
1493  * so any previous tooltip data is removed.
1494  *
1495  * @deprecated Use elm_object_item_tooltip_text_set() instead
1496  * @see elm_object_tooltip_text_set() for more details.
1497  *
1498  * @ingroup Diskselector
1499  */
1500 EINA_DEPRECATED EAPI void                   elm_diskselector_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
1501
1502 /**
1503  * Set the content to be shown in the tooltip item.
1504  *
1505  * Setup the tooltip to item. The item can have only one tooltip,
1506  * so any previous tooltip data is removed. @p func(with @p data) will
1507  * be called every time that need show the tooltip and it should
1508  * return a valid Evas_Object. This object is then managed fully by
1509  * tooltip system and is deleted when the tooltip is gone.
1510  *
1511  * @param it the diskselector item being attached a tooltip.
1512  * @param func the function used to create the tooltip contents.
1513  * @param data what to provide to @a func as callback data/context.
1514  * @param del_cb called when data is not needed anymore, either when
1515  *        another callback replaces @p func, the tooltip is unset with
1516  *        elm_diskselector_item_tooltip_unset() or the owner @a item
1517  *        dies. This callback receives as the first parameter the
1518  *        given @a data, and @c event_info is the item.
1519  *
1520  * @deprecated Use elm_object_item_tooltip_content_cb_set() instead
1521  * @see elm_object_tooltip_content_cb_set() for more details.
1522  *
1523  * @ingroup Diskselector
1524  */
1525 EINA_DEPRECATED EAPI void                   elm_diskselector_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);
1526
1527 /**
1528  * Unset tooltip from item.
1529  *
1530  * @param it diskselector item to remove previously set tooltip.
1531  *
1532  * Remove tooltip from item. The callback provided as del_cb to
1533  * elm_diskselector_item_tooltip_content_cb_set() will be called to notify
1534  * it is not used anymore.
1535  *
1536  * @deprecated Use elm_object_item_tooltip_unset() instead
1537  * @see elm_object_tooltip_unset() for more details.
1538  * @see elm_diskselector_item_tooltip_content_cb_set()
1539  *
1540  * @ingroup Diskselector
1541  */
1542 EINA_DEPRECATED EAPI void                   elm_diskselector_item_tooltip_unset(Elm_Object_Item *it);
1543
1544 /**
1545  * Sets a different style for this item tooltip.
1546  *
1547  * @note before you set a style you should define a tooltip with
1548  *       elm_diskselector_item_tooltip_content_cb_set() or
1549  *       elm_diskselector_item_tooltip_text_set()
1550  *
1551  * @param it diskselector item with tooltip already set.
1552  * @param style the theme style to use (default, transparent, ...)
1553  *
1554  * @deprecated Use elm_object_item_tooltip_style_set() instead
1555  * @see elm_object_tooltip_style_set() for more details.
1556  *
1557  * @ingroup Diskselector
1558  */
1559 EINA_DEPRECATED EAPI void                   elm_diskselector_item_tooltip_style_set(Elm_Object_Item *it, const char *style);
1560
1561 /**
1562  * Get the style for this item tooltip.
1563  *
1564  * @param it diskselector item with tooltip already set.
1565  * @return style the theme style in use, defaults to "default". If the
1566  *         object does not have a tooltip set, then NULL is returned.
1567  *
1568  * @deprecated Use elm_object_item_tooltip_style_get() instead
1569  * @see elm_object_tooltip_style_get() for more details.
1570  * @see elm_diskselector_item_tooltip_style_set()
1571  *
1572  * @ingroup Diskselector
1573  */
1574 EINA_DEPRECATED EAPI const char            *elm_diskselector_item_tooltip_style_get(const Elm_Object_Item *it);
1575
1576 EINA_DEPRECATED EAPI void         elm_factory_content_set(Evas_Object *obj, Evas_Object *content);
1577 EINA_DEPRECATED EAPI Evas_Object *elm_factory_content_get(const Evas_Object *obj);
1578
1579 /**
1580  * Get the label of a given flip selector widget's item.
1581  *
1582  * @param it The item to get label from
1583  * @return The text label of @p item or @c NULL, on errors
1584  *
1585  * @see elm_object_item_text_set()
1586  *
1587  * @deprecated see elm_object_item_text_get() instead
1588  * @ingroup Flipselector
1589  */
1590 EINA_DEPRECATED EAPI const char *elm_flipselector_item_label_get(const Elm_Object_Item *it);
1591
1592 /**
1593  * Set the label of a given flip selector widget's item.
1594  *
1595  * @param it The item to set label on
1596  * @param label The text label string, in UTF-8 encoding
1597  *
1598  * @see elm_object_item_text_get()
1599  *
1600  * @deprecated see elm_object_item_text_set() instead
1601  * @ingroup Flipselector
1602  */
1603 EINA_DEPRECATED EAPI void        elm_flipselector_item_label_set(Elm_Object_Item *it, const char *label);
1604
1605 /**
1606  * Delete a given item from a flip selector widget.
1607  *
1608  * @param it The item to delete
1609  *
1610  * @deprecated Use elm_object_item_del() instead
1611  * @ingroup Flipselector
1612  */
1613 EINA_DEPRECATED EAPI void       elm_flipselector_item_del(Elm_Object_Item *it);
1614
1615 /**
1616  * Make a given Elementary object the focused one.
1617  *
1618  * @param obj The Elementary object to make focused.
1619  *
1620  * @note This object, if it can handle focus, will take the focus
1621  * away from the one who had it previously and will, for now on, be
1622  * the one receiving input events.
1623  *
1624  * @see elm_object_focus_get()
1625  * @deprecated use elm_object_focus_set() instead.
1626  *
1627  * @ingroup Focus
1628  */
1629 EINA_DEPRECATED EAPI void elm_object_focus(Evas_Object *obj);
1630
1631 /**
1632  * Remove the focus from an Elementary object
1633  *
1634  * @param obj The Elementary to take focus from
1635  *
1636  * This removes the focus from @p obj, passing it back to the
1637  * previous element in the focus chain list.
1638  *
1639  * @see elm_object_focus() and elm_object_focus_custom_chain_get()
1640  * @deprecated use elm_object_focus_set() instead.
1641  *
1642  * @ingroup Focus
1643  */
1644 EINA_DEPRECATED EAPI void elm_object_unfocus(Evas_Object *obj);
1645
1646 /**
1647  * @brief Set the frame label
1648  *
1649  * @param obj The frame object
1650  * @param label The label of this frame object
1651  *
1652  * @deprecated use elm_object_text_set() instead.
1653  */
1654 EINA_DEPRECATED EAPI void         elm_frame_label_set(Evas_Object *obj, const char *label);
1655
1656 /**
1657  * @brief Get the frame label
1658  *
1659  * @param obj The frame object
1660  *
1661  * @return The label of this frame objet or NULL if unable to get frame
1662  *
1663  * @deprecated use elm_object_text_get() instead.
1664  */
1665 EINA_DEPRECATED EAPI const char  *elm_frame_label_get(const Evas_Object *obj);
1666
1667 /**
1668  * @brief Set the content of the frame widget
1669  *
1670  * Once the content object is set, a previously set one will be deleted.
1671  * If you want to keep that old content object, use the
1672  * elm_frame_content_unset() function.
1673  *
1674  * @param obj The frame object
1675  * @param content The content will be filled in this frame object
1676  *
1677  * @deprecated use elm_object_content_set() instead.
1678  */
1679 EINA_DEPRECATED EAPI void         elm_frame_content_set(Evas_Object *obj, Evas_Object *content);
1680
1681 /**
1682  * @brief Get the content of the frame widget
1683  *
1684  * Return the content object which is set for this widget
1685  *
1686  * @param obj The frame object
1687  * @return The content that is being used
1688  *
1689  * @deprecated use elm_object_content_get() instead.
1690  */
1691 EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj);
1692
1693 /**
1694  * @brief Unset the content of the frame widget
1695  *
1696  * Unparent and return the content object which was set for this widget
1697  *
1698  * @param obj The frame object
1699  * @return The content that was being used
1700  *
1701  * @deprecated use elm_object_content_unset() instead.
1702  */
1703 EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj);
1704
1705 EINA_DEPRECATED EAPI void          elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode);
1706 EINA_DEPRECATED EAPI Elm_List_Mode elm_genlist_horizontal_mode_get(const Evas_Object *obj);
1707 EINA_DEPRECATED EAPI void          elm_genlist_item_icons_orphan(Elm_Genlist_Item *it);
1708
1709 #define ELM_IMAGE_ROTATE_90_CW 1
1710 #define ELM_IMAGE_ROTATE_180_CW 2
1711 #define ELM_IMAGE_ROTATE_90_CCW 3
1712
1713 /**
1714  * Return the data associated with a given index widget item
1715  *
1716  * @param it The index widget item handle
1717  * @return The data associated with @p it
1718  * @deprecated Use elm_object_item_data_get() instead
1719  *
1720  * @see elm_index_item_data_set()
1721  *
1722  * @ingroup Index
1723  */
1724 EINA_DEPRECATED EAPI void *elm_index_item_data_get(const Elm_Object_Item *item);
1725
1726 /**
1727  * Set the data associated with a given index widget item
1728  *
1729  * @param it The index widget item handle
1730  * @param data The new data pointer to set to @p it
1731  *
1732  * This sets new item data on @p it.
1733  *
1734  * @warning The old data pointer won't be touched by this function, so
1735  * the user had better to free that old data himself/herself.
1736  *
1737  * @deprecated Use elm_object_item_data_set() instead
1738  * @ingroup Index
1739  */
1740 EINA_DEPRECATED EAPI void  elm_index_item_data_set(Elm_Object_Item *it, const void *data);
1741
1742 /**
1743  * Set the function to be called when a given index widget item is freed.
1744  *
1745  * @param it The item to set the callback on
1746  * @param func The function to call on the item's deletion
1747  *
1748  * When called, @p func will have both @c data and @c event_info
1749  * arguments with the @p it item's data value and, naturally, the
1750  * @c obj argument with a handle to the parent index widget.
1751  *
1752  * @deprecated Use elm_object_item_del_cb_set() instead
1753  * @ingroup Index
1754  */
1755 EINA_DEPRECATED EAPI void                  elm_index_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
1756
1757 /**
1758  * Remove an item from a given index widget, <b>to be referenced by
1759  * it's data value</b>.
1760  *
1761  * @param obj The index object
1762  * @param item The item to be removed from @p obj
1763  *
1764  * If a deletion callback is set, via elm_object_item_del_cb_set(),
1765  * that callback function will be called by this one.
1766  *
1767  * @deprecated Use elm_object_item_del() instead
1768  * @ingroup Index
1769  */
1770 EINA_DEPRECATED EAPI void                  elm_index_item_del(Evas_Object *obj, Elm_Object_Item *item);
1771
1772 /**
1773 * @brief Set the label on the label object
1774  *
1775  * @param obj The label object
1776  * @param label The label will be used on the label object
1777  * @deprecated See elm_object_text_set()
1778  */
1779 EINA_DEPRECATED EAPI void        elm_label_label_set(Evas_Object *obj, const char *label);
1780
1781 /**
1782  * @brief Get the label used on the label object
1783  *
1784  * @param obj The label object
1785  * @return The string inside the label
1786  * @deprecated See elm_object_text_get()
1787  */
1788 EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj);
1789
1790
1791 /**
1792  * Set the layout content.
1793  *
1794  * @param obj The layout object
1795  * @param swallow The swallow part name in the edje file
1796  * @param content The child that will be added in this layout object
1797  *
1798  * Once the content object is set, a previously set one will be deleted.
1799  * If you want to keep that old content object, use the
1800  * elm_object_part_content_unset() function.
1801  *
1802  * @note In an Edje theme, the part used as a content container is called @c
1803  * SWALLOW. This is why the parameter name is called @p swallow, but it is
1804  * expected to be a part name just like the second parameter of
1805  * elm_layout_box_append().
1806  *
1807  * @see elm_layout_box_append()
1808  * @see elm_object_part_content_get()
1809  * @see elm_object_part_content_unset()
1810  * @see @ref secBox
1811  * @deprecated use elm_object_part_content_set() instead
1812  *
1813  * @ingroup Layout
1814  */
1815 EINA_DEPRECATED EAPI void         elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
1816
1817 /**
1818  * Get the child object in the given content part.
1819  *
1820  * @param obj The layout object
1821  * @param swallow The SWALLOW part to get its content
1822  *
1823  * @return The swallowed object or NULL if none or an error occurred
1824  *
1825  * @deprecated use elm_object_part_content_get() instead
1826  *
1827  * @ingroup Layout
1828  */
1829 EINA_DEPRECATED EAPI Evas_Object *elm_layout_content_get(const Evas_Object *obj, const char *swallow);
1830
1831 /**
1832  * Unset the layout content.
1833  *
1834  * @param obj The layout object
1835  * @param swallow The swallow part name in the edje file
1836  * @return The content that was being used
1837  *
1838  * Unparent and return the content object which was set for this part.
1839  *
1840  * @deprecated use elm_object_part_content_unset() instead
1841  *
1842  * @ingroup Layout
1843  */
1844 EINA_DEPRECATED EAPI Evas_Object *elm_layout_content_unset(Evas_Object *obj, const char *swallow);
1845
1846 /**
1847  * Set the text of the given part
1848  *
1849  * @param obj The layout object
1850  * @param part The TEXT part where to set the text
1851  * @param text The text to set
1852  *
1853  * @ingroup Layout
1854  * @deprecated use elm_object_part_text_set() instead.
1855  */
1856 EINA_DEPRECATED EAPI void         elm_layout_text_set(Evas_Object *obj, const char *part, const char *text);
1857
1858 /**
1859  * Get the text set in the given part
1860  *
1861  * @param obj The layout object
1862  * @param part The TEXT part to retrieve the text off
1863  *
1864  * @return The text set in @p part
1865  *
1866  * @ingroup Layout
1867  * @deprecated use elm_object_part_text_get() instead.
1868  */
1869 EINA_DEPRECATED EAPI const char  *elm_layout_text_get(const Evas_Object *obj, const char *part);
1870
1871 /**
1872  * @def elm_layout_label_set
1873  * Convienience macro to set the label in a layout that follows the
1874  * Elementary naming convention for its parts.
1875  *
1876  * @ingroup Layout
1877  * @deprecated use elm_object_text_set() instead.
1878  */
1879 #define elm_layout_label_set(_ly, _txt) \
1880   elm_layout_text_set((_ly), "elm.text", (_txt))
1881
1882 /**
1883  * @def elm_layout_label_get
1884  * Convenience macro to get the label in a layout that follows the
1885  * Elementary naming convention for its parts.
1886  *
1887  * @ingroup Layout
1888  * @deprecated use elm_object_text_set() instead.
1889  */
1890 #define elm_layout_label_get(_ly) \
1891   elm_layout_text_get((_ly), "elm.text")
1892
1893 EINA_DEPRECATED EAPI Evas_Object *elm_list_item_base_get(const Elm_Object_Item *it);
1894
1895
1896 /**
1897  * Set the content of the mapbuf.
1898  *
1899  * @param obj The mapbuf object.
1900  * @param content The content that will be filled in this mapbuf object.
1901  *
1902  * Once the content object is set, a previously set one will be deleted.
1903  * If you want to keep that old content object, use the
1904  * elm_mapbuf_content_unset() function.
1905  *
1906  * To enable map, elm_mapbuf_enabled_set() should be used.
1907  *
1908  * @deprecated use elm_object_content_set() instead
1909  *
1910  * @ingroup Mapbuf
1911  */
1912 EINA_DEPRECATED EAPI void         elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content);
1913
1914 /**
1915  * Get the content of the mapbuf.
1916  *
1917  * @param obj The mapbuf object.
1918  * @return The content that is being used.
1919  *
1920  * Return the content object which is set for this widget.
1921  *
1922  * @see elm_mapbuf_content_set() for details.
1923  *
1924  * @deprecated use elm_object_content_get() instead
1925  *
1926  * @ingroup Mapbuf
1927  */
1928 EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj);
1929
1930 /**
1931  * Unset the content of the mapbuf.
1932  *
1933  * @param obj The mapbuf object.
1934  * @return The content that was being used.
1935  *
1936  * Unparent and return the content object which was set for this widget.
1937  *
1938  * @see elm_mapbuf_content_set() for details.
1939  *
1940  * @deprecated use elm_object_content_unset() instead
1941  *
1942  * @ingroup Mapbuf
1943  */
1944 EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj);
1945
1946 /**
1947  * @brief Set the label of a menu item
1948  *
1949  * @param it The menu item object.
1950  * @param label The label to set for @p item
1951  *
1952  * @warning Don't use this funcion on items created with
1953  * elm_menu_item_add_object() or elm_menu_item_separator_add().
1954  *
1955  * @deprecated Use elm_object_item_text_set() instead
1956  */
1957 EINA_DEPRECATED EAPI void         elm_menu_item_label_set(Elm_Object_Item *it, const char *label);
1958
1959 /**
1960  * @brief Get the label of a menu item
1961  *
1962  * @param it The menu item object.
1963  * @return The label of @p item
1964  * @deprecated Use elm_object_item_text_get() instead
1965  */
1966 EINA_DEPRECATED EAPI const char  *elm_menu_item_label_get(const Elm_Object_Item *it);
1967
1968 /**
1969  * @brief Set the content object of a menu item
1970  *
1971  * @param it The menu item object
1972  * @param The content object or NULL
1973  * @return EINA_TRUE on success, else EINA_FALSE
1974  *
1975  * Use this function to change the object swallowed by a menu item, deleting
1976  * any previously swallowed object.
1977  *
1978  * @deprecated Use elm_object_item_content_set() instead
1979  */
1980 EINA_DEPRECATED EAPI Eina_Bool    elm_menu_item_object_content_set(Elm_Object_Item *it, Evas_Object *obj);
1981
1982 /**
1983  * @brief Get the content object of a menu item
1984  *
1985  * @param it The menu item object
1986  * @return The content object or NULL
1987  * @note If @p item was added with elm_menu_item_add_object, this
1988  * function will return the object passed, else it will return the
1989  * icon object.
1990  *
1991  * @see elm_menu_item_object_content_set()
1992  *
1993  * @deprecated Use elm_object_item_content_get() instead
1994  */
1995 EINA_DEPRECATED EAPI Evas_Object *elm_menu_item_object_content_get(const Elm_Object_Item *it);
1996
1997 /**
1998  * @brief Set the disabled state of @p item.
1999  *
2000  * @param it The menu item object.
2001  * @param disabled The enabled/disabled state of the item
2002  * @deprecated Use elm_object_item_disabled_set() instead
2003  */
2004 EINA_DEPRECATED EAPI void         elm_menu_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
2005
2006 /**
2007  * @brief Get the disabled state of @p item.
2008  *
2009  * @param it The menu item object.
2010  * @return The enabled/disabled state of the item
2011  *
2012  * @see elm_menu_item_disabled_set()
2013  * @deprecated Use elm_object_item_disabled_get() instead
2014  */
2015 EINA_DEPRECATED EAPI Eina_Bool    elm_menu_item_disabled_get(const Elm_Object_Item *it);
2016
2017 /**
2018  * @brief Returns the data associated with menu item @p item.
2019  *
2020  * @param it The item
2021  * @return The data associated with @p item or NULL if none was set.
2022  *
2023  * This is the data set with elm_menu_add() or elm_menu_item_data_set().
2024  *
2025  * @deprecated Use elm_object_item_data_get() instead
2026  */
2027 EINA_DEPRECATED EAPI void        *elm_menu_item_data_get(const Elm_Object_Item *it);
2028
2029 /**
2030  * @brief Set the function called when a menu item is deleted.
2031  *
2032  * @param it The item to set the callback on
2033  * @param func The function called
2034  *
2035  * @see elm_menu_item_add()
2036  * @see elm_menu_item_del()
2037  * @deprecated Use elm_object_item_del_cb_set() instead
2038  */
2039 EINA_DEPRECATED EAPI void                         elm_menu_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
2040
2041 /**
2042  * @brief Sets the data to be associated with menu item @p item.
2043  *
2044  * @param it The item
2045  * @param data The data to be associated with @p item
2046  *
2047  * @deprecated Use elm_object_item_data_set() instead
2048  */
2049 EINA_DEPRECATED EAPI void         elm_menu_item_data_set(Elm_Object_Item *it, const void *data);
2050
2051 /**
2052  * @brief Deletes an item from the menu.
2053  *
2054  * @param it The item to delete.
2055  *
2056  * @deprecated Use elm_object_item_del() instead
2057  * @see elm_menu_item_add()
2058  */
2059 EINA_DEPRECATED EAPI void                         elm_menu_item_del(Elm_Object_Item *it);
2060
2061 /**
2062  * @brief Set the content of the notify widget
2063  *
2064  * @param obj The notify object
2065  * @param content The content will be filled in this notify object
2066  *
2067  * Once the content object is set, a previously set one will be deleted. If
2068  * you want to keep that old content object, use the
2069  * elm_notify_content_unset() function.
2070  *
2071  * @deprecated use elm_object_content_set() instead
2072  *
2073  */
2074 EINA_DEPRECATED EAPI void         elm_notify_content_set(Evas_Object *obj, Evas_Object *content);
2075
2076 /**
2077  * @brief Unset the content of the notify widget
2078  *
2079  * @param obj The notify object
2080  * @return The content that was being used
2081  *
2082  * Unparent and return the content object which was set for this widget
2083  *
2084  * @see elm_notify_content_set()
2085  * @deprecated use elm_object_content_unset() instead
2086  *
2087  */
2088 EINA_DEPRECATED EAPI Evas_Object *elm_notify_content_unset(Evas_Object *obj);
2089
2090 /**
2091  * @brief Return the content of the notify widget
2092  *
2093  * @param obj The notify object
2094  * @return The content that is being used
2095  *
2096  * @see elm_notify_content_set()
2097  * @deprecated use elm_object_content_get() instead
2098  *
2099  */
2100 EINA_DEPRECATED EAPI Evas_Object *elm_notify_content_get(const Evas_Object *obj);
2101
2102 /**
2103  * Set a label of an object
2104  *
2105  * @param obj The Elementary object
2106  * @param part The text part name to set (NULL for the default label)
2107  * @param label The new text of the label
2108  *
2109  * @note Elementary objects may have many labels (e.g. Action Slider)
2110  * @deprecated Use elm_object_part_text_set() instead.
2111  * @ingroup General
2112  */
2113 EINA_DEPRECATED EAPI void         elm_object_text_part_set(Evas_Object *obj, const char *part, const char *label);
2114
2115 /**
2116  * Get a label of an object
2117  *
2118  * @param obj The Elementary object
2119  * @param part The text part name to get (NULL for the default label)
2120  * @return text of the label or NULL for any error
2121  *
2122  * @note Elementary objects may have many labels (e.g. Action Slider)
2123  * @deprecated Use elm_object_part_text_get() instead.
2124  * @ingroup General
2125  */
2126 EINA_DEPRECATED EAPI const char  *elm_object_text_part_get(const Evas_Object *obj, const char *part);
2127
2128 /**
2129  * Set a content of an object
2130  *
2131  * @param obj The Elementary object
2132  * @param part The content part name to set (NULL for the default content)
2133  * @param content The new content of the object
2134  *
2135  * @note Elementary objects may have many contents
2136  * @deprecated Use elm_object_part_content_set instead.
2137  * @ingroup General
2138  */
2139 EINA_DEPRECATED EAPI void         elm_object_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
2140
2141 /**
2142  * Get a content of an object
2143  *
2144  * @param obj The Elementary object
2145  * @param part The content part name to get (NULL for the default content)
2146  * @return content of the object or NULL for any error
2147  *
2148  * @note Elementary objects may have many contents
2149  * @deprecated Use elm_object_part_content_get instead.
2150  * @ingroup General
2151  */
2152 EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_get(const Evas_Object *obj, const char *part);
2153
2154 /**
2155  * Unset a content of an object
2156  *
2157  * @param obj The Elementary object
2158  * @param part The content part name to unset (NULL for the default content)
2159  *
2160  * @note Elementary objects may have many contents
2161  * @deprecated Use elm_object_part_content_unset instead.
2162  * @ingroup General
2163  */
2164 EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_unset(Evas_Object *obj, const char *part);
2165
2166 /**
2167  * Set a content of an object item
2168  *
2169  * @param it The Elementary object item
2170  * @param part The content part name to set (NULL for the default content)
2171  * @param content The new content of the object item
2172  *
2173  * @note Elementary object items may have many contents
2174  * @deprecated Use elm_object_item_part_content_set instead.
2175  * @ingroup General
2176  */
2177 EINA_DEPRECATED EAPI void         elm_object_item_content_part_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
2178
2179 /**
2180  * Get a content of an object item
2181  *
2182  * @param it The Elementary object item
2183  * @param part The content part name to unset (NULL for the default content)
2184  * @return content of the object item or NULL for any error
2185  *
2186  * @note Elementary object items may have many contents
2187  * @deprecated Use elm_object_item_part_content_get instead.
2188  * @ingroup General
2189  */
2190 EINA_DEPRECATED EAPI Evas_Object                 *elm_object_item_content_part_get(const Elm_Object_Item *it, const char *part);
2191
2192 /**
2193  * Unset a content of an object item
2194  *
2195  * @param it The Elementary object item
2196  * @param part The content part name to unset (NULL for the default content)
2197  *
2198  * @note Elementary object items may have many contents
2199  * @deprecated Use elm_object_item_part_content_unset instead.
2200  * @ingroup General
2201  */
2202 EINA_DEPRECATED EAPI Evas_Object *elm_object_item_content_part_unset(Elm_Object_Item *it, const char *part);
2203
2204 /**
2205  * Get a label of an object item
2206  *
2207  * @param it The Elementary object item
2208  * @param part The text part name to get (NULL for the default label)
2209  * @return text of the label or NULL for any error
2210  *
2211  * @note Elementary object items may have many labels
2212  * @deprecated Use elm_object_item_part_text_get instead.
2213  * @ingroup General
2214  */
2215 EINA_DEPRECATED EAPI const char  *elm_object_item_text_part_get(const Elm_Object_Item *it, const char *part);
2216
2217 /**
2218  * Set a label of an object item
2219  *
2220  * @param it The Elementary object item
2221  * @param part The text part name to set (NULL for the default label)
2222  * @param label The new text of the label
2223  *
2224  * @note Elementary object items may have many labels
2225  * @deprecated Use elm_object_item_part_text_set instead.
2226  * @ingroup General
2227  */
2228 EINA_DEPRECATED EAPI void         elm_object_item_text_part_set(Elm_Object_Item *it, const char *part, const char *label);
2229
2230 /**
2231  * @brief Set the content of the panel.
2232  *
2233  * @param obj The panel object
2234  * @param content The panel content
2235  *
2236  * Once the content object is set, a previously set one will be deleted.
2237  * If you want to keep that old content object, use the
2238  * elm_panel_content_unset() function.
2239  *
2240  * @deprecated use elm_object_content_set() instead
2241  *
2242  */
2243 EINA_DEPRECATED EAPI void         elm_panel_content_set(Evas_Object *obj, Evas_Object *content);
2244
2245 /**
2246  * @brief Get the content of the panel.
2247  *
2248  * @param obj The panel object
2249  * @return The content that is being used
2250  *
2251  * Return the content object which is set for this widget.
2252  *
2253  * @see elm_panel_content_set()
2254  *
2255  * @deprecated use elm_object_content_get() instead
2256  *
2257  */
2258 EINA_DEPRECATED EAPI Evas_Object *elm_panel_content_get(const Evas_Object *obj);
2259
2260 /**
2261  * @brief Unset the content of the panel.
2262  *
2263  * @param obj The panel object
2264  * @return The content that was being used
2265  *
2266  * Unparent and return the content object which was set for this widget.
2267  *
2268  * @see elm_panel_content_set()
2269  *
2270  * @deprecated use elm_object_content_unset() instead
2271  *
2272  */
2273 EINA_DEPRECATED EAPI Evas_Object *elm_panel_content_unset(Evas_Object *obj);
2274
2275 /**
2276  * Set the left content of the panes widget.
2277  *
2278  * @param obj The panes object.
2279  * @param content The new left content object.
2280  *
2281  * Once the content object is set, a previously set one will be deleted.
2282  * If you want to keep that old content object, use the
2283  * elm_panes_content_left_unset() function.
2284  *
2285  * If panes is displayed vertically, left content will be displayed at
2286  * top.
2287  *
2288  * @see elm_panes_content_left_get()
2289  * @see elm_panes_content_right_set() to set content on the other side.
2290  *
2291  * @deprecated use elm_object_part_content_set() instead
2292  *
2293  * @ingroup Panes
2294  */
2295 EINA_DEPRECATED EAPI void         elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content);
2296
2297 /**
2298  * Set the right content of the panes widget.
2299  *
2300  * @param obj The panes object.
2301  * @param content The new right content object.
2302  *
2303  * Once the content object is set, a previously set one will be deleted.
2304  * If you want to keep that old content object, use the
2305  * elm_panes_content_right_unset() function.
2306  *
2307  * If panes is displayed vertically, left content will be displayed at
2308  * bottom.
2309  *
2310  * @see elm_panes_content_right_get()
2311  * @see elm_panes_content_left_set() to set content on the other side.
2312  *
2313  * @deprecated use elm_object_part_content_set() instead
2314  *
2315  * @ingroup Panes
2316  */
2317 EINA_DEPRECATED EAPI void         elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content);
2318
2319 /**
2320  * Get the left content of the panes.
2321  *
2322  * @param obj The panes object.
2323  * @return The left content object that is being used.
2324  *
2325  * Return the left content object which is set for this widget.
2326  *
2327  * @see elm_panes_content_left_set() for details.
2328  *
2329  * @deprecated use elm_object_part_content_get() instead
2330  *
2331  * @ingroup Panes
2332  */
2333 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_left_get(const Evas_Object *obj);
2334
2335 /**
2336  * Get the right content of the panes.
2337  *
2338  * @param obj The panes object
2339  * @return The right content object that is being used
2340  *
2341  * Return the right content object which is set for this widget.
2342  *
2343  * @see elm_panes_content_right_set() for details.
2344  *
2345  * @deprecated use elm_object_part_content_get() instead
2346  *
2347  * @ingroup Panes
2348  */
2349 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_right_get(const Evas_Object *obj);
2350
2351 /**
2352  * Unset the left content used for the panes.
2353  *
2354  * @param obj The panes object.
2355  * @return The left content object that was being used.
2356  *
2357  * Unparent and return the left content object which was set for this widget.
2358  *
2359  * @see elm_panes_content_left_set() for details.
2360  * @see elm_panes_content_left_get().
2361  *
2362  * @deprecated use elm_object_part_content_unset() instead
2363  *
2364  * @ingroup Panes
2365  */
2366 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_left_unset(Evas_Object *obj);
2367
2368 /**
2369  * Unset the right content used for the panes.
2370  *
2371  * @param obj The panes object.
2372  * @return The right content object that was being used.
2373  *
2374  * Unparent and return the right content object which was set for this
2375  * widget.
2376  *
2377  * @see elm_panes_content_right_set() for details.
2378  * @see elm_panes_content_right_get().
2379  *
2380  * @deprecated use elm_object_part_content_unset() instead
2381  *
2382  * @ingroup Panes
2383  */
2384 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_right_unset(Evas_Object *obj);
2385 /**
2386  * Set the label of a given progress bar widget
2387  *
2388  * @param obj The progress bar object
2389  * @param label The text label string, in UTF-8
2390  *
2391  * @ingroup Progressbar
2392  * @deprecated use elm_object_text_set() instead.
2393  */
2394 EINA_DEPRECATED EAPI void         elm_progressbar_label_set(Evas_Object *obj, const char *label);
2395
2396 /**
2397  * Get the label of a given progress bar widget
2398  *
2399  * @param obj The progressbar object
2400  * @return The text label string, in UTF-8
2401  *
2402  * @ingroup Progressbar
2403  * @deprecated use elm_object_text_set() instead.
2404  */
2405 EINA_DEPRECATED EAPI const char  *elm_progressbar_label_get(const Evas_Object *obj);
2406
2407 /**
2408  * Set the icon object of a given progress bar widget
2409  *
2410  * @param obj The progress bar object
2411  * @param icon The icon object
2412  *
2413  * Use this call to decorate @p obj with an icon next to it.
2414  *
2415  * @note Once the icon object is set, a previously set one will be
2416  * deleted. If you want to keep that old content object, use the
2417  * elm_progressbar_icon_unset() function.
2418  *
2419  * @see elm_progressbar_icon_get()
2420  * @deprecated use elm_object_part_content_set() instead.
2421  *
2422  * @ingroup Progressbar
2423  */
2424 EINA_DEPRECATED EAPI void         elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon);
2425
2426 /**
2427  * Retrieve the icon object set for a given progress bar widget
2428  *
2429  * @param obj The progress bar object
2430  * @return The icon object's handle, if @p obj had one set, or @c NULL,
2431  * otherwise (and on errors)
2432  *
2433  * @see elm_progressbar_icon_set() for more details
2434  * @deprecated use elm_object_part_content_get() instead.
2435  *
2436  * @ingroup Progressbar
2437  */
2438 EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj);
2439
2440 /**
2441  * Unset an icon set on a given progress bar widget
2442  *
2443  * @param obj The progress bar object
2444  * @return The icon object that was being used, if any was set, or
2445  * @c NULL, otherwise (and on errors)
2446  *
2447  * This call will unparent and return the icon object which was set
2448  * for this widget, previously, on success.
2449  *
2450  * @see elm_progressbar_icon_set() for more details
2451  * @deprecated use elm_object_part_content_unset() instead.
2452  *
2453  * @ingroup Progressbar
2454  */
2455 EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj);
2456
2457 /**
2458  * @brief Set the text label of the radio object
2459  *
2460  * @param obj The radio object
2461  * @param label The text label string in UTF-8
2462  *
2463  * @deprecated use elm_object_text_set() instead.
2464  */
2465 EINA_DEPRECATED EAPI void         elm_radio_label_set(Evas_Object *obj, const char *label);
2466
2467 /**
2468  * @brief Get the text label of the radio object
2469  *
2470  * @param obj The radio object
2471  * @return The text label string in UTF-8
2472  *
2473  * @deprecated use elm_object_text_set() instead.
2474  */
2475 EINA_DEPRECATED EAPI const char  *elm_radio_label_get(const Evas_Object *obj);
2476
2477 /**
2478  * @brief Set the icon object of the radio object
2479  *
2480  * @param obj The radio object
2481  * @param icon The icon object
2482  *
2483  * Once the icon object is set, a previously set one will be deleted. If you
2484  * want to keep that old content object, use the elm_radio_icon_unset()
2485  * function.
2486  *
2487  * @deprecated use elm_object_part_content_set() instead.
2488  *
2489  */
2490 EINA_DEPRECATED EAPI void         elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon);
2491
2492 /**
2493  * @brief Get the icon object of the radio object
2494  *
2495  * @param obj The radio object
2496  * @return The icon object
2497  *
2498  * @see elm_radio_icon_set()
2499  *
2500  * @deprecated use elm_object_part_content_get() instead.
2501  *
2502  */
2503 EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj);
2504
2505 /**
2506  * @brief Unset the icon used for the radio object
2507  *
2508  * @param obj The radio object
2509  * @return The icon object that was being used
2510  *
2511  * Unparent and return the icon object which was set for this widget.
2512  *
2513  * @see elm_radio_icon_set()
2514  * @deprecated use elm_object_part_content_unset() instead.
2515  *
2516  */
2517 EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj);
2518
2519 /**
2520  * @brief Set the content of the scroller widget (the object to be scrolled around).
2521  *
2522  * @param obj The scroller object
2523  * @param content The new content object
2524  *
2525  * Once the content object is set, a previously set one will be deleted.
2526  * If you want to keep that old content object, use the
2527  * elm_scroller_content_unset() function.
2528  * @deprecated use elm_object_content_set() instead
2529  */
2530 EINA_DEPRECATED EAPI void         elm_scroller_content_set(Evas_Object *obj, Evas_Object *child);
2531
2532 /**
2533  * @brief Get the content of the scroller widget
2534  *
2535  * @param obj The slider object
2536  * @return The content that is being used
2537  *
2538  * Return the content object which is set for this widget
2539  *
2540  * @see elm_scroller_content_set()
2541  * @deprecated use elm_object_content_get() instead.
2542  */
2543 EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj);
2544
2545 /**
2546  * @brief Unset the content of the scroller widget
2547  *
2548  * @param obj The slider object
2549  * @return The content that was being used
2550  *
2551  * Unparent and return the content object which was set for this widget
2552  *
2553  * @see elm_scroller_content_set()
2554  * @deprecated use elm_object_content_unset() instead.
2555  */
2556 EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj);
2557
2558 /**
2559  * Set the label of a given slider widget
2560  *
2561  * @param obj The progress bar object
2562  * @param label The text label string, in UTF-8
2563  *
2564  * @ingroup Slider
2565  * @deprecated use elm_object_text_set() instead.
2566  */
2567 EINA_DEPRECATED EAPI void         elm_slider_label_set(Evas_Object *obj, const char *label);
2568
2569 /**
2570  * Get the label of a given slider widget
2571  *
2572  * @param obj The progressbar object
2573  * @return The text label string, in UTF-8
2574  *
2575  * @ingroup Slider
2576  * @deprecated use elm_object_text_get() instead.
2577  */
2578 EINA_DEPRECATED EAPI const char  *elm_slider_label_get(const Evas_Object *obj);
2579
2580 /**
2581  * Set the icon object of the slider object.
2582  *
2583  * @param obj The slider object.
2584  * @param icon The icon object.
2585  *
2586  * On horizontal mode, icon is placed at left, and on vertical mode,
2587  * placed at top.
2588  *
2589  * @note Once the icon object is set, a previously set one will be deleted.
2590  * If you want to keep that old content object, use the
2591  * elm_slider_icon_unset() function.
2592  *
2593  * @warning If the object being set does not have minimum size hints set,
2594  * it won't get properly displayed.
2595  *
2596  * @ingroup Slider
2597  * @deprecated use elm_object_part_content_set() instead.
2598  */
2599 EINA_DEPRECATED EAPI void         elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon);
2600
2601 /**
2602  * Unset an icon set on a given slider widget.
2603  *
2604  * @param obj The slider object.
2605  * @return The icon object that was being used, if any was set, or
2606  * @c NULL, otherwise (and on errors).
2607  *
2608  * On horizontal mode, icon is placed at left, and on vertical mode,
2609  * placed at top.
2610  *
2611  * This call will unparent and return the icon object which was set
2612  * for this widget, previously, on success.
2613  *
2614  * @see elm_slider_icon_set() for more details
2615  * @see elm_slider_icon_get()
2616  * @deprecated use elm_object_part_content_unset() instead.
2617  *
2618  * @ingroup Slider
2619  */
2620 EINA_DEPRECATED EAPI Evas_Object *elm_slider_icon_unset(Evas_Object *obj);
2621
2622 /**
2623  * Retrieve the icon object set for a given slider widget.
2624  *
2625  * @param obj The slider object.
2626  * @return The icon object's handle, if @p obj had one set, or @c NULL,
2627  * otherwise (and on errors).
2628  *
2629  * On horizontal mode, icon is placed at left, and on vertical mode,
2630  * placed at top.
2631  *
2632  * @see elm_slider_icon_set() for more details
2633  * @see elm_slider_icon_unset()
2634  *
2635  * @deprecated use elm_object_part_content_get() instead.
2636  *
2637  * @ingroup Slider
2638  */
2639 EINA_DEPRECATED EAPI Evas_Object *elm_slider_icon_get(const Evas_Object *obj);
2640
2641 /**
2642  * Set the end object of the slider object.
2643  *
2644  * @param obj The slider object.
2645  * @param end The end object.
2646  *
2647  * On horizontal mode, end is placed at left, and on vertical mode,
2648  * placed at bottom.
2649  *
2650  * @note Once the icon object is set, a previously set one will be deleted.
2651  * If you want to keep that old content object, use the
2652  * elm_slider_end_unset() function.
2653  *
2654  * @warning If the object being set does not have minimum size hints set,
2655  * it won't get properly displayed.
2656  *
2657  * @deprecated use elm_object_part_content_set() instead.
2658  *
2659  * @ingroup Slider
2660  */
2661 EINA_DEPRECATED EAPI void         elm_slider_end_set(Evas_Object *obj, Evas_Object *end);
2662
2663 /**
2664  * Unset an end object set on a given slider widget.
2665  *
2666  * @param obj The slider object.
2667  * @return The end object that was being used, if any was set, or
2668  * @c NULL, otherwise (and on errors).
2669  *
2670  * On horizontal mode, end is placed at left, and on vertical mode,
2671  * placed at bottom.
2672  *
2673  * This call will unparent and return the icon object which was set
2674  * for this widget, previously, on success.
2675  *
2676  * @see elm_slider_end_set() for more details.
2677  * @see elm_slider_end_get()
2678  *
2679  * @deprecated use elm_object_part_content_unset() instead
2680  * instead.
2681  *
2682  * @ingroup Slider
2683  */
2684 EINA_DEPRECATED EAPI Evas_Object *elm_slider_end_unset(Evas_Object *obj);
2685
2686 /**
2687  * Retrieve the end object set for a given slider widget.
2688  *
2689  * @param obj The slider object.
2690  * @return The end object's handle, if @p obj had one set, or @c NULL,
2691  * otherwise (and on errors).
2692  *
2693  * On horizontal mode, icon is placed at right, and on vertical mode,
2694  * placed at bottom.
2695  *
2696  * @see elm_slider_end_set() for more details.
2697  * @see elm_slider_end_unset()
2698  *
2699  *
2700  * @deprecated use elm_object_part_content_get() instead
2701  * instead.
2702  *
2703  * @ingroup Slider
2704  */
2705 EINA_DEPRECATED EAPI Evas_Object *elm_slider_end_get(const Evas_Object *obj);
2706
2707 /**
2708  * Return the data associated with a given slideshow item
2709  *
2710  * @param it The slideshow item
2711  * @return Returns the data associated to this item
2712  *
2713  * @deprecated use elm_object_item_data_get() instead
2714  * @ingroup Slideshow
2715  */
2716 EINA_DEPRECATED EAPI void *elm_slideshow_item_data_get(const Elm_Object_Item *it);
2717
2718 /**
2719  * Delete a given item from a slideshow widget.
2720  *
2721  * @param it The slideshow item
2722  *
2723  * @deprecated Use elm_object_item_de() instead
2724  * @ingroup Slideshow
2725  */
2726 EINA_DEPRECATED EAPI void                  elm_slideshow_item_del(Elm_Object_Item *it);
2727
2728 /**
2729  * Get the toolbar object from an item.
2730  *
2731  * @param it The item.
2732  * @return The toolbar object.
2733  *
2734  * This returns the toolbar object itself that an item belongs to.
2735  *
2736  * @deprecated use elm_object_item_object_get() instead.
2737  * @ingroup Toolbar
2738  */
2739 EINA_DEPRECATED EAPI Evas_Object *elm_toolbar_item_toolbar_get(const Elm_Object_Item *it);
2740
2741 /**
2742  * Get the label of item.
2743  *
2744  * @param it The item of toolbar.
2745  * @return The label of item.
2746  *
2747  * The return value is a pointer to the label associated to @p item when
2748  * it was created, with function elm_toolbar_item_append() or similar,
2749  * or later,
2750  * with function elm_toolbar_item_label_set. If no label
2751  * was passed as argument, it will return @c NULL.
2752  *
2753  * @see elm_toolbar_item_label_set() for more details.
2754  * @see elm_toolbar_item_append()
2755  *
2756  * @deprecated use elm_object_item_text_get() instead.
2757  * @ingroup Toolbar
2758  */
2759 EINA_DEPRECATED EAPI const char  *elm_toolbar_item_label_get(const Elm_Object_Item *it);
2760
2761 /**
2762  * Set the label of item.
2763  *
2764  * @param it The item of toolbar.
2765  * @param text The label of item.
2766  *
2767  * The label to be displayed by the item.
2768  * Label will be placed at icons bottom (if set).
2769  *
2770  * If a label was passed as argument on item creation, with function
2771  * elm_toolbar_item_append() or similar, it will be already
2772  * displayed by the item.
2773  *
2774  * @see elm_toolbar_item_label_get()
2775  * @see elm_toolbar_item_append()
2776  *
2777  * @deprecated use elm_object_item_text_set() instead
2778  * @ingroup Toolbar
2779  */
2780 EINA_DEPRECATED EAPI void         elm_toolbar_item_label_set(Elm_Object_Item *it, const char *label);
2781
2782 /**
2783  * Return the data associated with a given toolbar widget item.
2784  *
2785  * @param it The toolbar widget item handle.
2786  * @return The data associated with @p item.
2787  *
2788  * @see elm_toolbar_item_data_set()
2789  *
2790  * @deprecated use elm_object_item_data_get() instead.
2791  * @ingroup Toolbar
2792  */
2793 EINA_DEPRECATED EAPI void        *elm_toolbar_item_data_get(const Elm_Object_Item *it);
2794
2795 /**
2796  * Set the data associated with a given toolbar widget item.
2797  *
2798  * @param it The toolbar widget item handle
2799  * @param data The new data pointer to set to @p item.
2800  *
2801  * This sets new item data on @p item.
2802  *
2803  * @warning The old data pointer won't be touched by this function, so
2804  * the user had better to free that old data himself/herself.
2805  *
2806  * @deprecated use elm_object_item_data_set() instead.
2807  * @ingroup Toolbar
2808  */
2809 EINA_DEPRECATED EAPI void         elm_toolbar_item_data_set(Elm_Object_Item *it, const void *data);
2810
2811 /**
2812  * Get a value whether toolbar item is disabled or not.
2813  *
2814  * @param it The item.
2815  * @return The disabled state.
2816  *
2817  * @see elm_toolbar_item_disabled_set() for more details.
2818  *
2819  * @deprecated use elm_object_item_disabled_get() instead.
2820  * @ingroup Toolbar
2821  */
2822 EINA_DEPRECATED EAPI Eina_Bool    elm_toolbar_item_disabled_get(const Elm_Object_Item *it);
2823
2824 /**
2825  * Sets the disabled/enabled state of a toolbar item.
2826  *
2827  * @param it The item.
2828  * @param disabled The disabled state.
2829  *
2830  * A disabled item cannot be selected or unselected. It will also
2831  * change its appearance (generally greyed out). This sets the
2832  * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
2833  * enabled).
2834  *
2835  * @deprecated use elm_object_item_disabled_set() instead.
2836  * @ingroup Toolbar
2837  */
2838 EINA_DEPRECATED EAPI void         elm_toolbar_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
2839
2840 /**
2841  * Change a toolbar's orientation
2842  * @param obj The toolbar object
2843  * @param vertical If @c EINA_TRUE, the toolbar is vertical
2844  * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
2845  * @ingroup Toolbar
2846  * @deprecated use elm_toolbar_horizontal_set() instead.
2847  */
2848 EINA_DEPRECATED EAPI void         elm_toolbar_orientation_set(Evas_Object *obj, Eina_Bool vertical);
2849
2850 /**
2851  * Get a toolbar's orientation
2852  * @param obj The toolbar object
2853  * @return If @c EINA_TRUE, the toolbar is vertical
2854  * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
2855  * @ingroup Toolbar
2856  * @deprecated use elm_toolbar_horizontal_get() instead.
2857  */
2858 EINA_DEPRECATED EAPI Eina_Bool    elm_toolbar_orientation_get(const Evas_Object *obj);
2859
2860 /**
2861  * Set the function called when a toolbar item is freed.
2862  *
2863  * @param it The item to set the callback on.
2864  * @param func The function called.
2865  *
2866  * If there is a @p func, then it will be called prior item's memory release.
2867  * That will be called with the following arguments:
2868  * @li item's data;
2869  * @li item's Evas object;
2870  * @li item itself;
2871  *
2872  * This way, a data associated to a toolbar item could be properly freed.
2873  *
2874  * @deprecated Use elm_object_item_del_cb_set() instead 
2875  * @ingroup Toolbar
2876  */
2877 EINA_DEPRECATED EAPI void                         elm_toolbar_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
2878
2879 /**
2880  * Delete them item from the toolbar.
2881  *
2882  * @param it The item of toolbar to be deleted.
2883  *
2884  * @deprecated Use elm_object_item_del() instead
2885  * @see elm_toolbar_item_append()
2886  *
2887  * @ingroup Toolbar
2888  */
2889 EINA_DEPRECATED EAPI void                         elm_toolbar_item_del(Elm_Object_Item *it);
2890
2891 /**
2892  * Set the text to be shown in a given toolbar item's tooltips.
2893  *
2894  * @param it toolbar item.
2895  * @param text The text to set in the content.
2896  *
2897  * Setup the text as tooltip to object. The item can have only one tooltip,
2898  * so any previous tooltip data - set with this function or
2899  * elm_toolbar_item_tooltip_content_cb_set() - is removed.
2900  *
2901  * @deprecated Use elm_object_item_tooltip_text_set() instead
2902  * @see elm_object_tooltip_text_set() for more details.
2903  *
2904  * @ingroup Toolbar
2905  */
2906 EINA_DEPRECATED EAPI void                         elm_toolbar_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
2907
2908 /**
2909  * Set the content to be shown in the tooltip item.
2910  *
2911  * Setup the tooltip to item. The item can have only one tooltip,
2912  * so any previous tooltip data is removed. @p func(with @p data) will
2913  * be called every time that need show the tooltip and it should
2914  * return a valid Evas_Object. This object is then managed fully by
2915  * tooltip system and is deleted when the tooltip is gone.
2916  *
2917  * @param it the toolbar item being attached a tooltip.
2918  * @param func the function used to create the tooltip contents.
2919  * @param data what to provide to @a func as callback data/context.
2920  * @param del_cb called when data is not needed anymore, either when
2921  *        another callback replaces @a func, the tooltip is unset with
2922  *        elm_toolbar_item_tooltip_unset() or the owner @a item
2923  *        dies. This callback receives as the first parameter the
2924  *        given @a data, and @c event_info is the item.
2925  *
2926  * @deprecated Use elm_object_item_tooltip_content_cb_set() instead
2927  * @see elm_object_tooltip_content_cb_set() for more details.
2928  *
2929  * @ingroup Toolbar
2930  */
2931 EINA_DEPRECATED EAPI void                         elm_toolbar_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);
2932
2933 /**
2934  * Unset tooltip from item.
2935  *
2936  * @param it toolbar item to remove previously set tooltip.
2937  *
2938  * Remove tooltip from item. The callback provided as del_cb to
2939  * elm_toolbar_item_tooltip_content_cb_set() will be called to notify
2940  * it is not used anymore.
2941  *
2942  * @deprecated Use elm_object_item_tooltip_unset() instead
2943  * @see elm_object_tooltip_unset() for more details.
2944  * @see elm_toolbar_item_tooltip_content_cb_set()
2945  *
2946  * @ingroup Toolbar
2947  */
2948 EINA_DEPRECATED EAPI void                         elm_toolbar_item_tooltip_unset(Elm_Object_Item *it);
2949
2950 /**
2951  * Sets a different style for this item tooltip.
2952  *
2953  * @note before you set a style you should define a tooltip with
2954  *       elm_toolbar_item_tooltip_content_cb_set() or
2955  *       elm_toolbar_item_tooltip_text_set()
2956  *
2957  * @param it toolbar item with tooltip already set.
2958  * @param style the theme style to use (default, transparent, ...)
2959  *
2960  * @deprecated Use elm_object_item_tooltip_style_set() instead
2961  * @see elm_object_tooltip_style_set() for more details.
2962  *
2963  * @ingroup Toolbar
2964  */
2965 EINA_DEPRECATED EAPI void                         elm_toolbar_item_tooltip_style_set(Elm_Object_Item *it, const char *style);
2966
2967 /**
2968  * Get the style for this item tooltip.
2969  *
2970  * @param it toolbar item with tooltip already set.
2971  * @return style the theme style in use, defaults to "default". If the
2972  *         object does not have a tooltip set, then NULL is returned.
2973  *
2974  * @deprecated Use elm_object_item_style_get() instead
2975  * @see elm_object_tooltip_style_get() for more details.
2976  * @see elm_toolbar_item_tooltip_style_set()
2977  *
2978  * @ingroup Toolbar
2979  */
2980 EINA_DEPRECATED EAPI const char                  *elm_toolbar_item_tooltip_style_get(const Elm_Object_Item *it);
2981
2982 /**
2983  * @brief Link a Elm_Payer with an Elm_Video object.
2984  *
2985  * @param player the Elm_Player object.
2986  * @param video The Elm_Video object.
2987  *
2988  * This mean that action on the player widget will affect the
2989  * video object and the state of the video will be reflected in
2990  * the player itself.
2991  *
2992  * @see elm_player_add()
2993  * @see elm_video_add()
2994  * @deprecated use elm_object_part_content_set() instead
2995  *
2996  * @ingroup Video
2997  */
2998 EINA_DEPRECATED EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);
2999
3000 /**
3001  * Set the label of item.
3002  *
3003  * @param it The item of segment control.
3004  * @param text The label of item.
3005  *
3006  * The label to be displayed by the item.
3007  * Label will be at right of the icon (if set).
3008  *
3009  * If a label was passed as argument on item creation, with function
3010  * elm_control_segment_item_add(), it will be already
3011  * displayed by the item.
3012  *
3013  * @see elm_segment_control_item_label_get()
3014  * @see elm_segment_control_item_add()
3015  * @deprecated Use elm_object_item_text_set() instead
3016  *
3017  * @ingroup SegmentControl
3018  */
3019 EINA_DEPRECATED EAPI void              elm_segment_control_item_label_set(Elm_Object_Item *it, const char *label);
3020
3021
3022 /**
3023  * Set the icon associated to the item.
3024  *
3025  * @param it The segment control item.
3026  * @param icon The icon object to associate with @p it.
3027  *
3028  * The icon object to use at left side of the item. An
3029  * icon can be any Evas object, but usually it is an icon created
3030  * with elm_icon_add().
3031  *
3032  * Once the icon object is set, a previously set one will be deleted.
3033  * @warning Setting the same icon for two items will cause the icon to
3034  * dissapear from the first item.
3035  *
3036  * If an icon was passed as argument on item creation, with function
3037  * elm_segment_control_item_add(), it will be already
3038  * associated to the item.
3039  *
3040  * @see elm_segment_control_item_add()
3041  * @see elm_segment_control_item_icon_get()
3042  * @deprecated Use elm_object_item_part_content_set() instead
3043  *
3044  * @ingroup SegmentControl
3045  */
3046 EINA_DEPRECATED EAPI void              elm_segment_control_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
3047
3048 /**
3049  * Remove a segment control item from its parent, deleting it.
3050  *
3051  * @param it The item to be removed.
3052  *
3053  * Items can be added with elm_segment_control_item_add() or
3054  * elm_segment_control_item_insert_at().
3055  *
3056  * @deprecated Use elm_object_item_del() instead
3057  * @ingroup SegmentControl
3058  */
3059 EINA_DEPRECATED EAPI void              elm_segment_control_item_del(Elm_Object_Item *it);
3060
3061 /**
3062  * Get the label
3063  *
3064  * @param obj The multibuttonentry object
3065  * @return The label, or NULL if none
3066  *
3067  * @deprecated Use elm_object_text_get() instead 
3068  *
3069  */
3070 EINA_DEPRECATED EAPI const char                *elm_multibuttonentry_label_get(const Evas_Object *obj);
3071
3072 /**
3073  * Set the label
3074  *
3075  * @param obj The multibuttonentry object
3076  * @param label The text label string
3077  *
3078  * @deprecated Use elm_object_text_set() instead
3079  *
3080  */
3081 EINA_DEPRECATED EAPI void                       elm_multibuttonentry_label_set(Evas_Object *obj, const char *label);
3082
3083 /**
3084  * Get the label of a given item
3085  *
3086  * @param it The item
3087  * @return The label of a given item, or NULL if none
3088  *
3089  * @deprecated Use elm_object_item_text_get() instead
3090  *
3091  */
3092 EINA_DEPRECATED EAPI const char                *elm_multibuttonentry_item_label_get(const Elm_Object_Item *it);
3093
3094 /**
3095  * Set the label of a given item
3096  *
3097  * @param it The item
3098  * @param str The text label string
3099  *
3100  * @deprecated Use elm_object_item_text_set() instead
3101  */
3102 EINA_DEPRECATED EAPI void                       elm_multibuttonentry_item_label_set(Elm_Object_Item *it, const char *str);
3103
3104 /**
3105  * Delete a given item
3106  *
3107  * @param it The item
3108  * 
3109  * @deprecated Use elm_object_item_del() instead 
3110  *
3111  */
3112 EINA_DEPRECATED EAPI void                       elm_multibuttonentry_item_del(Elm_Object_Item *it);
3113
3114 /**
3115  * @brief Delete the given item instantly.
3116  *
3117  * @param it The naviframe item
3118  *
3119  * This just deletes the given item from the naviframe item list instantly.
3120  * So this would not emit any signals for view transitions but just change
3121  * the current view if the given item is a top one.
3122  *
3123  * @deprecated Use elm_object_item_del() instead
3124  * @ingroup Naviframe
3125  */
3126 EINA_DEPRECATED EAPI void             elm_naviframe_item_del(Elm_Object_Item *it);
3127
3128
3129
3130 /**
3131  * Sets the disabled/enabled state of a list item.
3132  *
3133  * @param it The item.
3134  * @param disabled The disabled state.
3135  *
3136  * A disabled item cannot be selected or unselected. It will also
3137  * change its appearance (generally greyed out). This sets the
3138  * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
3139  * enabled).
3140  *
3141  * @deprecated Use elm_object_item_disabled_set() instead
3142  * 
3143  * @ingroup List
3144  */
3145 EINA_DEPRECATED EAPI void                         elm_list_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
3146
3147 /**
3148  * Get a value whether list item is disabled or not.
3149  *
3150  * @param it The item.
3151  * @return The disabled state.
3152  *
3153  * @see elm_list_item_disabled_set() for more details.
3154  *
3155  * @deprecated Use elm_object_item_disabled_get() instead
3156  * 
3157  * @ingroup List
3158  */
3159 EINA_DEPRECATED EAPI Eina_Bool                    elm_list_item_disabled_get(const Elm_Object_Item *it);
3160
3161 /**
3162  * Set the function called when a list item is freed.
3163  *
3164  * @param it The item to set the callback on
3165  * @param func The function called
3166  *
3167  * If there is a @p func, then it will be called prior item's memory release.
3168  * That will be called with the following arguments:
3169  * @li item's data;
3170  * @li item's Evas object;
3171  * @li item itself;
3172  *
3173  * This way, a data associated to a list item could be properly freed.
3174  * 
3175  * @deprecated Please use elm_object_item_del_cb_set() instead.
3176  *
3177  * @ingroup List
3178  */
3179 EINA_DEPRECATED EAPI void                         elm_list_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
3180
3181 /**
3182  * Get the data associated to the item.
3183  *
3184  * @param it The list item
3185  * @return The data associated to @p item
3186  *
3187  * The return value is a pointer to data associated to @p item when it was
3188  * created, with function elm_list_item_append() or similar. If no data
3189  * was passed as argument, it will return @c NULL.
3190  *
3191  * @see elm_list_item_append()
3192  *
3193  * @deprecated Please use elm_object_item_data_get() instead.
3194  * 
3195  * @ingroup List
3196  */
3197 EINA_DEPRECATED EAPI void                        *elm_list_item_data_get(const Elm_Object_Item *it);
3198
3199 /**
3200  * Get the left side icon associated to the item.
3201  *
3202  * @param it The list item
3203  * @return The left side icon associated to @p item
3204  *
3205  * The return value is a pointer to the icon associated to @p item when
3206  * it was
3207  * created, with function elm_list_item_append() or similar, or later
3208  * with function elm_list_item_icon_set(). If no icon
3209  * was passed as argument, it will return @c NULL.
3210  *
3211  * @see elm_list_item_append()
3212  * @see elm_list_item_icon_set()
3213  *
3214  * @deprecated Please use elm_object_item_part_content_get(item, NULL);
3215  * @ingroup List
3216  */
3217 EINA_DEPRECATED EAPI Evas_Object                 *elm_list_item_icon_get(const Elm_Object_Item *it);
3218
3219 /**
3220  * Set the left side icon associated to the item.
3221  *
3222  * @param it The list item
3223  * @param icon The left side icon object to associate with @p item
3224  *
3225  * The icon object to use at left side of the item. An
3226  * icon can be any Evas object, but usually it is an icon created
3227  * with elm_icon_add().
3228  *
3229  * Once the icon object is set, a previously set one will be deleted.
3230  * @warning Setting the same icon for two items will cause the icon to
3231  * dissapear from the first item.
3232  *
3233  * If an icon was passed as argument on item creation, with function
3234  * elm_list_item_append() or similar, it will be already
3235  * associated to the item.
3236  *
3237  * @see elm_list_item_append()
3238  * @see elm_list_item_icon_get()
3239  *
3240  * @deprecated Please use elm_object_item_part_content_set(item, NULL, icon);
3241  * @ingroup List
3242  */
3243 EINA_DEPRECATED EAPI void                         elm_list_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
3244
3245 /**
3246  * Get the right side icon associated to the item.
3247  *
3248  * @param it The list item
3249  * @return The right side icon associated to @p item
3250  *
3251  * The return value is a pointer to the icon associated to @p item when
3252  * it was
3253  * created, with function elm_list_item_append() or similar, or later
3254  * with function elm_list_item_icon_set(). If no icon
3255  * was passed as argument, it will return @c NULL.
3256  *
3257  * @see elm_list_item_append()
3258  * @see elm_list_item_icon_set()
3259  *
3260  * @deprecated Please use elm_object_item_part_content_get(item, "end");
3261  * @ingroup List
3262  */
3263 EINA_DEPRECATED EAPI Evas_Object                 *elm_list_item_end_get(const Elm_Object_Item *it);
3264
3265 /**
3266  * Set the right side icon associated to the item.
3267  *
3268  * @param it The list item
3269  * @param end The right side icon object to associate with @p item
3270  *
3271  * The icon object to use at right side of the item. An
3272  * icon can be any Evas object, but usually it is an icon created
3273  * with elm_icon_add().
3274  *
3275  * Once the icon object is set, a previously set one will be deleted.
3276  * @warning Setting the same icon for two items will cause the icon to
3277  * dissapear from the first item.
3278  *
3279  * If an icon was passed as argument on item creation, with function
3280  * elm_list_item_append() or similar, it will be already
3281  * associated to the item.
3282  *
3283  * @see elm_list_item_append()
3284  * @see elm_list_item_end_get()
3285  *
3286  * @deprecated Please use elm_object_item_part_content_set(item, "end", end);
3287  * @ingroup List
3288  */
3289 EINA_DEPRECATED EAPI void                         elm_list_item_end_set(Elm_Object_Item *it, Evas_Object *end);
3290
3291 /**
3292  * Get the label of item.
3293  *
3294  * @param it The item of list.
3295  * @return The label of item.
3296  *
3297  * The return value is a pointer to the label associated to @p item when
3298  * it was created, with function elm_list_item_append(), or later
3299  * with function elm_list_item_label_set. If no label
3300  * was passed as argument, it will return @c NULL.
3301  *
3302  * @see elm_list_item_label_set() for more details.
3303  * @see elm_list_item_append()
3304  *
3305  * @deprecated Please use elm_object_item_text_get(item);
3306  * @ingroup List
3307  */
3308 EINA_DEPRECATED EAPI const char                  *elm_list_item_label_get(const Elm_Object_Item *it);
3309
3310 /**
3311  * Set the label of item.
3312  *
3313  * @param it The item of list.
3314  * @param text The label of item.
3315  *
3316  * The label to be displayed by the item.
3317  * Label will be placed between left and right side icons (if set).
3318  *
3319  * If a label was passed as argument on item creation, with function
3320  * elm_list_item_append() or similar, it will be already
3321  * displayed by the item.
3322  *
3323  * @see elm_list_item_label_get()
3324  * @see elm_list_item_append()
3325  *
3326  * @deprecated Please use elm_object_item_text_set(item, text);
3327  * @ingroup List
3328  */
3329 EINA_DEPRECATED EAPI void                         elm_list_item_label_set(Elm_Object_Item *it, const char *text);
3330
3331 /**
3332  * Set the text to be shown in a given list item's tooltips.
3333  *
3334  * @param it Target item.
3335  * @param text The text to set in the content.
3336  *
3337  * Setup the text as tooltip to object. The item can have only one tooltip,
3338  * so any previous tooltip data - set with this function or
3339  * elm_list_item_tooltip_content_cb_set() - is removed.
3340  *
3341  * @deprecated Use elm_object_item_tooltip_text_set() instead
3342  * @see elm_object_tooltip_text_set() for more details.
3343  *
3344  * @ingroup List
3345  */
3346 EINA_DEPRECATED EAPI void                         elm_list_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
3347
3348 /**
3349  * @brief Disable size restrictions on an object's tooltip
3350  * @param it The tooltip's anchor object
3351  * @param disable If EINA_TRUE, size restrictions are disabled
3352  * @return EINA_FALSE on failure, EINA_TRUE on success
3353  *
3354  * This function allows a tooltip to expand beyond its parant window's canvas.
3355  * It will instead be limited only by the size of the display.
3356  *
3357  * @deprecated Use elm_object_item_tooltip_window_mode_set() instead
3358  *
3359  */
3360 EINA_DEPRECATED EAPI Eina_Bool                    elm_list_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable);
3361
3362 /**
3363  * @brief Retrieve size restriction state of an object's tooltip
3364  * @param obj The tooltip's anchor object
3365  * @return If EINA_TRUE, size restrictions are disabled
3366  *
3367  * This function returns whether a tooltip is allowed to expand beyond
3368  * its parant window's canvas.
3369  * It will instead be limited only by the size of the display.
3370  *
3371  * @deprecated Use elm_object_item_tooltip_window_mode_get() instead
3372  *
3373  */
3374 EINA_DEPRECATED EAPI Eina_Bool                    elm_list_item_tooltip_window_mode_get(const Elm_Object_Item *it);
3375
3376 /**
3377  * Set the content to be shown in the tooltip item.
3378  *
3379  * Setup the tooltip to item. The item can have only one tooltip,
3380  * so any previous tooltip data is removed. @p func(with @p data) will
3381  * be called every time that need show the tooltip and it should
3382  * return a valid Evas_Object. This object is then managed fully by
3383  * tooltip system and is deleted when the tooltip is gone.
3384  *
3385  * @param it the list item being attached a tooltip.
3386  * @param func the function used to create the tooltip contents.
3387  * @param data what to provide to @a func as callback data/context.
3388  * @param del_cb called when data is not needed anymore, either when
3389  *        another callback replaces @a func, the tooltip is unset with
3390  *        elm_list_item_tooltip_unset() or the owner @a item
3391  *        dies. This callback receives as the first parameter the
3392  *        given @a data, and @c event_info is the item.
3393  *
3394  * @deprecated Use elm_object_item_tooltip_content_cb_set() instead
3395  *
3396  * @see elm_object_tooltip_content_cb_set() for more details.
3397  *
3398  * @ingroup List
3399  */
3400 EINA_DEPRECATED EAPI void                         elm_list_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);
3401
3402 /**
3403  * Unset tooltip from item.
3404  *
3405  * @param it list item to remove previously set tooltip.
3406  *
3407  * Remove tooltip from item. The callback provided as del_cb to
3408  * elm_list_item_tooltip_content_cb_set() will be called to notify
3409  * it is not used anymore.
3410  *
3411  * @deprecated Use elm_object_item_tooltip_unset() instead
3412  * @see elm_object_tooltip_unset() for more details.
3413  * @see elm_list_item_tooltip_content_cb_set()
3414  *
3415  * @ingroup List
3416  */
3417 EINA_DEPRECATED EAPI void                         elm_list_item_tooltip_unset(Elm_Object_Item *it);
3418
3419 /**
3420  * Sets a different style for this item tooltip.
3421  *
3422  * @note before you set a style you should define a tooltip with
3423  *       elm_list_item_tooltip_content_cb_set() or
3424  *       elm_list_item_tooltip_text_set()
3425  *
3426  * @param it list item with tooltip already set.
3427  * @param style the theme style to use (default, transparent, ...)
3428  *
3429  *
3430  * @deprecated Use elm_object_item_tooltip_style_set() instead
3431  * @see elm_object_tooltip_style_set() for more details.
3432  *
3433  * @ingroup List
3434  */
3435 EINA_DEPRECATED EAPI void                         elm_list_item_tooltip_style_set(Elm_Object_Item *it, const char *style);
3436
3437 /**
3438  * Get the style for this item tooltip.
3439  *
3440  * @param item list item with tooltip already set.
3441  * @return style the theme style in use, defaults to "default". If the
3442  *         object does not have a tooltip set, then NULL is returned.
3443  *
3444  * @deprecated Use elm_object_item_tooltip_style_get() instead
3445  *
3446  * @see elm_object_tooltip_style_get() for more details.
3447  * @see elm_list_item_tooltip_style_set()
3448  *
3449  * @ingroup List
3450  */
3451 EINA_DEPRECATED EAPI const char                  *elm_list_item_tooltip_style_get(const Elm_Object_Item *it);
3452
3453
3454 /**
3455  * Set the shrink state of toolbar @p obj.
3456  *
3457  * @param obj The toolbar object.
3458  * @param shrink_mode Toolbar's items display behavior.
3459  *
3460  * The toolbar won't scroll if #ELM_TOOLBAR_SHRINK_NONE,
3461  * but will enforce a minimun size so all the items will fit, won't scroll
3462  * and won't show the items that don't fit if #ELM_TOOLBAR_SHRINK_HIDE,
3463  * will scroll if #ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to
3464  * pop up excess elements with #ELM_TOOLBAR_SHRINK_MENU.
3465  *
3466  * @deprecated Please use elm_toolbar_shrink_mode_set(obj, shrink_mode);
3467  * @ingroup Toolbar
3468  */
3469 EINA_DEPRECATED EAPI void                         elm_toolbar_mode_shrink_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode);
3470
3471 /**
3472  * Get the shrink mode of toolbar @p obj.
3473  *
3474  * @param obj The toolbar object.
3475  * @return Toolbar's items display behavior.
3476  *
3477  * @see elm_toolbar_shrink_mode_set() for details.
3478  *
3479  * @deprecated Please use elm_toolbar_shrink_mode_get(obj);
3480  * @ingroup Toolbar
3481  */
3482 EINA_DEPRECATED EAPI Elm_Toolbar_Shrink_Mode      elm_toolbar_mode_shrink_get(const Evas_Object *obj);
3483
3484 /**
3485  * This sets a widget to be displayed to the left of a scrolled entry.
3486  *
3487  * @param obj The scrolled entry object
3488  * @param icon The widget to display on the left side of the scrolled
3489  * entry.
3490  *
3491  * @note A previously set widget will be destroyed.
3492  * @note If the object being set does not have minimum size hints set,
3493  * it won't get properly displayed.
3494  *
3495  * @deprecated Use elm_object_part_content_set(entry, "icon", content) instead
3496  * @see elm_entry_end_set()
3497  */
3498 EINA_DEPRECATED EAPI void               elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
3499
3500 /**
3501  * Gets the leftmost widget of the scrolled entry. This object is
3502  * owned by the scrolled entry and should not be modified.
3503  *
3504  * @param obj The scrolled entry object
3505  * @return the left widget inside the scroller
3506  *
3507  * @deprecated Use elm_object_part_content_get(entry, "icon") instead
3508  */
3509 EINA_DEPRECATED EAPI Evas_Object       *elm_entry_icon_get(const Evas_Object *obj);
3510
3511 /**
3512  * Unset the leftmost widget of the scrolled entry, unparenting and
3513  * returning it.
3514  *
3515  * @param obj The scrolled entry object
3516  * @return the previously set icon sub-object of this entry, on
3517  * success.
3518  *
3519  * @deprecated Use elm_object_part_content_unset(entry, "icon") instead
3520  * @see elm_entry_icon_set()
3521  */
3522 EINA_DEPRECATED EAPI Evas_Object       *elm_entry_icon_unset(Evas_Object *obj);
3523
3524 /**
3525  * This sets a widget to be displayed to the end of a scrolled entry.
3526  *
3527  * @param obj The scrolled entry object
3528  * @param end The widget to display on the right side of the scrolled
3529  * entry.
3530  *
3531  * @note A previously set widget will be destroyed.
3532  * @note If the object being set does not have minimum size hints set,
3533  * it won't get properly displayed.
3534  *
3535  * @deprecated Use elm_object_part_content_set(entry, "end", content) instead
3536  * @see elm_entry_icon_set
3537  */
3538 EINA_DEPRECATED EAPI void               elm_entry_end_set(Evas_Object *obj, Evas_Object *end);
3539
3540 /**
3541  * Gets the endmost widget of the scrolled entry. This object is owned
3542  * by the scrolled entry and should not be modified.
3543  *
3544  * @param obj The scrolled entry object
3545  * @return the right widget inside the scroller
3546  *
3547  * @deprecated Use elm_object_part_content_get(entry, "end") instead
3548  */
3549 EAPI Evas_Object       *elm_entry_end_get(const Evas_Object *obj);
3550
3551 /**
3552  * Unset the endmost widget of the scrolled entry, unparenting and
3553  * returning it.
3554  *
3555  * @param obj The scrolled entry object
3556  * @return the previously set icon sub-object of this entry, on
3557  * success.
3558  *
3559  * @deprecated Use elm_object_part_content_unset(entry, "end") instead
3560  * @see elm_entry_icon_set()
3561  */
3562 EINA_DEPRECATED EAPI Evas_Object       *elm_entry_end_unset(Evas_Object *obj);
3563
3564 /**
3565  * Convert a pixel coordinate into a rotated pixel coordinate.
3566  *
3567  * @param obj The map object.
3568  * @param x horizontal coordinate of the point to rotate.
3569  * @param y vertical coordinate of the point to rotate.
3570  * @param cx rotation's center horizontal position.
3571  * @param cy rotation's center vertical position.
3572  * @param degree amount of degrees from 0.0 to 360.0 to rotate arount Z axis.
3573  * @param xx Pointer where to store rotated x.
3574  * @param yy Pointer where to store rotated y.
3575  *
3576  * @ingroup Map
3577  * @deprecated Rotation is not needed to know. Use elm_map_canvas_to_geo_convert() instead
3578  */
3579 EINA_DEPRECATED EAPI void                  elm_map_utils_rotate_coord(const Evas_Object *obj, const Evas_Coord x, const Evas_Coord y, const Evas_Coord cx, const Evas_Coord cy, const double degree, Evas_Coord *xx, Evas_Coord *yy);
3580