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