Merge "[multibuttonenetry]Removed ellipsis calculation from the code (automatically...
[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 label.
772  *
773  * @param[in] obj The actionslider object
774  * @param[in] pos The position of the label.
775  * (ELM_ACTIONSLIDER_LABEL_LEFT, ELM_ACTIONSLIDER_LABEL_RIGHT)
776  * @param label The label which is going to be set.
777  * @deprecated use elm_object_part_text_set() instead.
778  */
779 EINA_DEPRECATED EAPI void        elm_actionslider_label_set(Evas_Object *obj, Elm_Actionslider_Label_Pos pos, const char *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_Object_Item *it);
1708 /**
1709  * This sets the horizontal stretching mode.
1710  *
1711  * @param obj The genlist object
1712  * @param mode The mode to use (one of #ELM_LIST_SCROLL or #ELM_LIST_LIMIT).
1713  *
1714  * This sets the mode used for sizing items horizontally. Valid modes
1715  * are #ELM_LIST_LIMIT and #ELM_LIST_SCROLL. The default is
1716  * ELM_LIST_SCROLL. This mode means that if items are too wide to fit,
1717  * the scroller will scroll horizontally. Otherwise items are expanded
1718  * to fill the width of the viewport of the scroller. If it is
1719  * ELM_LIST_LIMIT, items will be expanded to the viewport width and
1720  * limited to that size.
1721  *
1722  * @see elm_genlist_horizontal_get()
1723  *
1724  * @deprecated use elm_genlist_mode_set()
1725  * @ingroup Genlist
1726  */
1727 EINA_DEPRECATED EAPI void                          elm_genlist_horizontal_set(Evas_Object *obj, Elm_List_Mode mode);
1728
1729 /**
1730  * Gets the horizontal stretching mode.
1731  *
1732  * @param obj The genlist object
1733  * @return The mode to use
1734  * (#ELM_LIST_LIMIT, #ELM_LIST_SCROLL)
1735  *
1736  * @see elm_genlist_horizontal_set()
1737  *
1738  * @deprecated use elm_genlist_mode_get()
1739  * @ingroup Genlist
1740  */
1741 EAPI Elm_List_Mode                 elm_genlist_horizontal_get(const Evas_Object *obj);
1742
1743 /**
1744  * Return the data associated to a given genlist item
1745  *
1746  * @param it The genlist item.
1747  * @return the data associated to this item.
1748  *
1749  * This returns the @c data value passed on the
1750  * elm_genlist_item_append() and related item addition calls.
1751  *
1752  * @see elm_genlist_item_append()
1753  * @see elm_genlist_item_data_set()
1754  *
1755  * @deprecated Use elm_object_item_data_get() instead
1756  * @ingroup Genlist
1757  */
1758 EINA_DEPRECATED EAPI void                         *elm_genlist_item_data_get(const Elm_Object_Item *it);
1759
1760 /**
1761  * Set the data associated to a given genlist item
1762  *
1763  * @param it The genlist item
1764  * @param data The new data pointer to set on it
1765  *
1766  * This @b overrides the @c data value passed on the
1767  * elm_genlist_item_append() and related item addition calls. This
1768  * function @b won't call elm_genlist_item_update() automatically,
1769  * so you'd issue it afterwards if you want to hove the item
1770  * updated to reflect the that new data.
1771  *
1772  * @see elm_genlist_item_data_get()
1773  *
1774  * @deprecated Use elm_object_item_data_set() instead
1775  * @ingroup Genlist
1776  */
1777 EINA_DEPRECATED EAPI void                          elm_genlist_item_data_set(Elm_Object_Item *it, const void *data);
1778
1779 /**
1780  * Set whether a given genlist item is disabled or not.
1781  *
1782  * @param it The item
1783  * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
1784  * to enable it back.
1785  *
1786  * A disabled item cannot be selected or unselected. It will also
1787  * change its appearance, to signal the user it's disabled.
1788  *
1789  * @see elm_genlist_item_disabled_get()
1790  * @deprecated Use elm_object_item_disabled_set() instead
1791  *
1792  * @ingroup Genlist
1793  */
1794 EINA_DEPRECATED EAPI void                          elm_genlist_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
1795
1796 /**
1797  * Get whether a given genlist item is disabled or not.
1798  *
1799  * @param it The item
1800  * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
1801  * (and on errors).
1802  *
1803  * @see elm_genlist_item_disabled_set() for more details
1804  * @deprecated Use elm_object_item_disabled_get() instead
1805  *
1806  * @ingroup Genlist
1807  */
1808 EINA_DEPRECATED EAPI Eina_Bool                     elm_genlist_item_disabled_get(const Elm_Object_Item *it);
1809
1810 /**
1811  * Remove a genlist item from the its parent, deleting it.
1812  *
1813  * @param it The item to be removed.
1814  * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
1815  *
1816  * @see elm_genlist_clear(), to remove all items in a genlist at
1817  * once.
1818  *
1819  * @deprecated Use elm_object_item_del() instead
1820  * @ingroup Genlist
1821  */
1822 EINA_DEPRECATED EAPI void                          elm_genlist_item_del(Elm_Object_Item *it);
1823
1824 /**
1825  * Get the genlist object's handle which contains a given genlist
1826  * item
1827  *
1828  * @param it The item to fetch the container from
1829  * @return The genlist (parent) object
1830  *
1831  * This returns the genlist object itself that an item belongs to.
1832  * @deprecated Use elm_object_item_widget_get() instead
1833  *
1834  * @ingroup Genlist
1835  */
1836 EINA_DEPRECATED EAPI Evas_Object                  *elm_genlist_item_genlist_get(const Elm_Object_Item *it);
1837
1838
1839 #define ELM_IMAGE_ROTATE_90_CW 1
1840 #define ELM_IMAGE_ROTATE_180_CW 2
1841 #define ELM_IMAGE_ROTATE_90_CCW 3
1842
1843 /**
1844  * Return the data associated with a given index widget item
1845  *
1846  * @param it The index widget item handle
1847  * @return The data associated with @p it
1848  * @deprecated Use elm_object_item_data_get() instead
1849  *
1850  * @see elm_index_item_data_set()
1851  *
1852  * @ingroup Index
1853  */
1854 EINA_DEPRECATED EAPI void *elm_index_item_data_get(const Elm_Object_Item *item);
1855
1856 /**
1857  * Set the data associated with a given index widget item
1858  *
1859  * @param it The index widget item handle
1860  * @param data The new data pointer to set to @p it
1861  *
1862  * This sets new item data on @p it.
1863  *
1864  * @warning The old data pointer won't be touched by this function, so
1865  * the user had better to free that old data himself/herself.
1866  *
1867  * @deprecated Use elm_object_item_data_set() instead
1868  * @ingroup Index
1869  */
1870 EINA_DEPRECATED EAPI void  elm_index_item_data_set(Elm_Object_Item *it, const void *data);
1871
1872 /**
1873  * Set the function to be called when a given index widget item is freed.
1874  *
1875  * @param it The item to set the callback on
1876  * @param func The function to call on the item's deletion
1877  *
1878  * When called, @p func will have both @c data and @c event_info
1879  * arguments with the @p it item's data value and, naturally, the
1880  * @c obj argument with a handle to the parent index widget.
1881  *
1882  * @deprecated Use elm_object_item_del_cb_set() instead
1883  * @ingroup Index
1884  */
1885 EINA_DEPRECATED EAPI void                  elm_index_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
1886
1887 /**
1888  * Remove an item from a given index widget, <b>to be referenced by
1889  * it's data value</b>.
1890  *
1891  * @param obj The index object
1892  * @param item The item to be removed from @p obj
1893  *
1894  * If a deletion callback is set, via elm_object_item_del_cb_set(),
1895  * that callback function will be called by this one.
1896  *
1897  * @deprecated Use elm_object_item_del() instead
1898  * @ingroup Index
1899  */
1900 EINA_DEPRECATED EAPI void                  elm_index_item_del(Evas_Object *obj, Elm_Object_Item *item);
1901
1902 /**
1903 * @brief Set the label on the label object
1904  *
1905  * @param obj The label object
1906  * @param label The label will be used on the label object
1907  * @deprecated See elm_object_text_set()
1908  */
1909 EINA_DEPRECATED EAPI void        elm_label_label_set(Evas_Object *obj, const char *label);
1910
1911 /**
1912  * @brief Get the label used on the label object
1913  *
1914  * @param obj The label object
1915  * @return The string inside the label
1916  * @deprecated See elm_object_text_get()
1917  */
1918 EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj);
1919
1920
1921 /**
1922  * Set the layout content.
1923  *
1924  * @param obj The layout object
1925  * @param swallow The swallow part name in the edje file
1926  * @param content The child that will be added in this layout object
1927  *
1928  * Once the content object is set, a previously set one will be deleted.
1929  * If you want to keep that old content object, use the
1930  * elm_object_part_content_unset() function.
1931  *
1932  * @note In an Edje theme, the part used as a content container is called @c
1933  * SWALLOW. This is why the parameter name is called @p swallow, but it is
1934  * expected to be a part name just like the second parameter of
1935  * elm_layout_box_append().
1936  *
1937  * @see elm_layout_box_append()
1938  * @see elm_object_part_content_get()
1939  * @see elm_object_part_content_unset()
1940  * @see @ref secBox
1941  * @deprecated use elm_object_part_content_set() instead
1942  *
1943  * @ingroup Layout
1944  */
1945 EINA_DEPRECATED EAPI void         elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
1946
1947 /**
1948  * Get the child object in the given content part.
1949  *
1950  * @param obj The layout object
1951  * @param swallow The SWALLOW part to get its content
1952  *
1953  * @return The swallowed object or NULL if none or an error occurred
1954  *
1955  * @deprecated use elm_object_part_content_get() instead
1956  *
1957  * @ingroup Layout
1958  */
1959 EINA_DEPRECATED EAPI Evas_Object *elm_layout_content_get(const Evas_Object *obj, const char *swallow);
1960
1961 /**
1962  * Unset the layout content.
1963  *
1964  * @param obj The layout object
1965  * @param swallow The swallow part name in the edje file
1966  * @return The content that was being used
1967  *
1968  * Unparent and return the content object which was set for this part.
1969  *
1970  * @deprecated use elm_object_part_content_unset() instead
1971  *
1972  * @ingroup Layout
1973  */
1974 EINA_DEPRECATED EAPI Evas_Object *elm_layout_content_unset(Evas_Object *obj, const char *swallow);
1975
1976 /**
1977  * Set the text of the given part
1978  *
1979  * @param obj The layout object
1980  * @param part The TEXT part where to set the text
1981  * @param text The text to set
1982  *
1983  * @ingroup Layout
1984  * @deprecated use elm_object_part_text_set() instead.
1985  */
1986 EINA_DEPRECATED EAPI void         elm_layout_text_set(Evas_Object *obj, const char *part, const char *text);
1987
1988 /**
1989  * Get the text set in the given part
1990  *
1991  * @param obj The layout object
1992  * @param part The TEXT part to retrieve the text off
1993  *
1994  * @return The text set in @p part
1995  *
1996  * @ingroup Layout
1997  * @deprecated use elm_object_part_text_get() instead.
1998  */
1999 EINA_DEPRECATED EAPI const char  *elm_layout_text_get(const Evas_Object *obj, const char *part);
2000
2001 /**
2002  * @def elm_layout_label_set
2003  * Convienience macro to set the label in a layout that follows the
2004  * Elementary naming convention for its parts.
2005  *
2006  * @ingroup Layout
2007  * @deprecated use elm_object_text_set() instead.
2008  */
2009 #define elm_layout_label_set(_ly, _txt) \
2010   elm_layout_text_set((_ly), "elm.text", (_txt))
2011
2012 /**
2013  * @def elm_layout_label_get
2014  * Convenience macro to get the label in a layout that follows the
2015  * Elementary naming convention for its parts.
2016  *
2017  * @ingroup Layout
2018  * @deprecated use elm_object_text_set() instead.
2019  */
2020 #define elm_layout_label_get(_ly) \
2021   elm_layout_text_get((_ly), "elm.text")
2022
2023 EINA_DEPRECATED EAPI Evas_Object *elm_list_item_base_get(const Elm_Object_Item *it);
2024
2025
2026 /**
2027  * Set the content of the mapbuf.
2028  *
2029  * @param obj The mapbuf object.
2030  * @param content The content that will be filled in this mapbuf object.
2031  *
2032  * Once the content object is set, a previously set one will be deleted.
2033  * If you want to keep that old content object, use the
2034  * elm_mapbuf_content_unset() function.
2035  *
2036  * To enable map, elm_mapbuf_enabled_set() should be used.
2037  *
2038  * @deprecated use elm_object_content_set() instead
2039  *
2040  * @ingroup Mapbuf
2041  */
2042 EINA_DEPRECATED EAPI void         elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content);
2043
2044 /**
2045  * Get the content of the mapbuf.
2046  *
2047  * @param obj The mapbuf object.
2048  * @return The content that is being used.
2049  *
2050  * Return the content object which is set for this widget.
2051  *
2052  * @see elm_mapbuf_content_set() for details.
2053  *
2054  * @deprecated use elm_object_content_get() instead
2055  *
2056  * @ingroup Mapbuf
2057  */
2058 EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj);
2059
2060 /**
2061  * Unset the content of the mapbuf.
2062  *
2063  * @param obj The mapbuf 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_mapbuf_content_set() for details.
2069  *
2070  * @deprecated use elm_object_content_unset() instead
2071  *
2072  * @ingroup Mapbuf
2073  */
2074 EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj);
2075
2076 /**
2077  * @brief Set the label of a menu item
2078  *
2079  * @param it The menu item object.
2080  * @param label The label to set for @p item
2081  *
2082  * @warning Don't use this funcion on items created with
2083  * elm_menu_item_add_object() or elm_menu_item_separator_add().
2084  *
2085  * @deprecated Use elm_object_item_text_set() instead
2086  */
2087 EINA_DEPRECATED EAPI void         elm_menu_item_label_set(Elm_Object_Item *it, const char *label);
2088
2089 /**
2090  * @brief Get the label of a menu item
2091  *
2092  * @param it The menu item object.
2093  * @return The label of @p item
2094  * @deprecated Use elm_object_item_text_get() instead
2095  */
2096 EINA_DEPRECATED EAPI const char  *elm_menu_item_label_get(const Elm_Object_Item *it);
2097
2098 /**
2099  * @brief Set the content object of a menu item
2100  *
2101  * @param it The menu item object
2102  * @param The content object or NULL
2103  * @return EINA_TRUE on success, else EINA_FALSE
2104  *
2105  * Use this function to change the object swallowed by a menu item, deleting
2106  * any previously swallowed object.
2107  *
2108  * @deprecated Use elm_object_item_content_set() instead
2109  */
2110 EINA_DEPRECATED EAPI Eina_Bool    elm_menu_item_object_content_set(Elm_Object_Item *it, Evas_Object *obj);
2111
2112 /**
2113  * @brief Get the content object of a menu item
2114  *
2115  * @param it The menu item object
2116  * @return The content object or NULL
2117  * @note If @p item was added with elm_menu_item_add_object, this
2118  * function will return the object passed, else it will return the
2119  * icon object.
2120  *
2121  * @see elm_menu_item_object_content_set()
2122  *
2123  * @deprecated Use elm_object_item_content_get() instead
2124  */
2125 EINA_DEPRECATED EAPI Evas_Object *elm_menu_item_object_content_get(const Elm_Object_Item *it);
2126
2127 /**
2128  * @brief Set the disabled state of @p item.
2129  *
2130  * @param it The menu item object.
2131  * @param disabled The enabled/disabled state of the item
2132  * @deprecated Use elm_object_item_disabled_set() instead
2133  */
2134 EINA_DEPRECATED EAPI void         elm_menu_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
2135
2136 /**
2137  * @brief Get the disabled state of @p item.
2138  *
2139  * @param it The menu item object.
2140  * @return The enabled/disabled state of the item
2141  *
2142  * @see elm_menu_item_disabled_set()
2143  * @deprecated Use elm_object_item_disabled_get() instead
2144  */
2145 EINA_DEPRECATED EAPI Eina_Bool    elm_menu_item_disabled_get(const Elm_Object_Item *it);
2146
2147 /**
2148  * @brief Returns the data associated with menu item @p item.
2149  *
2150  * @param it The item
2151  * @return The data associated with @p item or NULL if none was set.
2152  *
2153  * This is the data set with elm_menu_add() or elm_menu_item_data_set().
2154  *
2155  * @deprecated Use elm_object_item_data_get() instead
2156  */
2157 EINA_DEPRECATED EAPI void        *elm_menu_item_data_get(const Elm_Object_Item *it);
2158
2159 /**
2160  * @brief Set the function called when a menu item is deleted.
2161  *
2162  * @param it The item to set the callback on
2163  * @param func The function called
2164  *
2165  * @see elm_menu_item_add()
2166  * @see elm_menu_item_del()
2167  * @deprecated Use elm_object_item_del_cb_set() instead
2168  */
2169 EINA_DEPRECATED EAPI void                         elm_menu_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
2170
2171 /**
2172  * @brief Sets the data to be associated with menu item @p item.
2173  *
2174  * @param it The item
2175  * @param data The data to be associated with @p item
2176  *
2177  * @deprecated Use elm_object_item_data_set() instead
2178  */
2179 EINA_DEPRECATED EAPI void         elm_menu_item_data_set(Elm_Object_Item *it, const void *data);
2180
2181 /**
2182  * @brief Deletes an item from the menu.
2183  *
2184  * @param it The item to delete.
2185  *
2186  * @deprecated Use elm_object_item_del() instead
2187  * @see elm_menu_item_add()
2188  */
2189 EINA_DEPRECATED EAPI void                         elm_menu_item_del(Elm_Object_Item *it);
2190
2191 /**
2192  * @brief Set the content of the notify widget
2193  *
2194  * @param obj The notify object
2195  * @param content The content will be filled in this notify object
2196  *
2197  * Once the content object is set, a previously set one will be deleted. If
2198  * you want to keep that old content object, use the
2199  * elm_notify_content_unset() function.
2200  *
2201  * @deprecated use elm_object_content_set() instead
2202  *
2203  */
2204 EINA_DEPRECATED EAPI void         elm_notify_content_set(Evas_Object *obj, Evas_Object *content);
2205
2206 /**
2207  * @brief Unset the content of the notify widget
2208  *
2209  * @param obj The notify object
2210  * @return The content that was being used
2211  *
2212  * Unparent and return the content object which was set for this widget
2213  *
2214  * @see elm_notify_content_set()
2215  * @deprecated use elm_object_content_unset() instead
2216  *
2217  */
2218 EINA_DEPRECATED EAPI Evas_Object *elm_notify_content_unset(Evas_Object *obj);
2219
2220 /**
2221  * @brief Return the content of the notify widget
2222  *
2223  * @param obj The notify object
2224  * @return The content that is being used
2225  *
2226  * @see elm_notify_content_set()
2227  * @deprecated use elm_object_content_get() instead
2228  *
2229  */
2230 EINA_DEPRECATED EAPI Evas_Object *elm_notify_content_get(const Evas_Object *obj);
2231
2232 /**
2233  * Set a label of an object
2234  *
2235  * @param obj The Elementary object
2236  * @param part The text part name to set (NULL for the default label)
2237  * @param label The new text of the label
2238  *
2239  * @note Elementary objects may have many labels (e.g. Action Slider)
2240  * @deprecated Use elm_object_part_text_set() instead.
2241  * @ingroup General
2242  */
2243 EINA_DEPRECATED EAPI void         elm_object_text_part_set(Evas_Object *obj, const char *part, const char *label);
2244
2245 /**
2246  * Get a label of an object
2247  *
2248  * @param obj The Elementary object
2249  * @param part The text part name to get (NULL for the default label)
2250  * @return text of the label or NULL for any error
2251  *
2252  * @note Elementary objects may have many labels (e.g. Action Slider)
2253  * @deprecated Use elm_object_part_text_get() instead.
2254  * @ingroup General
2255  */
2256 EINA_DEPRECATED EAPI const char  *elm_object_text_part_get(const Evas_Object *obj, const char *part);
2257
2258 /**
2259  * Set a content of an object
2260  *
2261  * @param obj The Elementary object
2262  * @param part The content part name to set (NULL for the default content)
2263  * @param content The new content of the object
2264  *
2265  * @note Elementary objects may have many contents
2266  * @deprecated Use elm_object_part_content_set instead.
2267  * @ingroup General
2268  */
2269 EINA_DEPRECATED EAPI void         elm_object_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
2270
2271 /**
2272  * Get a content of an object
2273  *
2274  * @param obj The Elementary object
2275  * @param part The content part name to get (NULL for the default content)
2276  * @return content of the object or NULL for any error
2277  *
2278  * @note Elementary objects may have many contents
2279  * @deprecated Use elm_object_part_content_get instead.
2280  * @ingroup General
2281  */
2282 EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_get(const Evas_Object *obj, const char *part);
2283
2284 /**
2285  * Unset a content of an object
2286  *
2287  * @param obj The Elementary object
2288  * @param part The content part name to unset (NULL for the default content)
2289  *
2290  * @note Elementary objects may have many contents
2291  * @deprecated Use elm_object_part_content_unset instead.
2292  * @ingroup General
2293  */
2294 EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_unset(Evas_Object *obj, const char *part);
2295
2296 /**
2297  * Set a content of an object item
2298  *
2299  * @param it The Elementary object item
2300  * @param part The content part name to set (NULL for the default content)
2301  * @param content The new content of the object item
2302  *
2303  * @note Elementary object items may have many contents
2304  * @deprecated Use elm_object_item_part_content_set instead.
2305  * @ingroup General
2306  */
2307 EINA_DEPRECATED EAPI void         elm_object_item_content_part_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
2308
2309 /**
2310  * Get a content of an object item
2311  *
2312  * @param it The Elementary object item
2313  * @param part The content part name to unset (NULL for the default content)
2314  * @return content of the object item or NULL for any error
2315  *
2316  * @note Elementary object items may have many contents
2317  * @deprecated Use elm_object_item_part_content_get instead.
2318  * @ingroup General
2319  */
2320 EINA_DEPRECATED EAPI Evas_Object                 *elm_object_item_content_part_get(const Elm_Object_Item *it, const char *part);
2321
2322 /**
2323  * Unset a content of an object item
2324  *
2325  * @param it The Elementary object item
2326  * @param part The content part name to unset (NULL for the default content)
2327  *
2328  * @note Elementary object items may have many contents
2329  * @deprecated Use elm_object_item_part_content_unset instead.
2330  * @ingroup General
2331  */
2332 EINA_DEPRECATED EAPI Evas_Object *elm_object_item_content_part_unset(Elm_Object_Item *it, const char *part);
2333
2334 /**
2335  * Get a label of an object item
2336  *
2337  * @param it The Elementary object item
2338  * @param part The text part name to get (NULL for the default label)
2339  * @return text of the label or NULL for any error
2340  *
2341  * @note Elementary object items may have many labels
2342  * @deprecated Use elm_object_item_part_text_get instead.
2343  * @ingroup General
2344  */
2345 EINA_DEPRECATED EAPI const char  *elm_object_item_text_part_get(const Elm_Object_Item *it, const char *part);
2346
2347 /**
2348  * Set a label of an object item
2349  *
2350  * @param it The Elementary object item
2351  * @param part The text part name to set (NULL for the default label)
2352  * @param label The new text of the label
2353  *
2354  * @note Elementary object items may have many labels
2355  * @deprecated Use elm_object_item_part_text_set instead.
2356  * @ingroup General
2357  */
2358 EINA_DEPRECATED EAPI void         elm_object_item_text_part_set(Elm_Object_Item *it, const char *part, const char *label);
2359
2360 /**
2361  * @brief Set the content of the panel.
2362  *
2363  * @param obj The panel object
2364  * @param content The panel content
2365  *
2366  * Once the content object is set, a previously set one will be deleted.
2367  * If you want to keep that old content object, use the
2368  * elm_panel_content_unset() function.
2369  *
2370  * @deprecated use elm_object_content_set() instead
2371  *
2372  */
2373 EINA_DEPRECATED EAPI void         elm_panel_content_set(Evas_Object *obj, Evas_Object *content);
2374
2375 /**
2376  * @brief Get the content of the panel.
2377  *
2378  * @param obj The panel object
2379  * @return The content that is being used
2380  *
2381  * Return the content object which is set for this widget.
2382  *
2383  * @see elm_panel_content_set()
2384  *
2385  * @deprecated use elm_object_content_get() instead
2386  *
2387  */
2388 EINA_DEPRECATED EAPI Evas_Object *elm_panel_content_get(const Evas_Object *obj);
2389
2390 /**
2391  * @brief Unset the content of the panel.
2392  *
2393  * @param obj The panel object
2394  * @return The content that was being used
2395  *
2396  * Unparent and return the content object which was set for this widget.
2397  *
2398  * @see elm_panel_content_set()
2399  *
2400  * @deprecated use elm_object_content_unset() instead
2401  *
2402  */
2403 EINA_DEPRECATED EAPI Evas_Object *elm_panel_content_unset(Evas_Object *obj);
2404
2405 /**
2406  * Set the left content of the panes widget.
2407  *
2408  * @param obj The panes object.
2409  * @param content The new left content object.
2410  *
2411  * Once the content object is set, a previously set one will be deleted.
2412  * If you want to keep that old content object, use the
2413  * elm_panes_content_left_unset() function.
2414  *
2415  * If panes is displayed vertically, left content will be displayed at
2416  * top.
2417  *
2418  * @see elm_panes_content_left_get()
2419  * @see elm_panes_content_right_set() to set content on the other side.
2420  *
2421  * @deprecated use elm_object_part_content_set() instead
2422  *
2423  * @ingroup Panes
2424  */
2425 EINA_DEPRECATED EAPI void         elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content);
2426
2427 /**
2428  * Set the right content of the panes widget.
2429  *
2430  * @param obj The panes object.
2431  * @param content The new right content object.
2432  *
2433  * Once the content object is set, a previously set one will be deleted.
2434  * If you want to keep that old content object, use the
2435  * elm_panes_content_right_unset() function.
2436  *
2437  * If panes is displayed vertically, left content will be displayed at
2438  * bottom.
2439  *
2440  * @see elm_panes_content_right_get()
2441  * @see elm_panes_content_left_set() to set content on the other side.
2442  *
2443  * @deprecated use elm_object_part_content_set() instead
2444  *
2445  * @ingroup Panes
2446  */
2447 EINA_DEPRECATED EAPI void         elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content);
2448
2449 /**
2450  * Get the left content of the panes.
2451  *
2452  * @param obj The panes object.
2453  * @return The left content object that is being used.
2454  *
2455  * Return the left content object which is set for this widget.
2456  *
2457  * @see elm_panes_content_left_set() for details.
2458  *
2459  * @deprecated use elm_object_part_content_get() instead
2460  *
2461  * @ingroup Panes
2462  */
2463 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_left_get(const Evas_Object *obj);
2464
2465 /**
2466  * Get the right content of the panes.
2467  *
2468  * @param obj The panes object
2469  * @return The right content object that is being used
2470  *
2471  * Return the right content object which is set for this widget.
2472  *
2473  * @see elm_panes_content_right_set() for details.
2474  *
2475  * @deprecated use elm_object_part_content_get() instead
2476  *
2477  * @ingroup Panes
2478  */
2479 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_right_get(const Evas_Object *obj);
2480
2481 /**
2482  * Unset the left content used for the panes.
2483  *
2484  * @param obj The panes object.
2485  * @return The left content object that was being used.
2486  *
2487  * Unparent and return the left content object which was set for this widget.
2488  *
2489  * @see elm_panes_content_left_set() for details.
2490  * @see elm_panes_content_left_get().
2491  *
2492  * @deprecated use elm_object_part_content_unset() instead
2493  *
2494  * @ingroup Panes
2495  */
2496 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_left_unset(Evas_Object *obj);
2497
2498 /**
2499  * Unset the right content used for the panes.
2500  *
2501  * @param obj The panes object.
2502  * @return The right content object that was being used.
2503  *
2504  * Unparent and return the right content object which was set for this
2505  * widget.
2506  *
2507  * @see elm_panes_content_right_set() for details.
2508  * @see elm_panes_content_right_get().
2509  *
2510  * @deprecated use elm_object_part_content_unset() instead
2511  *
2512  * @ingroup Panes
2513  */
2514 EINA_DEPRECATED EAPI Evas_Object *elm_panes_content_right_unset(Evas_Object *obj);
2515 /**
2516  * Set the label of a given progress bar widget
2517  *
2518  * @param obj The progress bar object
2519  * @param label The text label string, in UTF-8
2520  *
2521  * @ingroup Progressbar
2522  * @deprecated use elm_object_text_set() instead.
2523  */
2524 EINA_DEPRECATED EAPI void         elm_progressbar_label_set(Evas_Object *obj, const char *label);
2525
2526 /**
2527  * Get the label of a given progress bar widget
2528  *
2529  * @param obj The progressbar object
2530  * @return The text label string, in UTF-8
2531  *
2532  * @ingroup Progressbar
2533  * @deprecated use elm_object_text_set() instead.
2534  */
2535 EINA_DEPRECATED EAPI const char  *elm_progressbar_label_get(const Evas_Object *obj);
2536
2537 /**
2538  * Set the icon object of a given progress bar widget
2539  *
2540  * @param obj The progress bar object
2541  * @param icon The icon object
2542  *
2543  * Use this call to decorate @p obj with an icon next to it.
2544  *
2545  * @note Once the icon object is set, a previously set one will be
2546  * deleted. If you want to keep that old content object, use the
2547  * elm_progressbar_icon_unset() function.
2548  *
2549  * @see elm_progressbar_icon_get()
2550  * @deprecated use elm_object_part_content_set() instead.
2551  *
2552  * @ingroup Progressbar
2553  */
2554 EINA_DEPRECATED EAPI void         elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon);
2555
2556 /**
2557  * Retrieve the icon object set for a given progress bar widget
2558  *
2559  * @param obj The progress bar object
2560  * @return The icon object's handle, if @p obj had one set, or @c NULL,
2561  * otherwise (and on errors)
2562  *
2563  * @see elm_progressbar_icon_set() for more details
2564  * @deprecated use elm_object_part_content_get() instead.
2565  *
2566  * @ingroup Progressbar
2567  */
2568 EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj);
2569
2570 /**
2571  * Unset an icon set on a given progress bar widget
2572  *
2573  * @param obj The progress bar object
2574  * @return The icon object that was being used, if any was set, or
2575  * @c NULL, otherwise (and on errors)
2576  *
2577  * This call will unparent and return the icon object which was set
2578  * for this widget, previously, on success.
2579  *
2580  * @see elm_progressbar_icon_set() for more details
2581  * @deprecated use elm_object_part_content_unset() instead.
2582  *
2583  * @ingroup Progressbar
2584  */
2585 EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj);
2586
2587 /**
2588  * @brief Set the text label of the radio object
2589  *
2590  * @param obj The radio object
2591  * @param label The text label string in UTF-8
2592  *
2593  * @deprecated use elm_object_text_set() instead.
2594  */
2595 EINA_DEPRECATED EAPI void         elm_radio_label_set(Evas_Object *obj, const char *label);
2596
2597 /**
2598  * @brief Get the text label of the radio object
2599  *
2600  * @param obj The radio object
2601  * @return The text label string in UTF-8
2602  *
2603  * @deprecated use elm_object_text_set() instead.
2604  */
2605 EINA_DEPRECATED EAPI const char  *elm_radio_label_get(const Evas_Object *obj);
2606
2607 /**
2608  * @brief Set the icon object of the radio object
2609  *
2610  * @param obj The radio object
2611  * @param icon The icon object
2612  *
2613  * Once the icon object is set, a previously set one will be deleted. If you
2614  * want to keep that old content object, use the elm_radio_icon_unset()
2615  * function.
2616  *
2617  * @deprecated use elm_object_part_content_set() instead.
2618  *
2619  */
2620 EINA_DEPRECATED EAPI void         elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon);
2621
2622 /**
2623  * @brief Get the icon object of the radio object
2624  *
2625  * @param obj The radio object
2626  * @return The icon object
2627  *
2628  * @see elm_radio_icon_set()
2629  *
2630  * @deprecated use elm_object_part_content_get() instead.
2631  *
2632  */
2633 EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj);
2634
2635 /**
2636  * @brief Unset the icon used for the radio object
2637  *
2638  * @param obj The radio object
2639  * @return The icon object that was being used
2640  *
2641  * Unparent and return the icon object which was set for this widget.
2642  *
2643  * @see elm_radio_icon_set()
2644  * @deprecated use elm_object_part_content_unset() instead.
2645  *
2646  */
2647 EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj);
2648
2649 /**
2650  * @brief Set the content of the scroller widget (the object to be scrolled around).
2651  *
2652  * @param obj The scroller object
2653  * @param content The new content object
2654  *
2655  * Once the content object is set, a previously set one will be deleted.
2656  * If you want to keep that old content object, use the
2657  * elm_scroller_content_unset() function.
2658  * @deprecated use elm_object_content_set() instead
2659  */
2660 EINA_DEPRECATED EAPI void         elm_scroller_content_set(Evas_Object *obj, Evas_Object *child);
2661
2662 /**
2663  * @brief Get the content of the scroller widget
2664  *
2665  * @param obj The slider object
2666  * @return The content that is being used
2667  *
2668  * Return the content object which is set for this widget
2669  *
2670  * @see elm_scroller_content_set()
2671  * @deprecated use elm_object_content_get() instead.
2672  */
2673 EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj);
2674
2675 /**
2676  * @brief Unset the content of the scroller widget
2677  *
2678  * @param obj The slider object
2679  * @return The content that was being used
2680  *
2681  * Unparent and return the content object which was set for this widget
2682  *
2683  * @see elm_scroller_content_set()
2684  * @deprecated use elm_object_content_unset() instead.
2685  */
2686 EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj);
2687
2688 /**
2689  * Set the label of a given slider widget
2690  *
2691  * @param obj The progress bar object
2692  * @param label The text label string, in UTF-8
2693  *
2694  * @ingroup Slider
2695  * @deprecated use elm_object_text_set() instead.
2696  */
2697 EINA_DEPRECATED EAPI void         elm_slider_label_set(Evas_Object *obj, const char *label);
2698
2699 /**
2700  * Get the label of a given slider widget
2701  *
2702  * @param obj The progressbar object
2703  * @return The text label string, in UTF-8
2704  *
2705  * @ingroup Slider
2706  * @deprecated use elm_object_text_get() instead.
2707  */
2708 EINA_DEPRECATED EAPI const char  *elm_slider_label_get(const Evas_Object *obj);
2709
2710 /**
2711  * Set the icon object of the slider object.
2712  *
2713  * @param obj The slider object.
2714  * @param icon The icon object.
2715  *
2716  * On horizontal mode, icon is placed at left, and on vertical mode,
2717  * placed at top.
2718  *
2719  * @note Once the icon object is set, a previously set one will be deleted.
2720  * If you want to keep that old content object, use the
2721  * elm_slider_icon_unset() function.
2722  *
2723  * @warning If the object being set does not have minimum size hints set,
2724  * it won't get properly displayed.
2725  *
2726  * @ingroup Slider
2727  * @deprecated use elm_object_part_content_set() instead.
2728  */
2729 EINA_DEPRECATED EAPI void         elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon);
2730
2731 /**
2732  * Unset an icon set on a given slider widget.
2733  *
2734  * @param obj The slider object.
2735  * @return The icon object that was being used, if any was set, or
2736  * @c NULL, otherwise (and on errors).
2737  *
2738  * On horizontal mode, icon is placed at left, and on vertical mode,
2739  * placed at top.
2740  *
2741  * This call will unparent and return the icon object which was set
2742  * for this widget, previously, on success.
2743  *
2744  * @see elm_slider_icon_set() for more details
2745  * @see elm_slider_icon_get()
2746  * @deprecated use elm_object_part_content_unset() instead.
2747  *
2748  * @ingroup Slider
2749  */
2750 EINA_DEPRECATED EAPI Evas_Object *elm_slider_icon_unset(Evas_Object *obj);
2751
2752 /**
2753  * Retrieve the icon object set for a given slider widget.
2754  *
2755  * @param obj The slider object.
2756  * @return The icon object's handle, if @p obj had one set, or @c NULL,
2757  * otherwise (and on errors).
2758  *
2759  * On horizontal mode, icon is placed at left, and on vertical mode,
2760  * placed at top.
2761  *
2762  * @see elm_slider_icon_set() for more details
2763  * @see elm_slider_icon_unset()
2764  *
2765  * @deprecated use elm_object_part_content_get() instead.
2766  *
2767  * @ingroup Slider
2768  */
2769 EINA_DEPRECATED EAPI Evas_Object *elm_slider_icon_get(const Evas_Object *obj);
2770
2771 /**
2772  * Set the end object of the slider object.
2773  *
2774  * @param obj The slider object.
2775  * @param end The end object.
2776  *
2777  * On horizontal mode, end is placed at left, and on vertical mode,
2778  * placed at bottom.
2779  *
2780  * @note Once the icon object is set, a previously set one will be deleted.
2781  * If you want to keep that old content object, use the
2782  * elm_slider_end_unset() function.
2783  *
2784  * @warning If the object being set does not have minimum size hints set,
2785  * it won't get properly displayed.
2786  *
2787  * @deprecated use elm_object_part_content_set() instead.
2788  *
2789  * @ingroup Slider
2790  */
2791 EINA_DEPRECATED EAPI void         elm_slider_end_set(Evas_Object *obj, Evas_Object *end);
2792
2793 /**
2794  * Unset an end object set on a given slider widget.
2795  *
2796  * @param obj The slider object.
2797  * @return The end object that was being used, if any was set, or
2798  * @c NULL, otherwise (and on errors).
2799  *
2800  * On horizontal mode, end is placed at left, and on vertical mode,
2801  * placed at bottom.
2802  *
2803  * This call will unparent and return the icon object which was set
2804  * for this widget, previously, on success.
2805  *
2806  * @see elm_slider_end_set() for more details.
2807  * @see elm_slider_end_get()
2808  *
2809  * @deprecated use elm_object_part_content_unset() instead
2810  * instead.
2811  *
2812  * @ingroup Slider
2813  */
2814 EINA_DEPRECATED EAPI Evas_Object *elm_slider_end_unset(Evas_Object *obj);
2815
2816 /**
2817  * Retrieve the end object set for a given slider widget.
2818  *
2819  * @param obj The slider object.
2820  * @return The end object's handle, if @p obj had one set, or @c NULL,
2821  * otherwise (and on errors).
2822  *
2823  * On horizontal mode, icon is placed at right, and on vertical mode,
2824  * placed at bottom.
2825  *
2826  * @see elm_slider_end_set() for more details.
2827  * @see elm_slider_end_unset()
2828  *
2829  *
2830  * @deprecated use elm_object_part_content_get() instead
2831  * instead.
2832  *
2833  * @ingroup Slider
2834  */
2835 EINA_DEPRECATED EAPI Evas_Object *elm_slider_end_get(const Evas_Object *obj);
2836
2837 /**
2838  * Return the data associated with a given slideshow item
2839  *
2840  * @param it The slideshow item
2841  * @return Returns the data associated to this item
2842  *
2843  * @deprecated use elm_object_item_data_get() instead
2844  * @ingroup Slideshow
2845  */
2846 EINA_DEPRECATED EAPI void *elm_slideshow_item_data_get(const Elm_Object_Item *it);
2847
2848 /**
2849  * Delete a given item from a slideshow widget.
2850  *
2851  * @param it The slideshow item
2852  *
2853  * @deprecated Use elm_object_item_de() instead
2854  * @ingroup Slideshow
2855  */
2856 EINA_DEPRECATED EAPI void                  elm_slideshow_item_del(Elm_Object_Item *it);
2857
2858 /**
2859  * Get the toolbar object from an item.
2860  *
2861  * @param it The item.
2862  * @return The toolbar object.
2863  *
2864  * This returns the toolbar object itself that an item belongs to.
2865  *
2866  * @deprecated use elm_object_item_object_get() instead.
2867  * @ingroup Toolbar
2868  */
2869 EINA_DEPRECATED EAPI Evas_Object *elm_toolbar_item_toolbar_get(const Elm_Object_Item *it);
2870
2871 /**
2872  * Get the label of item.
2873  *
2874  * @param it The item of toolbar.
2875  * @return The label of item.
2876  *
2877  * The return value is a pointer to the label associated to @p item when
2878  * it was created, with function elm_toolbar_item_append() or similar,
2879  * or later,
2880  * with function elm_toolbar_item_label_set. If no label
2881  * was passed as argument, it will return @c NULL.
2882  *
2883  * @see elm_toolbar_item_label_set() for more details.
2884  * @see elm_toolbar_item_append()
2885  *
2886  * @deprecated use elm_object_item_text_get() instead.
2887  * @ingroup Toolbar
2888  */
2889 EINA_DEPRECATED EAPI const char  *elm_toolbar_item_label_get(const Elm_Object_Item *it);
2890
2891 /**
2892  * Set the label of item.
2893  *
2894  * @param it The item of toolbar.
2895  * @param text The label of item.
2896  *
2897  * The label to be displayed by the item.
2898  * Label will be placed at icons bottom (if set).
2899  *
2900  * If a label was passed as argument on item creation, with function
2901  * elm_toolbar_item_append() or similar, it will be already
2902  * displayed by the item.
2903  *
2904  * @see elm_toolbar_item_label_get()
2905  * @see elm_toolbar_item_append()
2906  *
2907  * @deprecated use elm_object_item_text_set() instead
2908  * @ingroup Toolbar
2909  */
2910 EINA_DEPRECATED EAPI void         elm_toolbar_item_label_set(Elm_Object_Item *it, const char *label);
2911
2912 /**
2913  * Return the data associated with a given toolbar widget item.
2914  *
2915  * @param it The toolbar widget item handle.
2916  * @return The data associated with @p item.
2917  *
2918  * @see elm_toolbar_item_data_set()
2919  *
2920  * @deprecated use elm_object_item_data_get() instead.
2921  * @ingroup Toolbar
2922  */
2923 EINA_DEPRECATED EAPI void        *elm_toolbar_item_data_get(const Elm_Object_Item *it);
2924
2925 /**
2926  * Set the data associated with a given toolbar widget item.
2927  *
2928  * @param it The toolbar widget item handle
2929  * @param data The new data pointer to set to @p item.
2930  *
2931  * This sets new item data on @p item.
2932  *
2933  * @warning The old data pointer won't be touched by this function, so
2934  * the user had better to free that old data himself/herself.
2935  *
2936  * @deprecated use elm_object_item_data_set() instead.
2937  * @ingroup Toolbar
2938  */
2939 EINA_DEPRECATED EAPI void         elm_toolbar_item_data_set(Elm_Object_Item *it, const void *data);
2940
2941 /**
2942  * Get a value whether toolbar item is disabled or not.
2943  *
2944  * @param it The item.
2945  * @return The disabled state.
2946  *
2947  * @see elm_toolbar_item_disabled_set() for more details.
2948  *
2949  * @deprecated use elm_object_item_disabled_get() instead.
2950  * @ingroup Toolbar
2951  */
2952 EINA_DEPRECATED EAPI Eina_Bool    elm_toolbar_item_disabled_get(const Elm_Object_Item *it);
2953
2954 /**
2955  * Sets the disabled/enabled state of a toolbar item.
2956  *
2957  * @param it The item.
2958  * @param disabled The disabled state.
2959  *
2960  * A disabled item cannot be selected or unselected. It will also
2961  * change its appearance (generally greyed out). This sets the
2962  * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
2963  * enabled).
2964  *
2965  * @deprecated use elm_object_item_disabled_set() instead.
2966  * @ingroup Toolbar
2967  */
2968 EINA_DEPRECATED EAPI void         elm_toolbar_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
2969
2970 /**
2971  * Change a toolbar's orientation
2972  * @param obj The toolbar object
2973  * @param vertical If @c EINA_TRUE, the toolbar is vertical
2974  * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
2975  * @ingroup Toolbar
2976  * @deprecated use elm_toolbar_horizontal_set() instead.
2977  */
2978 EINA_DEPRECATED EAPI void         elm_toolbar_orientation_set(Evas_Object *obj, Eina_Bool vertical);
2979
2980 /**
2981  * Get a toolbar's orientation
2982  * @param obj The toolbar object
2983  * @return If @c EINA_TRUE, the toolbar is vertical
2984  * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
2985  * @ingroup Toolbar
2986  * @deprecated use elm_toolbar_horizontal_get() instead.
2987  */
2988 EINA_DEPRECATED EAPI Eina_Bool    elm_toolbar_orientation_get(const Evas_Object *obj);
2989
2990 /**
2991  * Set the function called when a toolbar item is freed.
2992  *
2993  * @param it The item to set the callback on.
2994  * @param func The function called.
2995  *
2996  * If there is a @p func, then it will be called prior item's memory release.
2997  * That will be called with the following arguments:
2998  * @li item's data;
2999  * @li item's Evas object;
3000  * @li item itself;
3001  *
3002  * This way, a data associated to a toolbar item could be properly freed.
3003  *
3004  * @deprecated Use elm_object_item_del_cb_set() instead 
3005  * @ingroup Toolbar
3006  */
3007 EINA_DEPRECATED EAPI void                         elm_toolbar_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
3008
3009 /**
3010  * Delete them item from the toolbar.
3011  *
3012  * @param it The item of toolbar to be deleted.
3013  *
3014  * @deprecated Use elm_object_item_del() instead
3015  * @see elm_toolbar_item_append()
3016  *
3017  * @ingroup Toolbar
3018  */
3019 EINA_DEPRECATED EAPI void                         elm_toolbar_item_del(Elm_Object_Item *it);
3020
3021 /**
3022  * Set the text to be shown in a given toolbar item's tooltips.
3023  *
3024  * @param it toolbar item.
3025  * @param text The text to set in the content.
3026  *
3027  * Setup the text as tooltip to object. The item can have only one tooltip,
3028  * so any previous tooltip data - set with this function or
3029  * elm_toolbar_item_tooltip_content_cb_set() - is removed.
3030  *
3031  * @deprecated Use elm_object_item_tooltip_text_set() instead
3032  * @see elm_object_tooltip_text_set() for more details.
3033  *
3034  * @ingroup Toolbar
3035  */
3036 EINA_DEPRECATED EAPI void                         elm_toolbar_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
3037
3038 /**
3039  * Set the content to be shown in the tooltip item.
3040  *
3041  * Setup the tooltip to item. The item can have only one tooltip,
3042  * so any previous tooltip data is removed. @p func(with @p data) will
3043  * be called every time that need show the tooltip and it should
3044  * return a valid Evas_Object. This object is then managed fully by
3045  * tooltip system and is deleted when the tooltip is gone.
3046  *
3047  * @param it the toolbar item being attached a tooltip.
3048  * @param func the function used to create the tooltip contents.
3049  * @param data what to provide to @a func as callback data/context.
3050  * @param del_cb called when data is not needed anymore, either when
3051  *        another callback replaces @a func, the tooltip is unset with
3052  *        elm_toolbar_item_tooltip_unset() or the owner @a item
3053  *        dies. This callback receives as the first parameter the
3054  *        given @a data, and @c event_info is the item.
3055  *
3056  * @deprecated Use elm_object_item_tooltip_content_cb_set() instead
3057  * @see elm_object_tooltip_content_cb_set() for more details.
3058  *
3059  * @ingroup Toolbar
3060  */
3061 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);
3062
3063 /**
3064  * Unset tooltip from item.
3065  *
3066  * @param it toolbar item to remove previously set tooltip.
3067  *
3068  * Remove tooltip from item. The callback provided as del_cb to
3069  * elm_toolbar_item_tooltip_content_cb_set() will be called to notify
3070  * it is not used anymore.
3071  *
3072  * @deprecated Use elm_object_item_tooltip_unset() instead
3073  * @see elm_object_tooltip_unset() for more details.
3074  * @see elm_toolbar_item_tooltip_content_cb_set()
3075  *
3076  * @ingroup Toolbar
3077  */
3078 EINA_DEPRECATED EAPI void                         elm_toolbar_item_tooltip_unset(Elm_Object_Item *it);
3079
3080 /**
3081  * Sets a different style for this item tooltip.
3082  *
3083  * @note before you set a style you should define a tooltip with
3084  *       elm_toolbar_item_tooltip_content_cb_set() or
3085  *       elm_toolbar_item_tooltip_text_set()
3086  *
3087  * @param it toolbar item with tooltip already set.
3088  * @param style the theme style to use (default, transparent, ...)
3089  *
3090  * @deprecated Use elm_object_item_tooltip_style_set() instead
3091  * @see elm_object_tooltip_style_set() for more details.
3092  *
3093  * @ingroup Toolbar
3094  */
3095 EINA_DEPRECATED EAPI void                         elm_toolbar_item_tooltip_style_set(Elm_Object_Item *it, const char *style);
3096
3097 /**
3098  * Get the style for this item tooltip.
3099  *
3100  * @param it toolbar item with tooltip already set.
3101  * @return style the theme style in use, defaults to "default". If the
3102  *         object does not have a tooltip set, then NULL is returned.
3103  *
3104  * @deprecated Use elm_object_item_style_get() instead
3105  * @see elm_object_tooltip_style_get() for more details.
3106  * @see elm_toolbar_item_tooltip_style_set()
3107  *
3108  * @ingroup Toolbar
3109  */
3110 EINA_DEPRECATED EAPI const char                  *elm_toolbar_item_tooltip_style_get(const Elm_Object_Item *it);
3111
3112 /**
3113  * Set the type of mouse pointer/cursor decoration to be shown,
3114  * when the mouse pointer is over the given toolbar widget item
3115  *
3116  * @param it toolbar item to customize cursor on
3117  * @param cursor the cursor type's name
3118  *
3119  * This function works analogously as elm_object_cursor_set(), but
3120  * here the cursor's changing area is restricted to the item's
3121  * area, and not the whole widget's. Note that that item cursors
3122  * have precedence over widget cursors, so that a mouse over an
3123  * item with custom cursor set will always show @b that cursor.
3124  *
3125  * If this function is called twice for an object, a previously set
3126  * cursor will be unset on the second call.
3127  *
3128  * @see elm_object_cursor_set()
3129  * @see elm_toolbar_item_cursor_get()
3130  * @see elm_toolbar_item_cursor_unset()
3131  *
3132  * @deprecated use elm_object_item_cursor_set() instead
3133  *
3134  * @ingroup Toolbar
3135  */
3136 EINA_DEPRECATED EAPI void                         elm_toolbar_item_cursor_set(Elm_Object_Item *it, const char *cursor);
3137
3138 /*
3139  * Get the type of mouse pointer/cursor decoration set to be shown,
3140  * when the mouse pointer is over the given toolbar widget item
3141  *
3142  * @param it toolbar item with custom cursor set
3143  * @return the cursor type's name or @c NULL, if no custom cursors
3144  * were set to @p item (and on errors)
3145  *
3146  * @see elm_object_cursor_get()
3147  * @see elm_toolbar_item_cursor_set()
3148  * @see elm_toolbar_item_cursor_unset()
3149  *
3150  * @deprecated Use elm_object_item_cursor_get() instead
3151  *
3152  * @ingroup Toolbar
3153  */
3154 EINA_DEPRECATED EAPI const char                  *elm_toolbar_item_cursor_get(const Elm_Object_Item *it);
3155
3156 /**
3157  * Unset any custom mouse pointer/cursor decoration set to be
3158  * shown, when the mouse pointer is over the given toolbar widget
3159  * item, thus making it show the @b default cursor again.
3160  *
3161  * @param it a toolbar item
3162  *
3163  * Use this call to undo any custom settings on this item's cursor
3164  * decoration, bringing it back to defaults (no custom style set).
3165  *
3166  * @see elm_object_cursor_unset()
3167  * @see elm_toolbar_item_cursor_set()
3168  *
3169  * @deprecated Use elm_object_item_cursor_unset() instead
3170  *
3171  * @ingroup Toolbar
3172  */
3173 EINA_DEPRECATED EAPI void                         elm_toolbar_item_cursor_unset(Elm_Object_Item *it);
3174
3175 /**
3176  * Set a different @b style for a given custom cursor set for a
3177  * toolbar item.
3178  *
3179  * @param it toolbar item with custom cursor set
3180  * @param style the <b>theme style</b> to use (e.g. @c "default",
3181  * @c "transparent", etc)
3182  *
3183  * This function only makes sense when one is using custom mouse
3184  * cursor decorations <b>defined in a theme file</b>, which can have,
3185  * given a cursor name/type, <b>alternate styles</b> on it. It
3186  * works analogously as elm_object_cursor_style_set(), but here
3187  * applyed only to toolbar item objects.
3188  *
3189  * @warning Before you set a cursor style you should have definen a
3190  *       custom cursor previously on the item, with
3191  *       elm_toolbar_item_cursor_set()
3192  *
3193  * @see elm_toolbar_item_cursor_engine_only_set()
3194  * @see elm_toolbar_item_cursor_style_get()
3195  *
3196  * @deprecated Use elm_object_item_cursor_style_set() instead
3197  *
3198  * @ingroup Toolbar
3199  */
3200 EINA_DEPRECATED EAPI void                         elm_toolbar_item_cursor_style_set(Elm_Object_Item *it, const char *style);
3201
3202 /**
3203  * Get the current @b style set for a given toolbar item's custom
3204  * cursor
3205  *
3206  * @param it toolbar item with custom cursor set.
3207  * @return style the cursor style in use. If the object does not
3208  *         have a cursor set, then @c NULL is returned.
3209  *
3210  * @see elm_toolbar_item_cursor_style_set() for more details
3211  *
3212  * @deprecated Use elm_object_item_cursor_style_get() instead
3213  *
3214  * @ingroup Toolbar
3215  */
3216 EINA_DEPRECATED EAPI const char                  *elm_toolbar_item_cursor_style_get(const Elm_Object_Item *it);
3217
3218 /**
3219  * Set if the (custom)cursor for a given toolbar item should be
3220  * searched in its theme, also, or should only rely on the
3221  * rendering engine.
3222  *
3223  * @param it item with custom (custom) cursor already set on
3224  * @param engine_only Use @c EINA_TRUE to have cursors looked for
3225  * only on those provided by the rendering engine, @c EINA_FALSE to
3226  * have them searched on the widget's theme, as well.
3227  *
3228  * @note This call is of use only if you've set a custom cursor
3229  * for toolbar items, with elm_toolbar_item_cursor_set().
3230  *
3231  * @note By default, cursors will only be looked for between those
3232  * provided by the rendering engine.
3233  *
3234  * @deprecated Use elm_object_item_cursor_engine_only_set() instead
3235  *
3236  * @ingroup Toolbar
3237  */
3238 EINA_DEPRECATED EAPI void                         elm_toolbar_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only);
3239
3240 /**
3241  * Get if the (custom) cursor for a given toolbar item is being
3242  * searched in its theme, also, or is only relying on the rendering
3243  * engine.
3244  *
3245  * @param it a toolbar item
3246  * @return @c EINA_TRUE, if cursors are being looked for only on
3247  * those provided by the rendering engine, @c EINA_FALSE if they
3248  * are being searched on the widget's theme, as well.
3249  *
3250  * @see elm_toolbar_item_cursor_engine_only_set(), for more details
3251  *
3252  * @deprecated Use elm_object_item_cursor_engine_only_get() instead
3253  *
3254  * @ingroup Toolbar
3255  */
3256 EINA_DEPRECATED EAPI Eina_Bool                    elm_toolbar_item_cursor_engine_only_get(const Elm_Object_Item *it);
3257
3258 /**
3259  * @brief Link a Elm_Payer with an Elm_Video object.
3260  *
3261  * @param player the Elm_Player object.
3262  * @param video The Elm_Video object.
3263  *
3264  * This mean that action on the player widget will affect the
3265  * video object and the state of the video will be reflected in
3266  * the player itself.
3267  *
3268  * @see elm_player_add()
3269  * @see elm_video_add()
3270  * @deprecated use elm_object_part_content_set() instead
3271  *
3272  * @ingroup Video
3273  */
3274 EINA_DEPRECATED EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);
3275
3276 /**
3277  * Set the label of item.
3278  *
3279  * @param it The item of segment control.
3280  * @param text The label of item.
3281  *
3282  * The label to be displayed by the item.
3283  * Label will be at right of the icon (if set).
3284  *
3285  * If a label was passed as argument on item creation, with function
3286  * elm_control_segment_item_add(), it will be already
3287  * displayed by the item.
3288  *
3289  * @see elm_segment_control_item_label_get()
3290  * @see elm_segment_control_item_add()
3291  * @deprecated Use elm_object_item_text_set() instead
3292  *
3293  * @ingroup SegmentControl
3294  */
3295 EINA_DEPRECATED EAPI void              elm_segment_control_item_label_set(Elm_Object_Item *it, const char *label);
3296
3297
3298 /**
3299  * Set the icon associated to the item.
3300  *
3301  * @param it The segment control item.
3302  * @param icon The icon object to associate with @p it.
3303  *
3304  * The icon object to use at left side of the item. An
3305  * icon can be any Evas object, but usually it is an icon created
3306  * with elm_icon_add().
3307  *
3308  * Once the icon object is set, a previously set one will be deleted.
3309  * @warning Setting the same icon for two items will cause the icon to
3310  * dissapear from the first item.
3311  *
3312  * If an icon was passed as argument on item creation, with function
3313  * elm_segment_control_item_add(), it will be already
3314  * associated to the item.
3315  *
3316  * @see elm_segment_control_item_add()
3317  * @see elm_segment_control_item_icon_get()
3318  * @deprecated Use elm_object_item_part_content_set() instead
3319  *
3320  * @ingroup SegmentControl
3321  */
3322 EINA_DEPRECATED EAPI void              elm_segment_control_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
3323
3324 /**
3325  * Remove a segment control item from its parent, deleting it.
3326  *
3327  * @param it The item to be removed.
3328  *
3329  * Items can be added with elm_segment_control_item_add() or
3330  * elm_segment_control_item_insert_at().
3331  *
3332  * @deprecated Use elm_object_item_del() instead
3333  * @ingroup SegmentControl
3334  */
3335 EINA_DEPRECATED EAPI void              elm_segment_control_item_del(Elm_Object_Item *it);
3336
3337 /**
3338  * Get the label
3339  *
3340  * @param obj The multibuttonentry object
3341  * @return The label, or NULL if none
3342  *
3343  * @deprecated Use elm_object_text_get() instead 
3344  *
3345  */
3346 EINA_DEPRECATED EAPI const char                *elm_multibuttonentry_label_get(const Evas_Object *obj);
3347
3348 /**
3349  * Set the label
3350  *
3351  * @param obj The multibuttonentry object
3352  * @param label The text label string
3353  *
3354  * @deprecated Use elm_object_text_set() instead
3355  *
3356  */
3357 EINA_DEPRECATED EAPI void                       elm_multibuttonentry_label_set(Evas_Object *obj, const char *label);
3358
3359 /**
3360  * Get the label of a given item
3361  *
3362  * @param it The item
3363  * @return The label of a given item, or NULL if none
3364  *
3365  * @deprecated Use elm_object_item_text_get() instead
3366  *
3367  */
3368 EINA_DEPRECATED EAPI const char                *elm_multibuttonentry_item_label_get(const Elm_Object_Item *it);
3369
3370 /**
3371  * Set the label of a given item
3372  *
3373  * @param it The item
3374  * @param str The text label string
3375  *
3376  * @deprecated Use elm_object_item_text_set() instead
3377  */
3378 EINA_DEPRECATED EAPI void                       elm_multibuttonentry_item_label_set(Elm_Object_Item *it, const char *str);
3379
3380 /**
3381  * Delete a given item
3382  *
3383  * @param it The item
3384  * 
3385  * @deprecated Use elm_object_item_del() instead 
3386  *
3387  */
3388 EINA_DEPRECATED EAPI void                       elm_multibuttonentry_item_del(Elm_Object_Item *it);
3389
3390 /**
3391  * @brief Delete the given item instantly.
3392  *
3393  * @param it The naviframe item
3394  *
3395  * This just deletes the given item from the naviframe item list instantly.
3396  * So this would not emit any signals for view transitions but just change
3397  * the current view if the given item is a top one.
3398  *
3399  * @deprecated Use elm_object_item_del() instead
3400  * @ingroup Naviframe
3401  */
3402 EINA_DEPRECATED EAPI void             elm_naviframe_item_del(Elm_Object_Item *it);
3403
3404
3405
3406 /**
3407  * Sets the disabled/enabled state of a list item.
3408  *
3409  * @param it The item.
3410  * @param disabled The disabled state.
3411  *
3412  * A disabled item cannot be selected or unselected. It will also
3413  * change its appearance (generally greyed out). This sets the
3414  * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
3415  * enabled).
3416  *
3417  * @deprecated Use elm_object_item_disabled_set() instead
3418  * 
3419  * @ingroup List
3420  */
3421 EINA_DEPRECATED EAPI void                         elm_list_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
3422
3423 /**
3424  * Get a value whether list item is disabled or not.
3425  *
3426  * @param it The item.
3427  * @return The disabled state.
3428  *
3429  * @see elm_list_item_disabled_set() for more details.
3430  *
3431  * @deprecated Use elm_object_item_disabled_get() instead
3432  * 
3433  * @ingroup List
3434  */
3435 EINA_DEPRECATED EAPI Eina_Bool                    elm_list_item_disabled_get(const Elm_Object_Item *it);
3436
3437 /**
3438  * Set the function called when a list item is freed.
3439  *
3440  * @param it The item to set the callback on
3441  * @param func The function called
3442  *
3443  * If there is a @p func, then it will be called prior item's memory release.
3444  * That will be called with the following arguments:
3445  * @li item's data;
3446  * @li item's Evas object;
3447  * @li item itself;
3448  *
3449  * This way, a data associated to a list item could be properly freed.
3450  * 
3451  * @deprecated Please use elm_object_item_del_cb_set() instead.
3452  *
3453  * @ingroup List
3454  */
3455 EINA_DEPRECATED EAPI void                         elm_list_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func);
3456
3457 /**
3458  * Get the data associated to the item.
3459  *
3460  * @param it The list item
3461  * @return The data associated to @p item
3462  *
3463  * The return value is a pointer to data associated to @p item when it was
3464  * created, with function elm_list_item_append() or similar. If no data
3465  * was passed as argument, it will return @c NULL.
3466  *
3467  * @see elm_list_item_append()
3468  *
3469  * @deprecated Please use elm_object_item_data_get() instead.
3470  * 
3471  * @ingroup List
3472  */
3473 EINA_DEPRECATED EAPI void                        *elm_list_item_data_get(const Elm_Object_Item *it);
3474
3475 /**
3476  * Get the left side icon associated to the item.
3477  *
3478  * @param it The list item
3479  * @return The left side icon associated to @p item
3480  *
3481  * The return value is a pointer to the icon associated to @p item when
3482  * it was
3483  * created, with function elm_list_item_append() or similar, or later
3484  * with function elm_list_item_icon_set(). If no icon
3485  * was passed as argument, it will return @c NULL.
3486  *
3487  * @see elm_list_item_append()
3488  * @see elm_list_item_icon_set()
3489  *
3490  * @deprecated Please use elm_object_item_part_content_get(item, NULL);
3491  * @ingroup List
3492  */
3493 EINA_DEPRECATED EAPI Evas_Object                 *elm_list_item_icon_get(const Elm_Object_Item *it);
3494
3495 /**
3496  * Set the left side icon associated to the item.
3497  *
3498  * @param it The list item
3499  * @param icon The left side icon object to associate with @p item
3500  *
3501  * The icon object to use at left side of the item. An
3502  * icon can be any Evas object, but usually it is an icon created
3503  * with elm_icon_add().
3504  *
3505  * Once the icon object is set, a previously set one will be deleted.
3506  * @warning Setting the same icon for two items will cause the icon to
3507  * dissapear from the first item.
3508  *
3509  * If an icon was passed as argument on item creation, with function
3510  * elm_list_item_append() or similar, it will be already
3511  * associated to the item.
3512  *
3513  * @see elm_list_item_append()
3514  * @see elm_list_item_icon_get()
3515  *
3516  * @deprecated Please use elm_object_item_part_content_set(item, NULL, icon);
3517  * @ingroup List
3518  */
3519 EINA_DEPRECATED EAPI void                         elm_list_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
3520
3521 /**
3522  * Get the right side icon associated to the item.
3523  *
3524  * @param it The list item
3525  * @return The right side icon associated to @p item
3526  *
3527  * The return value is a pointer to the icon associated to @p item when
3528  * it was
3529  * created, with function elm_list_item_append() or similar, or later
3530  * with function elm_list_item_icon_set(). If no icon
3531  * was passed as argument, it will return @c NULL.
3532  *
3533  * @see elm_list_item_append()
3534  * @see elm_list_item_icon_set()
3535  *
3536  * @deprecated Please use elm_object_item_part_content_get(item, "end");
3537  * @ingroup List
3538  */
3539 EINA_DEPRECATED EAPI Evas_Object                 *elm_list_item_end_get(const Elm_Object_Item *it);
3540
3541 /**
3542  * Set the right side icon associated to the item.
3543  *
3544  * @param it The list item
3545  * @param end The right side icon object to associate with @p item
3546  *
3547  * The icon object to use at right side of the item. An
3548  * icon can be any Evas object, but usually it is an icon created
3549  * with elm_icon_add().
3550  *
3551  * Once the icon object is set, a previously set one will be deleted.
3552  * @warning Setting the same icon for two items will cause the icon to
3553  * dissapear from the first item.
3554  *
3555  * If an icon was passed as argument on item creation, with function
3556  * elm_list_item_append() or similar, it will be already
3557  * associated to the item.
3558  *
3559  * @see elm_list_item_append()
3560  * @see elm_list_item_end_get()
3561  *
3562  * @deprecated Please use elm_object_item_part_content_set(item, "end", end);
3563  * @ingroup List
3564  */
3565 EINA_DEPRECATED EAPI void                         elm_list_item_end_set(Elm_Object_Item *it, Evas_Object *end);
3566
3567 /**
3568  * Get the label of item.
3569  *
3570  * @param it The item of list.
3571  * @return The label of item.
3572  *
3573  * The return value is a pointer to the label associated to @p item when
3574  * it was created, with function elm_list_item_append(), or later
3575  * with function elm_list_item_label_set. If no label
3576  * was passed as argument, it will return @c NULL.
3577  *
3578  * @see elm_list_item_label_set() for more details.
3579  * @see elm_list_item_append()
3580  *
3581  * @deprecated Please use elm_object_item_text_get(item);
3582  * @ingroup List
3583  */
3584 EINA_DEPRECATED EAPI const char                  *elm_list_item_label_get(const Elm_Object_Item *it);
3585
3586 /**
3587  * Set the label of item.
3588  *
3589  * @param it The item of list.
3590  * @param text The label of item.
3591  *
3592  * The label to be displayed by the item.
3593  * Label will be placed between left and right side icons (if set).
3594  *
3595  * If a label was passed as argument on item creation, with function
3596  * elm_list_item_append() or similar, it will be already
3597  * displayed by the item.
3598  *
3599  * @see elm_list_item_label_get()
3600  * @see elm_list_item_append()
3601  *
3602  * @deprecated Please use elm_object_item_text_set(item, text);
3603  * @ingroup List
3604  */
3605 EINA_DEPRECATED EAPI void                         elm_list_item_label_set(Elm_Object_Item *it, const char *text);
3606
3607 /**
3608  * Set the text to be shown in a given list item's tooltips.
3609  *
3610  * @param it Target item.
3611  * @param text The text to set in the content.
3612  *
3613  * Setup the text as tooltip to object. The item can have only one tooltip,
3614  * so any previous tooltip data - set with this function or
3615  * elm_list_item_tooltip_content_cb_set() - is removed.
3616  *
3617  * @deprecated Use elm_object_item_tooltip_text_set() instead
3618  * @see elm_object_tooltip_text_set() for more details.
3619  *
3620  * @ingroup List
3621  */
3622 EINA_DEPRECATED EAPI void                         elm_list_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
3623
3624 /**
3625  * @brief Disable size restrictions on an object's tooltip
3626  * @param it The tooltip's anchor object
3627  * @param disable If EINA_TRUE, size restrictions are disabled
3628  * @return EINA_FALSE on failure, EINA_TRUE on success
3629  *
3630  * This function allows a tooltip to expand beyond its parant window's canvas.
3631  * It will instead be limited only by the size of the display.
3632  *
3633  * @deprecated Use elm_object_item_tooltip_window_mode_set() instead
3634  *
3635  */
3636 EINA_DEPRECATED EAPI Eina_Bool                    elm_list_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable);
3637
3638 /**
3639  * @brief Retrieve size restriction state of an object's tooltip
3640  * @param obj The tooltip's anchor object
3641  * @return If EINA_TRUE, size restrictions are disabled
3642  *
3643  * This function returns whether a tooltip is allowed to expand beyond
3644  * its parant window's canvas.
3645  * It will instead be limited only by the size of the display.
3646  *
3647  * @deprecated Use elm_object_item_tooltip_window_mode_get() instead
3648  *
3649  */
3650 EINA_DEPRECATED EAPI Eina_Bool                    elm_list_item_tooltip_window_mode_get(const Elm_Object_Item *it);
3651
3652 /**
3653  * Set the content to be shown in the tooltip item.
3654  *
3655  * Setup the tooltip to item. The item can have only one tooltip,
3656  * so any previous tooltip data is removed. @p func(with @p data) will
3657  * be called every time that need show the tooltip and it should
3658  * return a valid Evas_Object. This object is then managed fully by
3659  * tooltip system and is deleted when the tooltip is gone.
3660  *
3661  * @param it the list item being attached a tooltip.
3662  * @param func the function used to create the tooltip contents.
3663  * @param data what to provide to @a func as callback data/context.
3664  * @param del_cb called when data is not needed anymore, either when
3665  *        another callback replaces @a func, the tooltip is unset with
3666  *        elm_list_item_tooltip_unset() or the owner @a item
3667  *        dies. This callback receives as the first parameter the
3668  *        given @a data, and @c event_info is the item.
3669  *
3670  * @deprecated Use elm_object_item_tooltip_content_cb_set() instead
3671  *
3672  * @see elm_object_tooltip_content_cb_set() for more details.
3673  *
3674  * @ingroup List
3675  */
3676 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);
3677
3678 /**
3679  * Unset tooltip from item.
3680  *
3681  * @param it list item to remove previously set tooltip.
3682  *
3683  * Remove tooltip from item. The callback provided as del_cb to
3684  * elm_list_item_tooltip_content_cb_set() will be called to notify
3685  * it is not used anymore.
3686  *
3687  * @deprecated Use elm_object_item_tooltip_unset() instead
3688  * @see elm_object_tooltip_unset() for more details.
3689  * @see elm_list_item_tooltip_content_cb_set()
3690  *
3691  * @ingroup List
3692  */
3693 EINA_DEPRECATED EAPI void                         elm_list_item_tooltip_unset(Elm_Object_Item *it);
3694
3695 /**
3696  * Sets a different style for this item tooltip.
3697  *
3698  * @note before you set a style you should define a tooltip with
3699  *       elm_list_item_tooltip_content_cb_set() or
3700  *       elm_list_item_tooltip_text_set()
3701  *
3702  * @param it list item with tooltip already set.
3703  * @param style the theme style to use (default, transparent, ...)
3704  *
3705  *
3706  * @deprecated Use elm_object_item_tooltip_style_set() instead
3707  * @see elm_object_tooltip_style_set() for more details.
3708  *
3709  * @ingroup List
3710  */
3711 EINA_DEPRECATED EAPI void                         elm_list_item_tooltip_style_set(Elm_Object_Item *it, const char *style);
3712
3713 /**
3714  * Get the style for this item tooltip.
3715  *
3716  * @param item list item with tooltip already set.
3717  * @return style the theme style in use, defaults to "default". If the
3718  *         object does not have a tooltip set, then NULL is returned.
3719  *
3720  * @deprecated Use elm_object_item_tooltip_style_get() instead
3721  *
3722  * @see elm_object_tooltip_style_get() for more details.
3723  * @see elm_list_item_tooltip_style_set()
3724  *
3725  * @ingroup List
3726  */
3727 EINA_DEPRECATED EAPI const char                  *elm_list_item_tooltip_style_get(const Elm_Object_Item *it);
3728
3729 /**
3730  * Set the type of mouse pointer/cursor decoration to be shown,
3731  * when the mouse pointer is over the given list widget item
3732  *
3733  * @param it list item to customize cursor on
3734  * @param cursor the cursor type's name
3735  *
3736  * This function works analogously as elm_object_cursor_set(), but
3737  * here the cursor's changing area is restricted to the item's
3738  * area, and not the whole widget's. Note that that item cursors
3739  * have precedence over widget cursors, so that a mouse over an
3740  * item with custom cursor set will always show @b that cursor.
3741  *
3742  * If this function is called twice for an object, a previously set
3743  * cursor will be unset on the second call.
3744  *
3745  * @see elm_object_cursor_set()
3746  * @see elm_list_item_cursor_get()
3747  * @see elm_list_item_cursor_unset()
3748  *
3749  * @deprecated Please use elm_object_item_cursor_set() instead
3750  * @ingroup List
3751  */
3752 EINA_DEPRECATED EAPI void                         elm_list_item_cursor_set(Elm_Object_Item *it, const char *cursor);
3753
3754 /*
3755  * Get the type of mouse pointer/cursor decoration set to be shown,
3756  * when the mouse pointer is over the given list widget item
3757  *
3758  * @param it list item with custom cursor set
3759  * @return the cursor type's name or @c NULL, if no custom cursors
3760  * were set to @p item (and on errors)
3761  *
3762  * @see elm_object_cursor_get()
3763  * @see elm_list_item_cursor_set()
3764  * @see elm_list_item_cursor_unset()
3765  *
3766  * @deprecated Please use elm_object_item_cursor_get() insteas
3767  * @ingroup List
3768  */
3769 EINA_DEPRECATED EAPI const char                  *elm_list_item_cursor_get(const Elm_Object_Item *it);
3770
3771 /**
3772  * Unset any custom mouse pointer/cursor decoration set to be
3773  * shown, when the mouse pointer is over the given list widget
3774  * item, thus making it show the @b default cursor again.
3775  *
3776  * @param it a list item
3777  *
3778  * Use this call to undo any custom settings on this item's cursor
3779  * decoration, bringing it back to defaults (no custom style set).
3780  *
3781  * @see elm_object_cursor_unset()
3782  * @see elm_list_item_cursor_set()
3783  *
3784  * @deprecated Please use elm_list_item_cursor_unset() instead
3785  * @ingroup List
3786  */
3787 EINA_DEPRECATED EAPI void                         elm_list_item_cursor_unset(Elm_Object_Item *it);
3788
3789 /**
3790  * Set a different @b style for a given custom cursor set for a
3791  * list item.
3792  *
3793  * @param it list item with custom cursor set
3794  * @param style the <b>theme style</b> to use (e.g. @c "default",
3795  * @c "transparent", etc)
3796  *
3797  * This function only makes sense when one is using custom mouse
3798  * cursor decorations <b>defined in a theme file</b>, which can have,
3799  * given a cursor name/type, <b>alternate styles</b> on it. It
3800  * works analogously as elm_object_cursor_style_set(), but here
3801  * applyed only to list item objects.
3802  *
3803  * @warning Before you set a cursor style you should have definen a
3804  *       custom cursor previously on the item, with
3805  *       elm_list_item_cursor_set()
3806  *
3807  * @see elm_list_item_cursor_engine_only_set()
3808  * @see elm_list_item_cursor_style_get()
3809  *
3810  * @deprecated Please use elm_list_item_cursor_style_set() instead
3811  * @ingroup List
3812  */
3813 EINA_DEPRECATED EAPI void                         elm_list_item_cursor_style_set(Elm_Object_Item *it, const char *style);
3814
3815 /**
3816  * Get the current @b style set for a given list item's custom
3817  * cursor
3818  *
3819  * @param it list item with custom cursor set.
3820  * @return style the cursor style in use. If the object does not
3821  *         have a cursor set, then @c NULL is returned.
3822  *
3823  * @see elm_list_item_cursor_style_set() for more details
3824  *
3825  * @deprecated Please use elm_list_item_cursor_style_get() instead
3826  * @ingroup List
3827  */
3828 EINA_DEPRECATED EAPI const char                  *elm_list_item_cursor_style_get(const Elm_Object_Item *it);
3829
3830 /**
3831  * Set if the (custom)cursor for a given list item should be
3832  * searched in its theme, also, or should only rely on the
3833  * rendering engine.
3834  *
3835  * @param it item with custom (custom) cursor already set on
3836  * @param engine_only Use @c EINA_TRUE to have cursors looked for
3837  * only on those provided by the rendering engine, @c EINA_FALSE to
3838  * have them searched on the widget's theme, as well.
3839  *
3840  * @note This call is of use only if you've set a custom cursor
3841  * for list items, with elm_list_item_cursor_set().
3842  *
3843  * @note By default, cursors will only be looked for between those
3844  * provided by the rendering engine.
3845  *
3846  * @deprecated Please use elm_list_item_cursor_engine_only_set() instead
3847  * @ingroup List
3848  */
3849 EINA_DEPRECATED EAPI void                         elm_list_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only);
3850
3851 /**
3852  * Get if the (custom) cursor for a given list item is being
3853  * searched in its theme, also, or is only relying on the rendering
3854  * engine.
3855  *
3856  * @param it a list item
3857  * @return @c EINA_TRUE, if cursors are being looked for only on
3858  * those provided by the rendering engine, @c EINA_FALSE if they
3859  * are being searched on the widget's theme, as well.
3860  *
3861  * @see elm_list_item_cursor_engine_only_set(), for more details
3862  *
3863  * @deprecated Please use elm_list_item_cursor_engine_only_get() instead
3864  * @ingroup List
3865  */
3866 EINA_DEPRECATED EAPI Eina_Bool                    elm_list_item_cursor_engine_only_get(const Elm_Object_Item *it);
3867
3868 /**
3869  * Set the shrink state of toolbar @p obj.
3870  *
3871  * @param obj The toolbar object.
3872  * @param shrink_mode Toolbar's items display behavior.
3873  *
3874  * The toolbar won't scroll if #ELM_TOOLBAR_SHRINK_NONE,
3875  * but will enforce a minimun size so all the items will fit, won't scroll
3876  * and won't show the items that don't fit if #ELM_TOOLBAR_SHRINK_HIDE,
3877  * will scroll if #ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to
3878  * pop up excess elements with #ELM_TOOLBAR_SHRINK_MENU.
3879  *
3880  * @deprecated Please use elm_toolbar_shrink_mode_set(obj, shrink_mode);
3881  * @ingroup Toolbar
3882  */
3883 EINA_DEPRECATED EAPI void                         elm_toolbar_mode_shrink_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode);
3884
3885 /**
3886  * Get the shrink mode of toolbar @p obj.
3887  *
3888  * @param obj The toolbar object.
3889  * @return Toolbar's items display behavior.
3890  *
3891  * @see elm_toolbar_shrink_mode_set() for details.
3892  *
3893  * @deprecated Please use elm_toolbar_shrink_mode_get(obj);
3894  * @ingroup Toolbar
3895  */
3896 EINA_DEPRECATED EAPI Elm_Toolbar_Shrink_Mode      elm_toolbar_mode_shrink_get(const Evas_Object *obj);
3897
3898 /**
3899  * This sets a widget to be displayed to the left of a scrolled entry.
3900  *
3901  * @param obj The scrolled entry object
3902  * @param icon The widget to display on the left side of the scrolled
3903  * entry.
3904  *
3905  * @note A previously set widget will be destroyed.
3906  * @note If the object being set does not have minimum size hints set,
3907  * it won't get properly displayed.
3908  *
3909  * @deprecated Use elm_object_part_content_set(entry, "icon", content) instead
3910  * @see elm_entry_end_set()
3911  */
3912 EINA_DEPRECATED EAPI void               elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
3913
3914 /**
3915  * Gets the leftmost widget of the scrolled entry. This object is
3916  * owned by the scrolled entry and should not be modified.
3917  *
3918  * @param obj The scrolled entry object
3919  * @return the left widget inside the scroller
3920  *
3921  * @deprecated Use elm_object_part_content_get(entry, "icon") instead
3922  */
3923 EINA_DEPRECATED EAPI Evas_Object       *elm_entry_icon_get(const Evas_Object *obj);
3924
3925 /**
3926  * Unset the leftmost widget of the scrolled entry, unparenting and
3927  * returning it.
3928  *
3929  * @param obj The scrolled entry object
3930  * @return the previously set icon sub-object of this entry, on
3931  * success.
3932  *
3933  * @deprecated Use elm_object_part_content_unset(entry, "icon") instead
3934  * @see elm_entry_icon_set()
3935  */
3936 EINA_DEPRECATED EAPI Evas_Object       *elm_entry_icon_unset(Evas_Object *obj);
3937
3938 /**
3939  * This sets a widget to be displayed to the end of a scrolled entry.
3940  *
3941  * @param obj The scrolled entry object
3942  * @param end The widget to display on the right side of the scrolled
3943  * entry.
3944  *
3945  * @note A previously set widget will be destroyed.
3946  * @note If the object being set does not have minimum size hints set,
3947  * it won't get properly displayed.
3948  *
3949  * @deprecated Use elm_object_part_content_set(entry, "end", content) instead
3950  * @see elm_entry_icon_set
3951  */
3952 EINA_DEPRECATED EAPI void               elm_entry_end_set(Evas_Object *obj, Evas_Object *end);
3953
3954 /**
3955  * Gets the endmost widget of the scrolled entry. This object is owned
3956  * by the scrolled entry and should not be modified.
3957  *
3958  * @param obj The scrolled entry object
3959  * @return the right widget inside the scroller
3960  *
3961  * @deprecated Use elm_object_part_content_get(entry, "end") instead
3962  */
3963 EAPI Evas_Object       *elm_entry_end_get(const Evas_Object *obj);
3964
3965 /**
3966  * Unset the endmost widget of the scrolled entry, unparenting and
3967  * returning it.
3968  *
3969  * @param obj The scrolled entry object
3970  * @return the previously set icon sub-object of this entry, on
3971  * success.
3972  *
3973  * @deprecated Use elm_object_part_content_unset(entry, "end") instead
3974  * @see elm_entry_icon_set()
3975  */
3976 EINA_DEPRECATED EAPI Evas_Object       *elm_entry_end_unset(Evas_Object *obj);
3977
3978 /**
3979  * Set the autocapitalization on the immodule.
3980  *
3981  * @param obj The entry object
3982  * @param autocap EINA_TRUE if autocapitalization is needed
3983  * @deprecated Use elm_entry_autocapital_type_set() instead
3984  */
3985 EINA_DEPRECATED EAPI void   elm_entry_autocapitalization_set(Evas_Object *obj, Eina_Bool autocap);
3986
3987 EINA_DEPRECATED EAPI void   elm_entry_autoperiod_set(Evas_Object *obj, Eina_Bool autoperiod);
3988
3989 /**
3990  * Set whether the return key on the input panel is disabled automatically when entry has no text.
3991  *
3992  * If @p on is EINA_TRUE, The return key on input panel is disabled when the entry has no text.
3993  * The return Key on the input panel is automatically enabled when the entry has text.
3994  * The default value is EINA_FALSE.
3995  *
3996  * @param obj The entry object
3997  * @param on If @p on is EINA_TRUE, the return key is automatically disabled when the entry has no text.
3998  * @deprecated Use elm_entry_input_panel_return_key_autoenabled_set() instead
3999  */
4000 EINA_DEPRECATED EAPI void   elm_entry_autoenable_returnkey_set(Evas_Object *obj, Eina_Bool on);
4001
4002 /**
4003  * Convert a pixel coordinate into a rotated pixel coordinate.
4004  *
4005  * @param obj The map object.
4006  * @param x horizontal coordinate of the point to rotate.
4007  * @param y vertical coordinate of the point to rotate.
4008  * @param cx rotation's center horizontal position.
4009  * @param cy rotation's center vertical position.
4010  * @param degree amount of degrees from 0.0 to 360.0 to rotate arount Z axis.
4011  * @param xx Pointer where to store rotated x.
4012  * @param yy Pointer where to store rotated y.
4013  *
4014  * @ingroup Map
4015  * @deprecated Rotation is not needed to know. Use elm_map_canvas_to_geo_convert() instead
4016  */
4017 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);
4018
4019 // All elm_editfield APIs were deprecated.
4020 EINA_DEPRECATED Evas_Object *elm_editfield_add(Evas_Object *parent);
4021 EINA_DEPRECATED void         elm_editfield_label_set(Evas_Object *obj, const char *label);
4022 EINA_DEPRECATED const char  *elm_editfield_label_get(Evas_Object *obj);
4023 EINA_DEPRECATED void         elm_editfield_guide_text_set(Evas_Object *obj, const char *text);
4024 EINA_DEPRECATED const char  *elm_editfield_guide_text_get(Evas_Object *obj);
4025 EINA_DEPRECATED Evas_Object *elm_editfield_entry_get(Evas_Object *obj);
4026 EINA_DEPRECATED void         elm_editfield_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
4027 EINA_DEPRECATED Eina_Bool    elm_editfield_entry_single_line_get(Evas_Object *obj);
4028 EINA_DEPRECATED void         elm_editfield_eraser_set(Evas_Object *obj, Eina_Bool visible);
4029 EINA_DEPRECATED Eina_Bool    elm_editfield_eraser_get(Evas_Object *obj);
4030
4031 /**
4032     * @defgroup Searchbar Searchbar
4033     * @addtogroup Searchbar
4034     * @{
4035     * @ingroup Elementary
4036     *
4037     * This is Searchbar.
4038     * It can contain a simple entry and button object.
4039     */
4040
4041    /**
4042     * Add a new searchbar to the parent
4043     * @param parent The parent object
4044     * @return The new object or NULL if it cannot be created
4045     */
4046    EINA_DEPRECATED Evas_Object *elm_searchbar_add(Evas_Object *parent);
4047    /**
4048     * set the text of entry
4049     *
4050     * @param obj The searchbar object
4051     * @return void
4052     */
4053    EINA_DEPRECATED void         elm_searchbar_text_set(Evas_Object *obj, const char *entry);
4054    /**
4055     * get the text of entry
4056     *
4057     * @param obj The searchbar object
4058     * @return string pointer of entry
4059     */
4060    EINA_DEPRECATED const char  *elm_searchbar_text_get(Evas_Object *obj);
4061    /**
4062     * get the pointer of entry
4063     *
4064     * @param obj The searchbar object
4065     * @return the entry object
4066     */
4067    EINA_DEPRECATED Evas_Object *elm_searchbar_entry_get(Evas_Object *obj);
4068    /**
4069     * get the pointer of editfield
4070     *
4071     * @param obj The searchbar object
4072     * @return the editfield object
4073     */
4074    EINA_DEPRECATED Evas_Object *elm_searchbar_editfield_get(Evas_Object *obj);
4075    /**
4076     * set the cancel button animation flag
4077     *
4078     * @param obj The searchbar object
4079     * @param cancel_btn_ani_flag The flag of animating cancen button or not
4080     * @return void
4081     */
4082    EINA_DEPRECATED void         elm_searchbar_cancel_button_animation_set(Evas_Object *obj, Eina_Bool cancel_btn_ani_flag);
4083    /**
4084     * set the cancel button show mode
4085     *
4086     * @param obj The searchbar object
4087     * @param visible The flag of cancen button show or not
4088     * @return void
4089     */
4090    EINA_DEPRECATED void         elm_searchbar_cancel_button_set(Evas_Object *obj, Eina_Bool visible);
4091    /**
4092     * clear searchbar status
4093     *
4094     * @param obj The searchbar object
4095     * @return void
4096     */
4097    EINA_DEPRECATED void         elm_searchbar_clear(Evas_Object *obj);
4098    /**
4099     * set the searchbar boundary rect mode(with bg rect) set
4100     *
4101     * @param obj The searchbar object
4102     * @param boundary The present flag of boundary rect or not
4103     * @return void
4104     */
4105    EINA_DEPRECATED void         elm_searchbar_boundary_rect_set(Evas_Object *obj, Eina_Bool boundary);
4106    /**
4107     * @}
4108     */