remove eina_pure and eina_nonnull because really.. they screw up
[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  * @defgroup Toggle Toggle
26  *
27  * @image html img/widget/toggle/preview-00.png
28  * @image latex img/widget/toggle/preview-00.eps
29  *
30  * @brief A toggle is a slider which can be used to toggle between
31  * two values.  It has two states: on and off.
32  *
33  * This widget is deprecated. Please use elm_check_add() instead using the
34  * toggle style like:
35  *
36  * @code
37  * obj = elm_check_add(parent);
38  * elm_object_style_set(obj, "toggle");
39  * elm_object_part_text_set(obj, "on", "ON");
40  * elm_object_part_text_set(obj, "off", "OFF");
41  * @endcode
42  *
43  * Signals that you can add callbacks for are:
44  * @li "changed" - Whenever the toggle value has been changed.  Is not called
45  *                 until the toggle is released by the cursor (assuming it
46  *                 has been triggered by the cursor in the first place).
47  *
48  * Default contents parts of the toggle widget that you can use for are:
49  * @li "icon" - An icon of the toggle
50  *
51  * Default text parts of the toggle widget that you can use for are:
52  * @li "elm.text" - Label of the toggle
53  *
54  * @ref tutorial_toggle show how to use a toggle.
55  * @{
56  */
57
58 /**
59  * @brief Add a toggle to @p parent.
60  *
61  * @param parent The parent object
62  *
63  * @return The toggle object
64  */
65 EINA_DEPRECATED EAPI Evas_Object *elm_toggle_add(Evas_Object *parent);
66
67 /**
68  * @brief Sets the label to be displayed with the toggle.
69  *
70  * @param obj The toggle object
71  * @param label The label to be displayed
72  *
73  * @deprecated use elm_object_text_set() instead.
74  */
75 EINA_DEPRECATED EAPI void         elm_toggle_label_set(Evas_Object *obj, const char *label);
76
77 /**
78  * @brief Gets the label of the toggle
79  *
80  * @param obj  toggle object
81  * @return The label of the toggle
82  *
83  * @deprecated use elm_object_text_get() instead.
84  */
85 EINA_DEPRECATED EAPI const char  *elm_toggle_label_get(const Evas_Object *obj);
86
87 /**
88  * @brief Set the icon used for the toggle
89  *
90  * @param obj The toggle object
91  * @param icon The icon object for the button
92  *
93  * Once the icon object is set, a previously set one will be deleted
94  * If you want to keep that old content object, use the
95  * elm_toggle_icon_unset() function.
96  *
97  * @deprecated use elm_object_part_content_set() instead.
98  */
99 EINA_DEPRECATED EAPI void         elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon);
100
101 /**
102  * @brief Get the icon used for the toggle
103  *
104  * @param obj The toggle object
105  * @return The icon object that is being used
106  *
107  * Return the icon object which is set for this widget.
108  *
109  * @see elm_toggle_icon_set()
110  *
111  * @deprecated use elm_object_part_content_get() instead.
112  */
113 EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj);
114
115 /**
116  * @brief Unset the icon used for the toggle
117  *
118  * @param obj The toggle object
119  * @return The icon object that was being used
120  *
121  * Unparent and return the icon object which was set for this widget.
122  *
123  * @see elm_toggle_icon_set()
124  *
125  * @deprecated use elm_object_part_content_unset() instead.
126  */
127 EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_unset(Evas_Object *obj);
128
129 /**
130  * @brief Sets the labels to be associated with the on and off states of the toggle.
131  *
132  * @param obj The toggle object
133  * @param onlabel The label displayed when the toggle is in the "on" state
134  * @param offlabel The label displayed when the toggle is in the "off" state
135  *
136  * @deprecated use elm_object_part_text_set() for "on" and "off" parts
137  * instead.
138  */
139 EINA_DEPRECATED EAPI void         elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel);
140
141 /**
142  * @brief Gets the labels associated with the on and off states of the
143  * toggle.
144  *
145  * @param obj The toggle object
146  * @param onlabel A char** to place the onlabel of @p obj into
147  * @param offlabel A char** to place the offlabel of @p obj into
148  *
149  * @deprecated use elm_object_part_text_get() for "on" and "off" parts
150  * instead.
151  */
152 EINA_DEPRECATED EAPI void         elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel);
153
154 /**
155  * @brief Sets the state of the toggle to @p state.
156  *
157  * @param obj The toggle object
158  * @param state The state of @p obj
159  *
160  * @deprecated use elm_check_state_set() instead.
161  */
162 EINA_DEPRECATED EAPI void         elm_toggle_state_set(Evas_Object *obj, Eina_Bool state);
163
164 /**
165  * @brief Gets the state of the toggle to @p state.
166  *
167  * @param obj The toggle object
168  * @return The state of @p obj
169  *
170  * @deprecated use elm_check_state_get() instead.
171  */
172 EINA_DEPRECATED EAPI Eina_Bool    elm_toggle_state_get(const Evas_Object *obj);
173
174 /**
175  * @brief Sets the state pointer of the toggle to @p statep.
176  *
177  * @param obj The toggle object
178  * @param statep The state pointer of @p obj
179  *
180  * @deprecated use elm_check_state_pointer_set() instead.
181  */
182 EINA_DEPRECATED EAPI void         elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep);
183
184 /**
185  * @}
186  */
187
188 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent);
189 EINA_DEPRECATED EAPI void         elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
190 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_single_line_get(const Evas_Object *obj);
191 EINA_DEPRECATED EAPI void         elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password);
192 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_password_get(const Evas_Object *obj);
193 EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry);
194 EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_entry_get(const Evas_Object *obj);
195 EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry);
196 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_is_empty(const Evas_Object *obj);
197 EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_selection_get(const Evas_Object *obj);
198 EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry);
199 EINA_DEPRECATED EAPI void         elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap);
200 EINA_DEPRECATED EAPI void         elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
201 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_editable_get(const Evas_Object *obj);
202 EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_none(Evas_Object *obj);
203 EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_all(Evas_Object *obj);
204 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_next(Evas_Object *obj);
205 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_prev(Evas_Object *obj);
206 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_up(Evas_Object *obj);
207 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_down(Evas_Object *obj);
208 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_begin_set(Evas_Object *obj);
209 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_end_set(Evas_Object *obj);
210 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj);
211 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj);
212 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj);
213 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_end(Evas_Object *obj);
214 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj);
215 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj);
216 EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj);
217 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos);
218 EINA_DEPRECATED EAPI int          elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj);
219 EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_cut(Evas_Object *obj);
220 EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_copy(Evas_Object *obj);
221 EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_paste(Evas_Object *obj);
222 EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_clear(Evas_Object *obj);
223 EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data);
224 EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
225 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj);
226 EINA_DEPRECATED EAPI void         elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
227 EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
228 EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
229 EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
230 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj);
231 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj);
232 EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
233 EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end);
234 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj);
235 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj);
236 EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
237 EINA_DEPRECATED EAPI void         elm_scrolled_entry_item_provider_append(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data);
238 EINA_DEPRECATED EAPI void         elm_scrolled_entry_item_provider_prepend(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data);
239 EINA_DEPRECATED EAPI void         elm_scrolled_entry_item_provider_remove(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data);
240 EINA_DEPRECATED EAPI void         elm_scrolled_entry_text_filter_append(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
241 EINA_DEPRECATED EAPI void         elm_scrolled_entry_text_filter_prepend(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
242 EINA_DEPRECATED EAPI void         elm_scrolled_entry_text_filter_remove(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
243 EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format);
244 EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format);
245 EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_save(Evas_Object *obj);
246 EINA_DEPRECATED EAPI void         elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave);
247 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_autosave_get(const Evas_Object *obj);
248 EINA_DEPRECATED EAPI void         elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly);
249 EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj);
250
251 /**
252  * This sets the text displayed within the entry to @p entry.
253  *
254  * @param obj The entry object
255  * @param entry The text to be displayed
256  *
257  * @deprecated Use elm_object_text_set() instead.
258  * @note Using this function bypasses text filters
259  */
260 EINA_DEPRECATED EAPI void               elm_entry_entry_set(Evas_Object *obj, const char *entry);
261
262 /**
263  * This returns the text currently shown in object @p entry.
264  * See also elm_entry_entry_set().
265  *
266  * @param obj The entry object
267  * @return The currently displayed text or NULL on failure
268  *
269  * @deprecated Use elm_object_text_get() instead.
270  */
271 EINA_DEPRECATED EAPI const char        *elm_entry_entry_get(const Evas_Object *obj);
272
273 /**
274  * Set the text to show in the anchorblock
275  *
276  * Sets the text of the anchorblock to @p text. This text can include markup
277  * format tags, including <c>\<a href=anchorname\></a></c> to begin a segment
278  * of text that will be specially styled and react to click events, ended
279  * with either of \</a\> or \</\>. When clicked, the anchor will emit an
280  * "anchor,clicked" signal that you can attach a callback to with
281  * evas_object_smart_callback_add(). The name of the anchor given in the
282  * event info struct will be the one set in the href attribute, in this
283  * case, anchorname.
284  *
285  * Other markup can be used to style the text in different ways, but it's
286  * up to the style defined in the theme which tags do what.
287  * @deprecated use elm_object_text_set() instead.
288  */
289 EINA_DEPRECATED EAPI void        elm_anchorblock_text_set(Evas_Object *obj, const char *text);
290
291 /**
292  * Get the markup text set for the anchorblock
293  *
294  * Retrieves the text set on the anchorblock, with markup tags included.
295  *
296  * @param obj The anchorblock object
297  * @return The markup text set or @c NULL if nothing was set or an error
298  * occurred
299  * @deprecated use elm_object_text_set() instead.
300  */
301 EINA_DEPRECATED EAPI const char *elm_anchorblock_text_get(const Evas_Object *obj);
302
303 /**
304  * Set the text to show in the anchorview
305  *
306  * Sets the text of the anchorview to @p text. This text can include markup
307  * format tags, including <c>\<a href=anchorname\></c> to begin a segment of
308  * text that will be specially styled and react to click events, ended with
309  * either of \</a\> or \</\>. When clicked, the anchor will emit an
310  * "anchor,clicked" signal that you can attach a callback to with
311  * evas_object_smart_callback_add(). The name of the anchor given in the
312  * event info struct will be the one set in the href attribute, in this
313  * case, anchorname.
314  *
315  * Other markup can be used to style the text in different ways, but it's
316  * up to the style defined in the theme which tags do what.
317  * @deprecated use elm_object_text_set() instead.
318  */
319 EINA_DEPRECATED EAPI void        elm_anchorview_text_set(Evas_Object *obj, const char *text);
320
321 /**
322  * Get the markup text set for the anchorview
323  *
324  * Retrieves the text set on the anchorview, with markup tags included.
325  *
326  * @param obj The anchorview object
327  * @return The markup text set or @c NULL if nothing was set or an error
328  * occurred
329  * @deprecated use elm_object_text_set() instead.
330  */
331 EINA_DEPRECATED EAPI const char *elm_anchorview_text_get(const Evas_Object *obj);
332
333 /**
334  * @brief Get the ctxpopup item's disabled/enabled state.
335  *
336  * @param it Ctxpopup item to be enabled/disabled
337  * @return disabled @c EINA_TRUE, if disabled, @c EINA_FALSE otherwise
338  *
339  * @see elm_ctxpopup_item_disabled_set()
340  * @deprecated use elm_object_item_disabled_get() instead
341  *
342  * @ingroup Ctxpopup
343  */
344 EINA_DEPRECATED EAPI Eina_Bool                    elm_ctxpopup_item_disabled_get(const Elm_Object_Item *it);
345
346 /**
347  * @brief Set the ctxpopup item's state as disabled or enabled.
348  *
349  * @param it Ctxpopup item to be enabled/disabled
350  * @param disabled @c EINA_TRUE to disable it, @c EINA_FALSE to enable it
351  *
352  * When disabled the item is greyed out to indicate it's state.
353  * @deprecated use elm_object_item_disabled_set() instead
354  *
355  * @ingroup Ctxpopup
356  */
357 EINA_DEPRECATED EAPI void         elm_ctxpopup_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
358
359 /**
360  * @brief Get the icon object for the given ctxpopup item.
361  *
362  * @param it Ctxpopup item
363  * @return icon object or @c NULL, if the item does not have icon or an error
364  * occurred
365  *
366  * @see elm_ctxpopup_item_append()
367  * @see elm_ctxpopup_item_icon_set()
368  *
369  * @deprecated use elm_object_item_part_content_get() instead
370  *
371  * @ingroup Ctxpopup
372  */
373 EINA_DEPRECATED EAPI Evas_Object *elm_ctxpopup_item_icon_get(const Elm_Object_Item *it);
374
375 /**
376  * @brief Sets the side icon associated with the ctxpopup item
377  *
378  * @param it Ctxpopup item
379  * @param icon Icon object to be set
380  *
381  * Once the icon object is set, a previously set one will be deleted.
382  * @warning Setting the same icon for two items will cause the icon to
383  * dissapear from the first item.
384  *
385  * @see elm_ctxpopup_item_append()
386  *
387  * @deprecated use elm_object_item_part_content_set() instead
388  *
389  * @ingroup Ctxpopup
390  */
391 EINA_DEPRECATED EAPI void         elm_ctxpopup_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
392
393 /**
394  * @brief Get the label for the given ctxpopup item.
395  *
396  * @param it Ctxpopup item
397  * @return label string or @c NULL, if the item does not have label or an
398  * error occured
399  *
400  * @see elm_ctxpopup_item_append()
401  * @see elm_ctxpopup_item_label_set()
402  *
403  * @deprecated use elm_object_item_text_get() instead
404  *
405  * @ingroup Ctxpopup
406  */
407 EINA_DEPRECATED EAPI const char  *elm_ctxpopup_item_label_get(const Elm_Object_Item *it);
408
409 /**
410  * @brief (Re)set the label on the given ctxpopup item.
411  *
412  * @param it Ctxpopup item
413  * @param label String to set as label
414  *
415  * @deprecated use elm_object_item_text_set() instead
416  *
417  * @ingroup Ctxpopup
418  */
419 EINA_DEPRECATED EAPI void         elm_ctxpopup_item_label_set(Elm_Object_Item *it, const char *label);
420
421 /**
422  * @brief Set an elm widget as the content of the ctxpopup.
423  *
424  * @param obj Ctxpopup object
425  * @param content Content to be swallowed
426  *
427  * If the content object is already set, a previous one will bedeleted. If
428  * you want to keep that old content object, use the
429  * elm_ctxpopup_content_unset() function.
430  *
431  * @warning Ctxpopup can't hold both a item list and a content at the same
432  * time. When a content is set, any previous items will be removed.
433  *
434  * @deprecated use elm_object_content_set() instead
435  *
436  * @ingroup Ctxpopup
437  */
438 EINA_DEPRECATED EAPI void         elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content);
439
440 /**
441  * @brief Unset the ctxpopup content
442  *
443  * @param obj Ctxpopup object
444  * @return The content that was being used
445  *
446  * Unparent and return the content object which was set for this widget.
447  *
448  * @deprecated use elm_object_content_unset()
449  *
450  * @see elm_ctxpopup_content_set()
451  *
452  * @deprecated use elm_object_content_unset() instead
453  *
454  * @ingroup Ctxpopup
455  */
456 EINA_DEPRECATED EAPI Evas_Object *elm_ctxpopup_content_unset(Evas_Object *obj);
457
458 /**
459  * Set the label for a given file selector button widget
460  *
461  * @param obj The file selector button widget
462  * @param label The text label to be displayed on @p obj
463  *
464  * @deprecated use elm_object_text_set() instead.
465  */
466 EINA_DEPRECATED EAPI void        elm_fileselector_button_label_set(Evas_Object *obj, const char *label);
467
468 /**
469  * Get the label set for a given file selector button widget
470  *
471  * @param obj The file selector button widget
472  * @return The button label
473  *
474  * @deprecated use elm_object_text_set() instead.
475  */
476 EINA_DEPRECATED EAPI const char *elm_fileselector_button_label_get(const Evas_Object *obj);
477
478 /**
479  * Set the label for a given file selector entry widget's button
480  *
481  * @param obj The file selector entry widget
482  * @param label The text label to be displayed on @p obj widget's
483  * button
484  *
485  * @deprecated use elm_object_text_set() instead.
486  */
487 EINA_DEPRECATED EAPI void        elm_fileselector_entry_button_label_set(Evas_Object *obj, const char *label);
488
489 /**
490  * Get the label set for a given file selector entry widget's button
491  *
492  * @param obj The file selector entry widget
493  * @return The widget button's label
494  *
495  * @deprecated use elm_object_text_set() instead.
496  */
497 EINA_DEPRECATED EAPI const char *elm_fileselector_entry_button_label_get(const Evas_Object *obj);
498
499 /**
500  * @brief Set the hoversel button label
501  *
502  * @param obj The hoversel object
503  * @param label The label text.
504  *
505  * This sets the label of the button that is always visible (before it is
506  * clicked and expanded).
507  *
508  * @deprecated elm_object_text_set()
509  */
510 EINA_DEPRECATED EAPI void         elm_hoversel_label_set(Evas_Object *obj, const char *label);
511
512 /**
513  * @brief Get the hoversel button label
514  *
515  * @param obj The hoversel object
516  * @return The label text.
517  *
518  * @deprecated elm_object_text_get()
519  */
520 EINA_DEPRECATED EAPI const char  *elm_hoversel_label_get(const Evas_Object *obj);
521
522 /**
523  * @brief Set the icon of the hoversel button
524  *
525  * @param obj The hoversel object
526  * @param icon The icon object
527  *
528  * Sets the icon of the button that is always visible (before it is clicked
529  * and expanded).  Once the icon object is set, a previously set one will be
530  * deleted, if you want to keep that old content object, use the
531  * elm_hoversel_icon_unset() function.
532  *
533  * @see elm_object_content_set() for the button widget
534  * @deprecated Use elm_object_item_part_content_set() instead
535  */
536 EINA_DEPRECATED EAPI void         elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon);
537
538 /**
539  * @brief Get the icon of the hoversel button
540  *
541  * @param obj The hoversel object
542  * @return The icon object
543  *
544  * Get the icon of the button that is always visible (before it is clicked
545  * and expanded). Also see elm_object_content_get() for the button widget.
546  *
547  * @see elm_hoversel_icon_set()
548  * @deprecated Use elm_object_item_part_content_get() instead
549  */
550 EINA_DEPRECATED EAPI Evas_Object *elm_hoversel_icon_get(const Evas_Object *obj);
551
552 /**
553  * @brief Get and unparent the icon of the hoversel button
554  *
555  * @param obj The hoversel object
556  * @return The icon object that was being used
557  *
558  * Unparent and return the icon of the button that is always visible
559  * (before it is clicked and expanded).
560  *
561  * @see elm_hoversel_icon_set()
562  * @see elm_object_content_unset() for the button widget
563  * @deprecated Use elm_object_item_part_content_unset() instead
564  */
565 EINA_DEPRECATED EAPI Evas_Object *elm_hoversel_icon_unset(Evas_Object *obj);
566
567 /**
568  * @brief This returns the data pointer supplied with elm_hoversel_item_add()
569  * that will be passed to associated function callbacks.
570  *
571  * @param it The item to get the data from
572  * @return The data pointer set with elm_hoversel_item_add()
573  *
574  * @see elm_hoversel_item_add()
575  * @deprecated Use elm_object_item_data_get() instead
576  */
577 EINA_DEPRECATED EAPI void        *elm_hoversel_item_data_get(const Elm_Object_Item *it);
578
579 /**
580  * @brief This returns the label text of the given hoversel item.
581  *
582  * @param it The item to get the label
583  * @return The label text of the hoversel item
584  *
585  * @see elm_hoversel_item_add()
586  * @deprecated Use elm_object_item_text_get() instead
587  */
588 EINA_DEPRECATED EAPI const char  *elm_hoversel_item_label_get(const Elm_Object_Item *it);
589
590 /**
591  * Set actionslider labels.
592  *
593  * @param obj The actionslider object
594  * @param left_label The label to be set on the left.
595  * @param center_label The label to be set on the center.
596  * @param right_label The label to be set on the right.
597  * @deprecated use elm_object_text_set() instead.
598  */
599 EINA_DEPRECATED EAPI void        elm_actionslider_labels_set(Evas_Object *obj, const char *left_label, const char *center_label, const char *right_label);
600
601 /**
602  * Get actionslider labels.
603  *
604  * @param obj The actionslider object
605  * @param left_label A char** to place the left_label of @p obj into.
606  * @param center_label A char** to place the center_label of @p obj into.
607  * @param right_label A char** to place the right_label of @p obj into.
608  * @deprecated use elm_object_text_set() instead.
609  */
610 EINA_DEPRECATED EAPI void        elm_actionslider_labels_get(const Evas_Object *obj, const char **left_label, const char **center_label, const char **right_label);
611
612 /**
613  * Set the label used on the indicator.
614  *
615  * @param obj The actionslider object
616  * @param label The label to be set on the indicator.
617  * @deprecated use elm_object_text_set() instead.
618  */
619 EINA_DEPRECATED EAPI void        elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label);
620
621 /**
622  * Get the label used on the indicator object.
623  *
624  * @param obj The actionslider object
625  * @return The indicator label
626  * @deprecated use elm_object_text_get() instead.
627  */
628 EINA_DEPRECATED EAPI const char *elm_actionslider_indicator_label_get(Evas_Object *obj);
629
630 /**
631  * Set the overlay object used for the background object.
632  *
633  * @param obj The bg object
634  * @param overlay The overlay object
635  *
636  * This provides a way for elm_bg to have an 'overlay' that will be on top
637  * of the bg. Once the over object is set, a previously set one will be
638  * deleted, even if you set the new one to NULL. If you want to keep that
639  * old content object, use the elm_bg_overlay_unset() function.
640  *
641  * @deprecated use elm_object_part_content_set() instead
642  *
643  * @ingroup Bg
644  */
645
646 EINA_DEPRECATED EAPI void         elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay);
647
648 /**
649  * Get the overlay object used for the background object.
650  *
651  * @param obj The bg object
652  * @return The content that is being used
653  *
654  * Return the content object which is set for this widget
655  *
656  * @deprecated use elm_object_part_content_get() instead
657  *
658  * @ingroup Bg
659  */
660 EINA_DEPRECATED EAPI Evas_Object *elm_bg_overlay_get(const Evas_Object *obj);
661
662 /**
663  * Get the overlay object used for the background object.
664  *
665  * @param obj The bg object
666  * @return The content that was being used
667  *
668  * Unparent and return the overlay object which was set for this widget
669  *
670  * @deprecated use elm_object_part_content_unset() instead
671  *
672  * @ingroup Bg
673  */
674 EINA_DEPRECATED EAPI Evas_Object *elm_bg_overlay_unset(Evas_Object *obj);
675
676
677 /**
678  * Set the label of the bubble
679  *
680  * @param obj The bubble object
681  * @param label The string to set in the label
682  *
683  * This function sets the title of the bubble. Where this appears depends on
684  * the selected corner.
685  * @deprecated use elm_object_text_set() instead.
686  */
687 EINA_DEPRECATED EAPI void         elm_bubble_label_set(Evas_Object *obj, const char *label);
688
689 /**
690  * Get the label of the bubble
691  *
692  * @param obj The bubble object
693  * @return The string of set in the label
694  *
695  * This function gets the title of the bubble.
696  * @deprecated use elm_object_text_get() instead.
697  */
698 EINA_DEPRECATED EAPI const char  *elm_bubble_label_get(const Evas_Object *obj);
699
700 /**
701  * Set the info of the bubble
702  *
703  * @param obj The bubble object
704  * @param info The given info about the bubble
705  *
706  * This function sets the info of the bubble. Where this appears depends on
707  * the selected corner.
708  * @deprecated use elm_object_part_text_set() instead. (with "info" as the parameter).
709  */
710 EINA_DEPRECATED EAPI void         elm_bubble_info_set(Evas_Object *obj, const char *info);
711
712 /**
713  * Get the info of the bubble
714  *
715  * @param obj The bubble object
716  *
717  * @return The "info" string of the bubble
718  *
719  * This function gets the info text.
720  * @deprecated use elm_object_part_text_get() instead. (with "info" as the parameter).
721  */
722 EINA_DEPRECATED EAPI const char  *elm_bubble_info_get(const Evas_Object *obj);
723
724 /**
725  * Set the content to be shown in the bubble
726  *
727  * Once the content object is set, a previously set one will be deleted.
728  * If you want to keep the old content object, use the
729  * elm_bubble_content_unset() function.
730  *
731  * @param obj The bubble object
732  * @param content The given content of the bubble
733  *
734  * This function sets the content shown on the middle of the bubble.
735  *
736  * @deprecated use elm_object_content_set() instead
737  *
738  */
739 EINA_DEPRECATED EAPI void         elm_bubble_content_set(Evas_Object *obj, Evas_Object *content);
740
741 /**
742  * Get the content shown in the bubble
743  *
744  * Return the content object which is set for this widget.
745  *
746  * @param obj The bubble object
747  * @return The content that is being used
748  *
749  * @deprecated use elm_object_content_get() instead
750  *
751  */
752 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_content_get(const Evas_Object *obj);
753
754 /**
755  * Unset the content shown in the bubble
756  *
757  * Unparent and return the content object which was set for this widget.
758  *
759  * @param obj The bubble object
760  * @return The content that was being used
761  *
762  * @deprecated use elm_object_content_unset() instead
763  *
764  */
765 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj);
766
767 /**
768  * Set the icon of the bubble
769  *
770  * Once the icon object is set, a previously set one will be deleted.
771  * If you want to keep the old content object, use the
772  * elm_icon_content_unset() function.
773  *
774  * @param obj The bubble object
775  * @param icon The given icon for the bubble
776  *
777  * @deprecated use elm_object_part_content_set() instead
778  *
779  */
780 EINA_DEPRECATED EAPI void         elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon);
781
782 /**
783  * Get the icon of the bubble
784  *
785  * @param obj The bubble object
786  * @return The icon for the bubble
787  *
788  * This function gets the icon shown on the top left of bubble.
789  *
790  * @deprecated use elm_object_part_content_get() instead
791  *
792  */
793 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj);
794
795 /**
796  * Unset the icon of the bubble
797  *
798  * Unparent and return the icon object which was set for this widget.
799  *
800  * @param obj The bubble object
801  * @return The icon that was being used
802  *
803  * @deprecated use elm_object_part_content_unset() instead
804  *
805  */
806 EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_unset(Evas_Object *obj);
807
808
809 /**
810  * Set the label used in the button
811  *
812  * The passed @p label can be NULL to clean any existing text in it and
813  * leave the button as an icon only object.
814  *
815  * @param obj The button object
816  * @param label The text will be written on the button
817  * @deprecated use elm_object_text_set() instead.
818  */
819 EINA_DEPRECATED EAPI void         elm_button_label_set(Evas_Object *obj, const char *label);
820
821 /**
822  * Get the label set for the button
823  *
824  * The string returned is an internal pointer and should not be freed or
825  * altered. It will also become invalid when the button is destroyed.
826  * The string returned, if not NULL, is a stringshare, so if you need to
827  * keep it around even after the button is destroyed, you can use
828  * eina_stringshare_ref().
829  *
830  * @param obj The button object
831  * @return The text set to the label, or NULL if nothing is set
832  * @deprecated use elm_object_text_set() instead.
833  */
834 EINA_DEPRECATED EAPI const char  *elm_button_label_get(const Evas_Object *obj);
835
836 /**
837  * Set the icon used for the button
838  *
839  * Setting a new icon will delete any other that was previously set, making
840  * any reference to them invalid. If you need to maintain the previous
841  * object alive, unset it first with elm_button_icon_unset().
842  *
843  * @param obj The button object
844  * @param icon The icon object for the button
845  * @deprecated use elm_object_part_content_set() instead.
846  */
847 EINA_DEPRECATED EAPI void         elm_button_icon_set(Evas_Object *obj, Evas_Object *icon);
848
849 /**
850  * Get the icon used for the button
851  *
852  * Return the icon object which is set for this widget. If the button is
853  * destroyed or another icon is set, the returned object will be deleted
854  * and any reference to it will be invalid.
855  *
856  * @param obj The button object
857  * @return The icon object that is being used
858  *
859  * @deprecated use elm_object_part_content_get() instead
860  */
861 EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj);
862
863 /**
864  * Remove the icon set without deleting it and return the object
865  *
866  * This function drops the reference the button holds of the icon object
867  * and returns this last object. It is used in case you want to remove any
868  * icon, or set another one, without deleting the actual object. The button
869  * will be left without an icon set.
870  *
871  * @param obj The button object
872  * @return The icon object that was being used
873  * @deprecated use elm_object_part_content_unset() instead.
874  */
875 EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_unset(Evas_Object *obj);
876
877 /**
878  * Set a day text color to the same that represents Saturdays.
879  *
880  * @param obj The calendar object.
881  * @param pos The text position. Position is the cell counter, from left
882  * to right, up to down. It starts on 0 and ends on 41.
883  *
884  * @deprecated use elm_calendar_mark_add() instead like:
885  *
886  * @code
887  * struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
888  * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
889  * @endcode
890  *
891  * @see elm_calendar_mark_add()
892  *
893  * @ingroup Calendar
894  */
895 EINA_DEPRECATED EAPI void elm_calendar_text_saturday_color_set(Evas_Object *obj, int pos);
896
897 /**
898  * Set a day text color to the same that represents Sundays.
899  *
900  * @param obj The calendar object.
901  * @param pos The text position. Position is the cell counter, from left
902  * to right, up to down. It starts on 0 and ends on 41.
903
904  * @deprecated use elm_calendar_mark_add() instead like:
905  *
906  * @code
907  * struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
908  * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
909  * @endcode
910  *
911  * @see elm_calendar_mark_add()
912  *
913  * @ingroup Calendar
914  */
915 EINA_DEPRECATED EAPI void elm_calendar_text_sunday_color_set(Evas_Object *obj, int pos);
916
917 /**
918  * Set a day text color to the same that represents Weekdays.
919  *
920  * @param obj The calendar object
921  * @param pos The text position. Position is the cell counter, from left
922  * to right, up to down. It starts on 0 and ends on 41.
923  *
924  * @deprecated use elm_calendar_mark_add() instead like:
925  *
926  * @code
927  * struct tm t = { 0, 0, 12, 1, 0, 0, 0, 0, -1 };
928  *
929  * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // monday
930  * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
931  * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // tuesday
932  * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
933  * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // wednesday
934  * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
935  * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // thursday
936  * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
937  * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // friday
938  * @endcode
939  *
940  * @see elm_calendar_mark_add()
941  *
942  * @ingroup Calendar
943  */
944 EINA_DEPRECATED EAPI void elm_calendar_text_weekday_color_set(Evas_Object *obj, int pos);
945
946
947 /**
948  * @brief Set the text label of the check object
949  *
950  * @param obj The check object
951  * @param label The text label string in UTF-8
952  *
953  * @deprecated use elm_object_text_set() instead.
954  */
955 EINA_DEPRECATED EAPI void         elm_check_label_set(Evas_Object *obj, const char *label);
956
957 /**
958  * @brief Get the text label of the check object
959  *
960  * @param obj The check object
961  * @return The text label string in UTF-8
962  *
963  * @deprecated use elm_object_text_get() instead.
964  */
965 EINA_DEPRECATED EAPI const char  *elm_check_label_get(const Evas_Object *obj);
966
967 /**
968  * @brief Set the icon object of the check object
969  *
970  * @param obj The check object
971  * @param icon The icon object
972  *
973  * Once the icon object is set, a previously set one will be deleted.
974  * If you want to keep that old content object, use the
975  * elm_object_content_unset() function.
976  *
977  * @deprecated use elm_object_part_content_set() instead.
978  *
979  */
980 EINA_DEPRECATED EAPI void         elm_check_icon_set(Evas_Object *obj, Evas_Object *icon);
981
982 /**
983  * @brief Get the icon object of the check object
984  *
985  * @param obj The check object
986  * @return The icon object
987  *
988  * @deprecated use elm_object_part_content_get() instead.
989  *
990  */
991 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj);
992
993 /**
994  * @brief Unset the icon used for the check object
995  *
996  * @param obj The check object
997  * @return The icon object that was being used
998  *
999  * Unparent and return the icon object which was set for this widget.
1000  *
1001  * @deprecated use elm_object_part_content_unset() instead.
1002  *
1003  */
1004 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj);
1005
1006 /**
1007  * @brief Set the text label of the check object
1008  *
1009  * @param obj The check object
1010  * @param label The text label string in UTF-8
1011  *
1012  * @deprecated use elm_object_text_set() instead.
1013  */
1014 EINA_DEPRECATED EAPI void         elm_check_label_set(Evas_Object *obj, const char *label);
1015
1016 /**
1017  * @brief Get the text label of the check object
1018  *
1019  * @param obj The check object
1020  * @return The text label string in UTF-8
1021  *
1022  * @deprecated use elm_object_text_get() instead.
1023  */
1024 EINA_DEPRECATED EAPI const char  *elm_check_label_get(const Evas_Object *obj);
1025
1026 /**
1027  * @brief Set the icon object of the check object
1028  *
1029  * @param obj The check object
1030  * @param icon The icon object
1031  *
1032  * Once the icon object is set, a previously set one will be deleted.
1033  * If you want to keep that old content object, use the
1034  * elm_object_content_unset() function.
1035  *
1036  * @deprecated use elm_object_part_content_set() instead.
1037  *
1038  */
1039 EINA_DEPRECATED EAPI void         elm_check_icon_set(Evas_Object *obj, Evas_Object *icon);
1040
1041 /**
1042  * @brief Get the icon object of the check object
1043  *
1044  * @param obj The check object
1045  * @return The icon object
1046  *
1047  * @deprecated use elm_object_part_content_get() instead.
1048  *
1049  */
1050 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj);
1051
1052 /**
1053  * @brief Unset the icon used for the check object
1054  *
1055  * @param obj The check object
1056  * @return The icon object that was being used
1057  *
1058  * Unparent and return the icon object which was set for this widget.
1059  *
1060  * @deprecated use elm_object_part_content_unset() instead.
1061  *
1062  */
1063 EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj);
1064
1065 EINA_DEPRECATED EAPI void         elm_check_states_labels_set(Evas_Object *obj, const char *ontext, const char *offtext);
1066 EINA_DEPRECATED EAPI void         elm_check_states_labels_get(const Evas_Object *obj, const char **ontext, const char **offtext);
1067
1068
1069 /**
1070  * Set the content of the conformant widget.
1071  *
1072  * @param obj The conformant object.
1073  * @param content The content to be displayed by the conformant.
1074  *
1075  * Content will be sized and positioned considering the space required
1076  * to display a virtual keyboard. So it won't fill all the conformant
1077  * size. This way is possible to be sure that content won't resize
1078  * or be re-positioned after the keyboard is displayed.
1079  *
1080  * Once the content object is set, a previously set one will be deleted.
1081  * If you want to keep that old content object, use the
1082  * elm_object_content_unset() function.
1083  *
1084  * @see elm_object_content_unset()
1085  * @see elm_object_content_get()
1086  *
1087  * @deprecated use elm_object_content_set() instead
1088  *
1089  * @ingroup Conformant
1090  */
1091 EINA_DEPRECATED EAPI void         elm_conformant_content_set(Evas_Object *obj, Evas_Object *content);
1092
1093 /**
1094  * Get the content of the conformant widget.
1095  *
1096  * @param obj The conformant object.
1097  * @return The content that is being used.
1098  *
1099  * Return the content object which is set for this widget.
1100  * It won't be unparent from conformant. For that, use
1101  * elm_object_content_unset().
1102  *
1103  * @see elm_object_content_set().
1104  * @see elm_object_content_unset()
1105  *
1106  * @deprecated use elm_object_content_get() instead
1107  *
1108  * @ingroup Conformant
1109  */
1110 EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj);
1111
1112 /**
1113  * Unset the content of the conformant widget.
1114  *
1115  * @param obj The conformant object.
1116  * @return The content that was being used.
1117  *
1118  * Unparent and return the content object which was set for this widget.
1119  *
1120  * @see elm_object_content_set().
1121  *
1122  * @deprecated use elm_object_content_unset() instead
1123  *
1124  * @ingroup Conformant
1125  */
1126 EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj);
1127
1128 /**
1129  * Get the side labels max length.
1130  *
1131  * @deprecated use elm_diskselector_side_label_length_get() instead:
1132  *
1133  * @param obj The diskselector object.
1134  * @return The max length defined for side labels, or 0 if not a valid
1135  * diskselector.
1136  *
1137  * @ingroup Diskselector
1138  */
1139 EINA_DEPRECATED EAPI int    elm_diskselector_side_label_lenght_get(const Evas_Object *obj);
1140
1141 /**
1142  * Set the side labels max length.
1143  *
1144  * @deprecated use elm_diskselector_side_label_length_set() instead:
1145  *
1146  * @param obj The diskselector object.
1147  * @param len The max length defined for side labels.
1148  *
1149  * @ingroup Diskselector
1150  */
1151 EINA_DEPRECATED EAPI void   elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len);
1152
1153 EINA_DEPRECATED EAPI void         elm_factory_content_set(Evas_Object *obj, Evas_Object *content);
1154 EINA_DEPRECATED EAPI Evas_Object *elm_factory_content_get(const Evas_Object *obj);
1155
1156 /**
1157  * Get the label of a given flip selector widget's item.
1158  *
1159  * @param it The item to get label from
1160  * @return The text label of @p item or @c NULL, on errors
1161  *
1162  * @see elm_object_item_text_set()
1163  *
1164  * @deprecated see elm_object_item_text_get() instead
1165  * @ingroup Flipselector
1166  */
1167 EINA_DEPRECATED EAPI const char *elm_flipselector_item_label_get(const Elm_Object_Item *it);
1168
1169 /**
1170  * Set the label of a given flip selector widget's item.
1171  *
1172  * @param it The item to set label on
1173  * @param label The text label string, in UTF-8 encoding
1174  *
1175  * @see elm_object_item_text_get()
1176  *
1177  * @deprecated see elm_object_item_text_set() instead
1178  * @ingroup Flipselector
1179  */
1180 EINA_DEPRECATED EAPI void        elm_flipselector_item_label_set(Elm_Object_Item *it, const char *label);
1181
1182 /**
1183  * Make a given Elementary object the focused one.
1184  *
1185  * @param obj The Elementary object to make focused.
1186  *
1187  * @note This object, if it can handle focus, will take the focus
1188  * away from the one who had it previously and will, for now on, be
1189  * the one receiving input events.
1190  *
1191  * @see elm_object_focus_get()
1192  * @deprecated use elm_object_focus_set() instead.
1193  *
1194  * @ingroup Focus
1195  */
1196 EINA_DEPRECATED EAPI void elm_object_focus(Evas_Object *obj);
1197
1198 /**
1199  * Remove the focus from an Elementary object
1200  *
1201  * @param obj The Elementary to take focus from
1202  *
1203  * This removes the focus from @p obj, passing it back to the
1204  * previous element in the focus chain list.
1205  *
1206  * @see elm_object_focus() and elm_object_focus_custom_chain_get()
1207  * @deprecated use elm_object_focus_set() instead.
1208  *
1209  * @ingroup Focus
1210  */
1211 EINA_DEPRECATED EAPI void elm_object_unfocus(Evas_Object *obj);
1212
1213 /**
1214  * @brief Set the frame label
1215  *
1216  * @param obj The frame object
1217  * @param label The label of this frame object
1218  *
1219  * @deprecated use elm_object_text_set() instead.
1220  */
1221 EINA_DEPRECATED EAPI void         elm_frame_label_set(Evas_Object *obj, const char *label);
1222
1223 /**
1224  * @brief Get the frame label
1225  *
1226  * @param obj The frame object
1227  *
1228  * @return The label of this frame objet or NULL if unable to get frame
1229  *
1230  * @deprecated use elm_object_text_get() instead.
1231  */
1232 EINA_DEPRECATED EAPI const char  *elm_frame_label_get(const Evas_Object *obj);
1233
1234 /**
1235  * @brief Set the content of the frame widget
1236  *
1237  * Once the content object is set, a previously set one will be deleted.
1238  * If you want to keep that old content object, use the
1239  * elm_frame_content_unset() function.
1240  *
1241  * @param obj The frame object
1242  * @param content The content will be filled in this frame object
1243  *
1244  * @deprecated use elm_object_content_set() instead.
1245  */
1246 EINA_DEPRECATED EAPI void         elm_frame_content_set(Evas_Object *obj, Evas_Object *content);
1247
1248 /**
1249  * @brief Get the content of the frame widget
1250  *
1251  * Return the content object which is set for this widget
1252  *
1253  * @param obj The frame object
1254  * @return The content that is being used
1255  *
1256  * @deprecated use elm_object_content_get() instead.
1257  */
1258 EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj);
1259
1260 /**
1261  * @brief Unset the content of the frame widget
1262  *
1263  * Unparent and return the content object which was set for this widget
1264  *
1265  * @param obj The frame object
1266  * @return The content that was being used
1267  *
1268  * @deprecated use elm_object_content_unset() instead.
1269  */
1270 EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj);
1271
1272 EINA_DEPRECATED EAPI void          elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode);
1273 EINA_DEPRECATED EAPI Elm_List_Mode elm_genlist_horizontal_mode_get(const Evas_Object *obj);
1274 EINA_DEPRECATED EAPI void          elm_genlist_item_icons_orphan(Elm_Genlist_Item *it);
1275
1276 #define ELM_IMAGE_ROTATE_90_CW 1
1277 #define ELM_IMAGE_ROTATE_180_CW 2
1278 #define ELM_IMAGE_ROTATE_90_CCW 3
1279
1280 /**
1281  * Return the data associated with a given index widget item
1282  *
1283  * @param it The index widget item handle
1284  * @return The data associated with @p it
1285  * @deprecated Use elm_object_item_data_get() instead
1286  *
1287  * @see elm_index_item_data_set()
1288  *
1289  * @ingroup Index
1290  */
1291 EINA_DEPRECATED EAPI void *elm_index_item_data_get(const Elm_Object_Item *item);
1292
1293 /**
1294  * Set the data associated with a given index widget item
1295  *
1296  * @param it The index widget item handle
1297  * @param data The new data pointer to set to @p it
1298  *
1299  * This sets new item data on @p it.
1300  *
1301  * @warning The old data pointer won't be touched by this function, so
1302  * the user had better to free that old data himself/herself.
1303  *
1304  * @deprecated Use elm_object_item_data_set() instead
1305  * @ingroup Index
1306  */
1307 EINA_DEPRECATED EAPI void  elm_index_item_data_set(Elm_Object_Item *it, const void *data);
1308
1309 /**
1310  * @brief Set the label on the label object
1311  *
1312  * @param obj The label object
1313  * @param label The label will be used on the label object
1314  * @deprecated See elm_object_text_set()
1315  */
1316 EINA_DEPRECATED EAPI void        elm_label_label_set(Evas_Object *obj, const char *label);
1317
1318 /**
1319  * @brief Get the label used on the label object
1320  *
1321  * @param obj The label object
1322  * @return The string inside the label
1323  * @deprecated See elm_object_text_get()
1324  */
1325 EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj);
1326
1327
1328 /**
1329  * Set the layout content.
1330  *
1331  * @param obj The layout object
1332  * @param swallow The swallow part name in the edje file
1333  * @param content The child that will be added in this layout object
1334  *
1335  * Once the content object is set, a previously set one will be deleted.
1336  * If you want to keep that old content object, use the
1337  * elm_object_part_content_unset() function.
1338  *
1339  * @note In an Edje theme, the part used as a content container is called @c
1340  * SWALLOW. This is why the parameter name is called @p swallow, but it is
1341  * expected to be a part name just like the second parameter of
1342  * elm_layout_box_append().
1343  *
1344  * @see elm_layout_box_append()
1345  * @see elm_object_part_content_get()
1346  * @see elm_object_part_content_unset()
1347  * @see @ref secBox
1348  * @deprecated use elm_object_part_content_set() instead
1349  *
1350  * @ingroup Layout
1351  */
1352 EINA_DEPRECATED EAPI void         elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
1353
1354 /**
1355  * Get the child object in the given content part.
1356  *
1357  * @param obj The layout object
1358  * @param swallow The SWALLOW part to get its content
1359  *
1360  * @return The swallowed object or NULL if none or an error occurred
1361  *
1362  * @deprecated use elm_object_part_content_get() instead
1363  *
1364  * @ingroup Layout
1365  */
1366 EINA_DEPRECATED EAPI Evas_Object *elm_layout_content_get(const Evas_Object *obj, const char *swallow);
1367
1368 /**
1369  * Unset the layout content.
1370  *
1371  * @param obj The layout object
1372  * @param swallow The swallow part name in the edje file
1373  * @return The content that was being used
1374  *
1375  * Unparent and return the content object which was set for this part.
1376  *
1377  * @deprecated use elm_object_part_content_unset() instead
1378  *
1379  * @ingroup Layout
1380  */
1381 EINA_DEPRECATED EAPI Evas_Object *elm_layout_content_unset(Evas_Object *obj, const char *swallow);
1382
1383 /**
1384  * Set the text of the given part
1385  *
1386  * @param obj The layout object
1387  * @param part The TEXT part where to set the text
1388  * @param text The text to set
1389  *
1390  * @ingroup Layout
1391  * @deprecated use elm_object_part_text_set() instead.
1392  */
1393 EINA_DEPRECATED EAPI void         elm_layout_text_set(Evas_Object *obj, const char *part, const char *text);
1394
1395 /**
1396  * Get the text set in the given part
1397  *
1398  * @param obj The layout object
1399  * @param part The TEXT part to retrieve the text off
1400  *
1401  * @return The text set in @p part
1402  *
1403  * @ingroup Layout
1404  * @deprecated use elm_object_part_text_get() instead.
1405  */
1406 EINA_DEPRECATED EAPI const char  *elm_layout_text_get(const Evas_Object *obj, const char *part);
1407
1408 /**
1409  * @def elm_layout_label_set
1410  * Convienience macro to set the label in a layout that follows the
1411  * Elementary naming convention for its parts.
1412  *
1413  * @ingroup Layout
1414  * @deprecated use elm_object_text_set() instead.
1415  */
1416 #define elm_layout_label_set(_ly, _txt) \
1417   elm_layout_text_set((_ly), "elm.text", (_txt))
1418
1419 /**
1420  * @def elm_layout_label_get
1421  * Convenience macro to get the label in a layout that follows the
1422  * Elementary naming convention for its parts.
1423  *
1424  * @ingroup Layout
1425  * @deprecated use elm_object_text_set() instead.
1426  */
1427 #define elm_layout_label_get(_ly) \
1428   elm_layout_text_get((_ly), "elm.text")
1429
1430 EINA_DEPRECATED EAPI Evas_Object *elm_list_item_base_get(const Elm_List_Item *item);
1431
1432
1433 /**
1434  * Set the content of the mapbuf.
1435  *
1436  * @param obj The mapbuf object.
1437  * @param content The content that will be filled in this mapbuf object.
1438  *
1439  * Once the content object is set, a previously set one will be deleted.
1440  * If you want to keep that old content object, use the
1441  * elm_mapbuf_content_unset() function.
1442  *
1443  * To enable map, elm_mapbuf_enabled_set() should be used.
1444  *
1445  * @deprecated use elm_object_content_set() instead
1446  *
1447  * @ingroup Mapbuf
1448  */
1449 EINA_DEPRECATED EAPI void         elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content);
1450
1451 /**
1452  * Get the content of the mapbuf.
1453  *
1454  * @param obj The mapbuf object.
1455  * @return The content that is being used.
1456  *
1457  * Return the content object which is set for this widget.
1458  *
1459  * @see elm_mapbuf_content_set() for details.
1460  *
1461  * @deprecated use elm_object_content_get() instead
1462  *
1463  * @ingroup Mapbuf
1464  */
1465 EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj);
1466
1467 /**
1468  * Unset the content of the mapbuf.
1469  *
1470  * @param obj The mapbuf object.
1471  * @return The content that was being used.
1472  *
1473  * Unparent and return the content object which was set for this widget.
1474  *
1475  * @see elm_mapbuf_content_set() for details.
1476  *
1477  * @deprecated use elm_object_content_unset() instead
1478  *
1479  * @ingroup Mapbuf
1480  */
1481 EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj);
1482
1483 /**
1484  * @brief Set the label of a menu item
1485  *
1486  * @param it The menu item object.
1487  * @param label The label to set for @p item
1488  *
1489  * @warning Don't use this funcion on items created with
1490  * elm_menu_item_add_object() or elm_menu_item_separator_add().
1491  *
1492  * @deprecated Use elm_object_item_text_set() instead
1493  */
1494 EINA_DEPRECATED EAPI void         elm_menu_item_label_set(Elm_Object_Item *it, const char *label);
1495
1496 /**
1497  * @brief Get the label of a menu item
1498  *
1499  * @param it The menu item object.
1500  * @return The label of @p item
1501  * @deprecated Use elm_object_item_text_get() instead
1502  */
1503 EINA_DEPRECATED EAPI const char  *elm_menu_item_label_get(const Elm_Object_Item *it);
1504
1505 /**
1506  * @brief Set the content object of a menu item
1507  *
1508  * @param it The menu item object
1509  * @param The content object or NULL
1510  * @return EINA_TRUE on success, else EINA_FALSE
1511  *
1512  * Use this function to change the object swallowed by a menu item, deleting
1513  * any previously swallowed object.
1514  *
1515  * @deprecated Use elm_object_item_content_set() instead
1516  */
1517 EINA_DEPRECATED EAPI Eina_Bool    elm_menu_item_object_content_set(Elm_Object_Item *it, Evas_Object *obj);
1518
1519 /**
1520  * @brief Get the content object of a menu item
1521  *
1522  * @param it The menu item object
1523  * @return The content object or NULL
1524  * @note If @p item was added with elm_menu_item_add_object, this
1525  * function will return the object passed, else it will return the
1526  * icon object.
1527  *
1528  * @see elm_menu_item_object_content_set()
1529  *
1530  * @deprecated Use elm_object_item_content_get() instead
1531  */
1532 EINA_DEPRECATED EAPI Evas_Object *elm_menu_item_object_content_get(const Elm_Object_Item *it);
1533
1534 /**
1535  * @brief Set the disabled state of @p item.
1536  *
1537  * @param it The menu item object.
1538  * @param disabled The enabled/disabled state of the item
1539  * @deprecated Use elm_object_item_disabled_set() instead
1540  */
1541 EINA_DEPRECATED EAPI void         elm_menu_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
1542
1543 /**
1544  * @brief Get the disabled state of @p item.
1545  *
1546  * @param it The menu item object.
1547  * @return The enabled/disabled state of the item
1548  *
1549  * @see elm_menu_item_disabled_set()
1550  * @deprecated Use elm_object_item_disabled_get() instead
1551  */
1552 EINA_DEPRECATED EAPI Eina_Bool    elm_menu_item_disabled_get(const Elm_Object_Item *it);
1553
1554 /**
1555  * @brief Returns the data associated with menu item @p item.
1556  *
1557  * @param it The item
1558  * @return The data associated with @p item or NULL if none was set.
1559  *
1560  * This is the data set with elm_menu_add() or elm_menu_item_data_set().
1561  *
1562  * @deprecated Use elm_object_item_data_get() instead
1563  */
1564 EINA_DEPRECATED EAPI void        *elm_menu_item_data_get(const Elm_Object_Item *it);
1565
1566 /**
1567  * @brief Sets the data to be associated with menu item @p item.
1568  *
1569  * @param it The item
1570  * @param data The data to be associated with @p item
1571  *
1572  * @deprecated Use elm_object_item_data_set() instead
1573  */
1574 EINA_DEPRECATED EAPI void         elm_menu_item_data_set(Elm_Object_Item *it, const void *data);
1575
1576 /**
1577  * @brief Set the content of the notify widget
1578  *
1579  * @param obj The notify object
1580  * @param content The content will be filled in this notify object
1581  *
1582  * Once the content object is set, a previously set one will be deleted. If
1583  * you want to keep that old content object, use the
1584  * elm_notify_content_unset() function.
1585  *
1586  * @deprecated use elm_object_content_set() instead
1587  *
1588  */
1589 EINA_DEPRECATED EAPI void         elm_notify_content_set(Evas_Object *obj, Evas_Object *content);
1590
1591 /**
1592  * @brief Unset the content of the notify widget
1593  *
1594  * @param obj The notify object
1595  * @return The content that was being used
1596  *
1597  * Unparent and return the content object which was set for this widget
1598  *
1599  * @see elm_notify_content_set()
1600  * @deprecated use elm_object_content_unset() instead
1601  *
1602  */
1603 EINA_DEPRECATED EAPI Evas_Object *elm_notify_content_unset(Evas_Object *obj);
1604
1605 /**
1606  * @brief Return the content of the notify widget
1607  *
1608  * @param obj The notify object
1609  * @return The content that is being used
1610  *
1611  * @see elm_notify_content_set()
1612  * @deprecated use elm_object_content_get() instead
1613  *
1614  */
1615 EINA_DEPRECATED EAPI Evas_Object *elm_notify_content_get(const Evas_Object *obj);
1616
1617 /**
1618  * Set a label of an object
1619  *
1620  * @param obj The Elementary object
1621  * @param part The text part name to set (NULL for the default label)
1622  * @param label The new text of the label
1623  *
1624  * @note Elementary objects may have many labels (e.g. Action Slider)
1625  * @deprecated Use elm_object_part_text_set() instead.
1626  * @ingroup General
1627  */
1628 EINA_DEPRECATED EAPI void         elm_object_text_part_set(Evas_Object *obj, const char *part, const char *label);
1629
1630 /**
1631  * Get a label of an object
1632  *
1633  * @param obj The Elementary object
1634  * @param part The text part name to get (NULL for the default label)
1635  * @return text of the label or NULL for any error
1636  *
1637  * @note Elementary objects may have many labels (e.g. Action Slider)
1638  * @deprecated Use elm_object_part_text_get() instead.
1639  * @ingroup General
1640  */
1641 EINA_DEPRECATED EAPI const char  *elm_object_text_part_get(const Evas_Object *obj, const char *part);
1642
1643 /**
1644  * Set a content of an object
1645  *
1646  * @param obj The Elementary object
1647  * @param part The content part name to set (NULL for the default content)
1648  * @param content The new content of the object
1649  *
1650  * @note Elementary objects may have many contents
1651  * @deprecated Use elm_object_part_content_set instead.
1652  * @ingroup General
1653  */
1654 EINA_DEPRECATED EAPI void         elm_object_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
1655
1656 /**
1657  * Get a content of an object
1658  *
1659  * @param obj The Elementary object
1660  * @param part The content part name to get (NULL for the default content)
1661  * @return content of the object or NULL for any error
1662  *
1663  * @note Elementary objects may have many contents
1664  * @deprecated Use elm_object_part_content_get instead.
1665  * @ingroup General
1666  */
1667 EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_get(const Evas_Object *obj, const char *part);
1668
1669 /**
1670  * Unset a content of an object
1671  *
1672  * @param obj The Elementary object
1673  * @param part The content part name to unset (NULL for the default content)
1674  *
1675  * @note Elementary objects may have many contents
1676  * @deprecated Use elm_object_part_content_unset instead.
1677  * @ingroup General
1678  */
1679 EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_unset(Evas_Object *obj, const char *part);
1680
1681 /**
1682  * Set a content of an object item
1683  *
1684  * @param it The Elementary object item
1685  * @param part The content part name to set (NULL for the default content)
1686  * @param content The new content of the object item
1687  *
1688  * @note Elementary object items may have many contents
1689  * @deprecated Use elm_object_item_part_content_set instead.
1690  * @ingroup General
1691  */
1692 EINA_DEPRECATED EAPI void         elm_object_item_content_part_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
1693
1694 /**
1695  * Get a content of an object item
1696  *
1697  * @param it The Elementary object item
1698  * @param part The content part name to unset (NULL for the default content)
1699  * @return content of the object item or NULL for any error
1700  *
1701  * @note Elementary object items may have many contents
1702  * @deprecated Use elm_object_item_part_content_get instead.
1703  * @ingroup General
1704  */
1705 EINA_DEPRECATED EAPI Evas_Object                 *elm_object_item_content_part_get(const Elm_Object_Item *it, const char *part);
1706
1707 /**
1708  * Unset a content of an object item
1709  *
1710  * @param it The Elementary object item
1711  * @param part The content part name to unset (NULL for the default content)
1712  *
1713  * @note Elementary object items may have many contents
1714  * @deprecated Use elm_object_item_part_content_unset instead.
1715  * @ingroup General
1716  */
1717 EINA_DEPRECATED EAPI Evas_Object *elm_object_item_content_part_unset(Elm_Object_Item *it, const char *part);
1718
1719 /**
1720  * Get a label of an object item
1721  *
1722  * @param it The Elementary object item
1723  * @param part The text part name to get (NULL for the default label)
1724  * @return text of the label or NULL for any error
1725  *
1726  * @note Elementary object items may have many labels
1727  * @deprecated Use elm_object_item_part_text_get instead.
1728  * @ingroup General
1729  */
1730 EINA_DEPRECATED EAPI const char  *elm_object_item_text_part_get(const Elm_Object_Item *it, const char *part);
1731
1732 /**
1733  * Set a label of an object item
1734  *
1735  * @param it The Elementary object item
1736  * @param part The text part name to set (NULL for the default label)
1737  * @param label The new text of the label
1738  *
1739  * @note Elementary object items may have many labels
1740  * @deprecated Use elm_object_item_part_text_set instead.
1741  * @ingroup General
1742  */
1743 EINA_DEPRECATED EAPI void         elm_object_item_text_part_set(Elm_Object_Item *it, const char *part, const char *label);
1744
1745 /**
1746  * @brief Set the content of the panel.
1747  *
1748  * @param obj The panel object
1749  * @param content The panel content
1750  *
1751  * Once the content object is set, a previously set one will be deleted.
1752  * If you want to keep that old content object, use the
1753  * elm_panel_content_unset() function.
1754  *
1755  * @deprecated use elm_object_content_set() instead
1756  *
1757  */
1758 EINA_DEPRECATED EAPI void         elm_panel_content_set(Evas_Object *obj, Evas_Object *content);
1759
1760 /**
1761  * @brief Get the content of the panel.
1762  *
1763  * @param obj The panel object
1764  * @return The content that is being used
1765  *
1766  * Return the content object which is set for this widget.
1767  *
1768  * @see elm_panel_content_set()
1769  *
1770  * @deprecated use elm_object_content_get() instead
1771  *
1772  */
1773 EINA_DEPRECATED EAPI Evas_Object *elm_panel_content_get(const Evas_Object *obj);
1774
1775 /**
1776  * @brief Unset the content of the panel.
1777  *
1778  * @param obj The panel object
1779  * @return The content that was being used
1780  *
1781  * Unparent and return the content object which was set for this widget.
1782  *
1783  * @see elm_panel_content_set()
1784  *
1785  * @deprecated use elm_object_content_unset() instead
1786  *
1787  */
1788 EINA_DEPRECATED EAPI Evas_Object *elm_panel_content_unset(Evas_Object *obj);
1789
1790 /**
1791  * Set the left content of the panes widget.
1792  *
1793  * @param obj The panes object.
1794  * @param content The new left content object.
1795  *
1796  * Once the content object is set, a previously set one will be deleted.
1797  * If you want to keep that old content object, use the
1798  * elm_panes_content_left_unset() function.
1799  *
1800  * If panes is displayed vertically, left content will be displayed at
1801  * top.
1802  *
1803  * @see elm_panes_content_left_get()
1804  * @see elm_panes_content_right_set() to set content on the other side.
1805  *
1806  * @deprecated use elm_object_part_content_set() instead
1807  *
1808  * @ingroup Panes
1809  */
1810 EINA_DEPRECATED EAPI void         elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content);
1811
1812 /**
1813  * Set the right content of the panes widget.
1814  *
1815  * @param obj The panes object.
1816  * @param content The new right content object.
1817  *
1818  * Once the content object is set, a previously set one will be deleted.
1819  * If you want to keep that old content object, use the
1820  * elm_panes_content_right_unset() function.
1821  *
1822  * If panes is displayed vertically, left content will be displayed at
1823  * bottom.
1824  *
1825  * @see elm_panes_content_right_get()
1826  * @see elm_panes_content_left_set() to set content on the other side.
1827  *
1828  * @deprecated use elm_object_part_content_set() instead
1829  *
1830  * @ingroup Panes
1831  */
1832 EINA_DEPRECATED EAPI void         elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content);
1833
1834 /**
1835  * Get the left content of the panes.
1836  *
1837  * @param obj The panes object.
1838  * @return The left content object that is being used.
1839  *
1840  * Return the left content object which is set for this widget.
1841  *
1842  * @see elm_panes_content_left_set() for details.
1843  *
1844  * @deprecated use elm_object_part_content_get() instead
1845  *
1846  * @ingroup Panes
1847  */
1848 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_left_get(const Evas_Object *obj);
1849
1850 /**
1851  * Get the right content of the panes.
1852  *
1853  * @param obj The panes object
1854  * @return The right content object that is being used
1855  *
1856  * Return the right content object which is set for this widget.
1857  *
1858  * @see elm_panes_content_right_set() for details.
1859  *
1860  * @deprecated use elm_object_part_content_get() instead
1861  *
1862  * @ingroup Panes
1863  */
1864 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_right_get(const Evas_Object *obj);
1865
1866 /**
1867  * Unset the left content used for the panes.
1868  *
1869  * @param obj The panes object.
1870  * @return The left content object that was being used.
1871  *
1872  * Unparent and return the left content object which was set for this widget.
1873  *
1874  * @see elm_panes_content_left_set() for details.
1875  * @see elm_panes_content_left_get().
1876  *
1877  * @deprecated use elm_object_part_content_unset() instead
1878  *
1879  * @ingroup Panes
1880  */
1881 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_left_unset(Evas_Object *obj);
1882
1883 /**
1884  * Unset the right content used for the panes.
1885  *
1886  * @param obj The panes object.
1887  * @return The right content object that was being used.
1888  *
1889  * Unparent and return the right content object which was set for this
1890  * widget.
1891  *
1892  * @see elm_panes_content_right_set() for details.
1893  * @see elm_panes_content_right_get().
1894  *
1895  * @deprecated use elm_object_part_content_unset() instead
1896  *
1897  * @ingroup Panes
1898  */
1899 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_right_unset(Evas_Object *obj);
1900 /**
1901  * Set the label of a given progress bar widget
1902  *
1903  * @param obj The progress bar object
1904  * @param label The text label string, in UTF-8
1905  *
1906  * @ingroup Progressbar
1907  * @deprecated use elm_object_text_set() instead.
1908  */
1909 EINA_DEPRECATED EAPI void         elm_progressbar_label_set(Evas_Object *obj, const char *label);
1910
1911 /**
1912  * Get the label of a given progress bar widget
1913  *
1914  * @param obj The progressbar object
1915  * @return The text label string, in UTF-8
1916  *
1917  * @ingroup Progressbar
1918  * @deprecated use elm_object_text_set() instead.
1919  */
1920 EINA_DEPRECATED EAPI const char  *elm_progressbar_label_get(const Evas_Object *obj);
1921
1922 /**
1923  * Set the icon object of a given progress bar widget
1924  *
1925  * @param obj The progress bar object
1926  * @param icon The icon object
1927  *
1928  * Use this call to decorate @p obj with an icon next to it.
1929  *
1930  * @note Once the icon object is set, a previously set one will be
1931  * deleted. If you want to keep that old content object, use the
1932  * elm_progressbar_icon_unset() function.
1933  *
1934  * @see elm_progressbar_icon_get()
1935  * @deprecated use elm_object_part_content_set() instead.
1936  *
1937  * @ingroup Progressbar
1938  */
1939 EINA_DEPRECATED EAPI void         elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon);
1940
1941 /**
1942  * Retrieve the icon object set for a given progress bar widget
1943  *
1944  * @param obj The progress bar object
1945  * @return The icon object's handle, if @p obj had one set, or @c NULL,
1946  * otherwise (and on errors)
1947  *
1948  * @see elm_progressbar_icon_set() for more details
1949  * @deprecated use elm_object_part_content_get() instead.
1950  *
1951  * @ingroup Progressbar
1952  */
1953 EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj);
1954
1955 /**
1956  * Unset an icon set on a given progress bar widget
1957  *
1958  * @param obj The progress bar object
1959  * @return The icon object that was being used, if any was set, or
1960  * @c NULL, otherwise (and on errors)
1961  *
1962  * This call will unparent and return the icon object which was set
1963  * for this widget, previously, on success.
1964  *
1965  * @see elm_progressbar_icon_set() for more details
1966  * @deprecated use elm_object_part_content_unset() instead.
1967  *
1968  * @ingroup Progressbar
1969  */
1970 EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj);
1971
1972 /**
1973  * @brief Set the text label of the radio object
1974  *
1975  * @param obj The radio object
1976  * @param label The text label string in UTF-8
1977  *
1978  * @deprecated use elm_object_text_set() instead.
1979  */
1980 EINA_DEPRECATED EAPI void         elm_radio_label_set(Evas_Object *obj, const char *label);
1981
1982 /**
1983  * @brief Get the text label of the radio object
1984  *
1985  * @param obj The radio object
1986  * @return The text label string in UTF-8
1987  *
1988  * @deprecated use elm_object_text_set() instead.
1989  */
1990 EINA_DEPRECATED EAPI const char  *elm_radio_label_get(const Evas_Object *obj);
1991
1992 /**
1993  * @brief Set the icon object of the radio object
1994  *
1995  * @param obj The radio object
1996  * @param icon The icon object
1997  *
1998  * Once the icon object is set, a previously set one will be deleted. If you
1999  * want to keep that old content object, use the elm_radio_icon_unset()
2000  * function.
2001  *
2002  * @deprecated use elm_object_part_content_set() instead.
2003  *
2004  */
2005 EINA_DEPRECATED EAPI void         elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon);
2006
2007 /**
2008  * @brief Get the icon object of the radio object
2009  *
2010  * @param obj The radio object
2011  * @return The icon object
2012  *
2013  * @see elm_radio_icon_set()
2014  *
2015  * @deprecated use elm_object_part_content_get() instead.
2016  *
2017  */
2018 EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj);
2019
2020 /**
2021  * @brief Unset the icon used for the radio object
2022  *
2023  * @param obj The radio object
2024  * @return The icon object that was being used
2025  *
2026  * Unparent and return the icon object which was set for this widget.
2027  *
2028  * @see elm_radio_icon_set()
2029  * @deprecated use elm_object_part_content_unset() instead.
2030  *
2031  */
2032 EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj);
2033
2034 /**
2035  * @brief Set the content of the scroller widget (the object to be scrolled around).
2036  *
2037  * @param obj The scroller object
2038  * @param content The new content object
2039  *
2040  * Once the content object is set, a previously set one will be deleted.
2041  * If you want to keep that old content object, use the
2042  * elm_scroller_content_unset() function.
2043  * @deprecated use elm_object_content_set() instead
2044  */
2045 EINA_DEPRECATED EAPI void         elm_scroller_content_set(Evas_Object *obj, Evas_Object *child);
2046
2047 /**
2048  * @brief Get the content of the scroller widget
2049  *
2050  * @param obj The slider object
2051  * @return The content that is being used
2052  *
2053  * Return the content object which is set for this widget
2054  *
2055  * @see elm_scroller_content_set()
2056  * @deprecated use elm_object_content_get() instead.
2057  */
2058 EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj);
2059
2060 /**
2061  * @brief Unset the content of the scroller widget
2062  *
2063  * @param obj The slider object
2064  * @return The content that was being used
2065  *
2066  * Unparent and return the content object which was set for this widget
2067  *
2068  * @see elm_scroller_content_set()
2069  * @deprecated use elm_object_content_unset() instead.
2070  */
2071 EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj);
2072
2073 /**
2074  * Set the label of a given slider widget
2075  *
2076  * @param obj The progress bar object
2077  * @param label The text label string, in UTF-8
2078  *
2079  * @ingroup Slider
2080  * @deprecated use elm_object_text_set() instead.
2081  */
2082 EINA_DEPRECATED EAPI void         elm_slider_label_set(Evas_Object *obj, const char *label);
2083
2084 /**
2085  * Get the label of a given slider widget
2086  *
2087  * @param obj The progressbar object
2088  * @return The text label string, in UTF-8
2089  *
2090  * @ingroup Slider
2091  * @deprecated use elm_object_text_get() instead.
2092  */
2093 EINA_DEPRECATED EAPI const char  *elm_slider_label_get(const Evas_Object *obj);
2094
2095 /**
2096  * Set the icon object of the slider object.
2097  *
2098  * @param obj The slider object.
2099  * @param icon The icon object.
2100  *
2101  * On horizontal mode, icon is placed at left, and on vertical mode,
2102  * placed at top.
2103  *
2104  * @note Once the icon object is set, a previously set one will be deleted.
2105  * If you want to keep that old content object, use the
2106  * elm_slider_icon_unset() function.
2107  *
2108  * @warning If the object being set does not have minimum size hints set,
2109  * it won't get properly displayed.
2110  *
2111  * @ingroup Slider
2112  * @deprecated use elm_object_part_content_set() instead.
2113  */
2114 EINA_DEPRECATED EAPI void         elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon);
2115
2116 /**
2117  * Unset an icon set on a given slider widget.
2118  *
2119  * @param obj The slider object.
2120  * @return The icon object that was being used, if any was set, or
2121  * @c NULL, otherwise (and on errors).
2122  *
2123  * On horizontal mode, icon is placed at left, and on vertical mode,
2124  * placed at top.
2125  *
2126  * This call will unparent and return the icon object which was set
2127  * for this widget, previously, on success.
2128  *
2129  * @see elm_slider_icon_set() for more details
2130  * @see elm_slider_icon_get()
2131  * @deprecated use elm_object_part_content_unset() instead.
2132  *
2133  * @ingroup Slider
2134  */
2135 EINA_DEPRECATED EAPI Evas_Object *elm_slider_icon_unset(Evas_Object *obj);
2136
2137 /**
2138  * Retrieve the icon object set for a given slider widget.
2139  *
2140  * @param obj The slider object.
2141  * @return The icon object's handle, if @p obj had one set, or @c NULL,
2142  * otherwise (and on errors).
2143  *
2144  * On horizontal mode, icon is placed at left, and on vertical mode,
2145  * placed at top.
2146  *
2147  * @see elm_slider_icon_set() for more details
2148  * @see elm_slider_icon_unset()
2149  *
2150  * @deprecated use elm_object_part_content_get() instead.
2151  *
2152  * @ingroup Slider
2153  */
2154 EINA_DEPRECATED EAPI Evas_Object *elm_slider_icon_get(const Evas_Object *obj);
2155
2156 /**
2157  * Set the end object of the slider object.
2158  *
2159  * @param obj The slider object.
2160  * @param end The end object.
2161  *
2162  * On horizontal mode, end is placed at left, and on vertical mode,
2163  * placed at bottom.
2164  *
2165  * @note Once the icon object is set, a previously set one will be deleted.
2166  * If you want to keep that old content object, use the
2167  * elm_slider_end_unset() function.
2168  *
2169  * @warning If the object being set does not have minimum size hints set,
2170  * it won't get properly displayed.
2171  *
2172  * @deprecated use elm_object_part_content_set() instead.
2173  *
2174  * @ingroup Slider
2175  */
2176 EINA_DEPRECATED EAPI void         elm_slider_end_set(Evas_Object *obj, Evas_Object *end);
2177
2178 /**
2179  * Unset an end object set on a given slider widget.
2180  *
2181  * @param obj The slider object.
2182  * @return The end object that was being used, if any was set, or
2183  * @c NULL, otherwise (and on errors).
2184  *
2185  * On horizontal mode, end is placed at left, and on vertical mode,
2186  * placed at bottom.
2187  *
2188  * This call will unparent and return the icon object which was set
2189  * for this widget, previously, on success.
2190  *
2191  * @see elm_slider_end_set() for more details.
2192  * @see elm_slider_end_get()
2193  *
2194  * @deprecated use elm_object_part_content_unset() instead
2195  * instead.
2196  *
2197  * @ingroup Slider
2198  */
2199 EINA_DEPRECATED EAPI Evas_Object *elm_slider_end_unset(Evas_Object *obj);
2200
2201 /**
2202  * Retrieve the end object set for a given slider widget.
2203  *
2204  * @param obj The slider object.
2205  * @return The end object's handle, if @p obj had one set, or @c NULL,
2206  * otherwise (and on errors).
2207  *
2208  * On horizontal mode, icon is placed at right, and on vertical mode,
2209  * placed at bottom.
2210  *
2211  * @see elm_slider_end_set() for more details.
2212  * @see elm_slider_end_unset()
2213  *
2214  *
2215  * @deprecated use elm_object_part_content_get() instead
2216  * instead.
2217  *
2218  * @ingroup Slider
2219  */
2220 EINA_DEPRECATED EAPI Evas_Object *elm_slider_end_get(const Evas_Object *obj);
2221
2222 /**
2223  * Return the data associated with a given slideshow item
2224  *
2225  * @param it The slideshow item
2226  * @return Returns the data associated to this item
2227  *
2228  * @deprecated use elm_object_item_data_get() instead
2229  * @ingroup Slideshow
2230  */
2231 EINA_DEPRECATED EAPI void *elm_slideshow_item_data_get(const Elm_Object_Item *it);
2232
2233 /**
2234  * Get the toolbar object from an item.
2235  *
2236  * @param it The item.
2237  * @return The toolbar object.
2238  *
2239  * This returns the toolbar object itself that an item belongs to.
2240  *
2241  * @deprecated use elm_object_item_object_get() instead.
2242  * @ingroup Toolbar
2243  */
2244 EINA_DEPRECATED EAPI Evas_Object *elm_toolbar_item_toolbar_get(const Elm_Object_Item *it);
2245
2246 /**
2247  * Get the label of item.
2248  *
2249  * @param it The item of toolbar.
2250  * @return The label of item.
2251  *
2252  * The return value is a pointer to the label associated to @p item when
2253  * it was created, with function elm_toolbar_item_append() or similar,
2254  * or later,
2255  * with function elm_toolbar_item_label_set. If no label
2256  * was passed as argument, it will return @c NULL.
2257  *
2258  * @see elm_toolbar_item_label_set() for more details.
2259  * @see elm_toolbar_item_append()
2260  *
2261  * @deprecated use elm_object_item_text_get() instead.
2262  * @ingroup Toolbar
2263  */
2264 EINA_DEPRECATED EAPI const char  *elm_toolbar_item_label_get(const Elm_Object_Item *it);
2265
2266 /**
2267  * Set the label of item.
2268  *
2269  * @param it The item of toolbar.
2270  * @param text The label of item.
2271  *
2272  * The label to be displayed by the item.
2273  * Label will be placed at icons bottom (if set).
2274  *
2275  * If a label was passed as argument on item creation, with function
2276  * elm_toolbar_item_append() or similar, it will be already
2277  * displayed by the item.
2278  *
2279  * @see elm_toolbar_item_label_get()
2280  * @see elm_toolbar_item_append()
2281  *
2282  * @deprecated use elm_object_item_text_set() instead
2283  * @ingroup Toolbar
2284  */
2285 EINA_DEPRECATED EAPI void         elm_toolbar_item_label_set(Elm_Object_Item *it, const char *label);
2286
2287 /**
2288  * Return the data associated with a given toolbar widget item.
2289  *
2290  * @param it The toolbar widget item handle.
2291  * @return The data associated with @p item.
2292  *
2293  * @see elm_toolbar_item_data_set()
2294  *
2295  * @deprecated use elm_object_item_data_get() instead.
2296  * @ingroup Toolbar
2297  */
2298 EINA_DEPRECATED EAPI void        *elm_toolbar_item_data_get(const Elm_Object_Item *it);
2299
2300 /**
2301  * Set the data associated with a given toolbar widget item.
2302  *
2303  * @param it The toolbar widget item handle
2304  * @param data The new data pointer to set to @p item.
2305  *
2306  * This sets new item data on @p item.
2307  *
2308  * @warning The old data pointer won't be touched by this function, so
2309  * the user had better to free that old data himself/herself.
2310  *
2311  * @deprecated use elm_object_item_data_set() instead.
2312  * @ingroup Toolbar
2313  */
2314 EINA_DEPRECATED EAPI void         elm_toolbar_item_data_set(Elm_Object_Item *it, const void *data);
2315
2316 /**
2317  * Get a value whether toolbar item is disabled or not.
2318  *
2319  * @param it The item.
2320  * @return The disabled state.
2321  *
2322  * @see elm_toolbar_item_disabled_set() for more details.
2323  *
2324  * @deprecated use elm_object_item_disabled_get() instead.
2325  * @ingroup Toolbar
2326  */
2327 EINA_DEPRECATED EAPI Eina_Bool    elm_toolbar_item_disabled_get(const Elm_Object_Item *it);
2328
2329 /**
2330  * Sets the disabled/enabled state of a toolbar item.
2331  *
2332  * @param it The item.
2333  * @param disabled The disabled state.
2334  *
2335  * A disabled item cannot be selected or unselected. It will also
2336  * change its appearance (generally greyed out). This sets the
2337  * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
2338  * enabled).
2339  *
2340  * @deprecated use elm_object_item_disabled_set() instead.
2341  * @ingroup Toolbar
2342  */
2343 EINA_DEPRECATED EAPI void         elm_toolbar_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
2344
2345 /**
2346  * Change a toolbar's orientation
2347  * @param obj The toolbar object
2348  * @param vertical If @c EINA_TRUE, the toolbar is vertical
2349  * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
2350  * @ingroup Toolbar
2351  * @deprecated use elm_toolbar_horizontal_set() instead.
2352  */
2353 EINA_DEPRECATED EAPI void         elm_toolbar_orientation_set(Evas_Object *obj, Eina_Bool vertical);
2354
2355 /**
2356  * Get a toolbar's orientation
2357  * @param obj The toolbar object
2358  * @return If @c EINA_TRUE, the toolbar is vertical
2359  * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
2360  * @ingroup Toolbar
2361  * @deprecated use elm_toolbar_horizontal_get() instead.
2362  */
2363 EINA_DEPRECATED EAPI Eina_Bool    elm_toolbar_orientation_get(const Evas_Object *obj);
2364
2365 /**
2366  * @brief Link a Elm_Payer with an Elm_Video object.
2367  *
2368  * @param player the Elm_Player object.
2369  * @param video The Elm_Video object.
2370  *
2371  * This mean that action on the player widget will affect the
2372  * video object and the state of the video will be reflected in
2373  * the player itself.
2374  *
2375  * @see elm_player_add()
2376  * @see elm_video_add()
2377  * @deprecated use elm_object_part_content_set() instead
2378  *
2379  * @ingroup Video
2380  */
2381 EINA_DEPRECATED EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);