2 * @defgroup TickerNoti TickerNoti
5 * This is a notification widget which can be used to display some short information.
7 * Signals that you can add callback for are:
8 * @li "clicked" - tickernoti object has been clicked, except at the
9 * swallow/button region
10 * @li "hide" - tickernoti is completely hidden. In case of
11 * any hide animation, this signal is emitted after the animation.
13 * Default contents parts of a tickernoti object that you can use for are:
14 * @li "icon" - The icon in tickernoti object
15 * @li "button" - The button in tickernoti object
17 * Default text parts of the tickernoti object that you can use for are:
18 * @li "default" - textual content in the tickernoti object
20 * Supported elm_object common APIs.
21 * @li elm_object_text_set
22 * @li elm_object_part_text_set
23 * @li elm_object_part_content_set
28 * @addtogroup Tickernoti
33 ELM_TICKERNOTI_ORIENT_TOP = 0,
34 ELM_TICKERNOTI_ORIENT_BOTTOM,
35 ELM_TICKERNOTI_ORIENT_LAST
36 } Elm_Tickernoti_Orient;
39 * Add a tickernoti object to @p parent
41 * @param parent The parent object
43 * @return The tickernoti object, or NULL upon failure
45 EAPI Evas_Object *elm_tickernoti_add (Evas_Object *parent);
47 * Set the orientation of the tickernoti object
49 * @param obj The tickernoti object
50 * @param orient The orientation of tickernoti object
52 EAPI void elm_tickernoti_orient_set (Evas_Object *obj, Elm_Tickernoti_Orient orient) EINA_ARG_NONNULL(1);
54 * Get the orientation of the tickernoti object
56 * @param obj The tickernotil object
57 * @return The orientation of tickernotil object
59 EAPI Elm_Tickernoti_Orient elm_tickernoti_orient_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
61 * Get the rotation of tickernoti object
63 * @param obj The tickernotil object
64 * @return The rotation angle
66 EAPI int elm_tickernoti_rotation_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
68 * Set the rotation angle for the tickernoti object
70 * @param obj The tickernoti object
71 * @param angle The rotation angle(in degree) will be used on the tickernoti object
73 EAPI void elm_tickernoti_rotation_set (Evas_Object *obj, int angle) EINA_ARG_NONNULL(1);
75 * Get the view window(elm_win) on the tickernoti object
77 * @param obj The tickernotil object
78 * @return internal view window(elm_win) object
80 EAPI Evas_Object *elm_tickernoti_win_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
81 /* #### Below APIs and data structures are going to be deprecated, announcment will be made soon ####*/
87 ELM_TICKERNOTI_DEFAULT,
88 ELM_TICKERNOTI_DETAILVIEW
89 } Elm_Tickernoti_Mode;
91 * Set the detail label on the tickernoti object
93 * @param obj The tickernoti object
94 * @param label The label will be used on the tickernoti object
95 * @deprecated use elm_object_text_set() instead
97 EINA_DEPRECATED EAPI void elm_tickernoti_detailview_label_set (Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
99 * Get the detail label used on the tickernoti object
101 * @param obj The tickernotil object
102 * @return The string inside the label
103 * @deprecated use elm_object_text_get() instead
105 EINA_DEPRECATED EAPI const char *elm_tickernoti_detailview_label_get (const Evas_Object *obj)EINA_ARG_NONNULL(1);
107 * Set the button object used on the tickernoti object
109 * @param obj The tickernotil object
110 * @param button The button object will be used on the tickernoti object
111 * @deprecated use elm_object_part_content_set() instead with "button" as part name
113 EINA_DEPRECATED EAPI void elm_tickernoti_detailview_button_set (Evas_Object *obj, Evas_Object *button) EINA_ARG_NONNULL(2);
115 * Get the button object used on the tickernoti object
117 * @param obj The tickernotil object
118 * @return The button object inside the tickernoti
119 * @deprecated use elm_object_part_content_get() instead with "button" as part name
121 EINA_DEPRECATED EAPI Evas_Object *elm_tickernoti_detailview_button_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
123 * Set the detail icon object used on the tickernoti object
125 * @param obj The tickernotil object
126 * @param icon The icon object will be used on the tickernoti object
127 * @deprecated use elm_object_part_content_set() instead with "icon" as part name
129 EINA_DEPRECATED EAPI void elm_tickernoti_detailview_icon_set (Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
131 * Get the detail icon object used on the tickernoti object
133 * @param obj The tickernotil object
134 * @return The icon object inside the tickernoti
135 * @deprecated use elm_object_part_content_get() instead with "icon" as part name
137 EINA_DEPRECATED EAPI Evas_Object *elm_tickernoti_detailview_icon_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
139 * Get the view mode on the tickernoti object
141 * @param obj The tickernotil object
142 * @return The internal window used
143 * @deprecated use elm_tickernoti_win_get instead when internal window object is needed
145 EINA_DEPRECATED EAPI Evas_Object *elm_tickernoti_detailview_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
147 * Set the view mode used on the tickernoti object
149 * @param obj The tickernotil object
150 * @param mode The view mode will be used on the tickernoti object
151 * @deprecated removed as now styles are used. Use elm_object_style_set instead.
153 EINA_DEPRECATED EAPI void elm_tickernoti_mode_set (Evas_Object *obj, Elm_Tickernoti_Mode mode) EINA_ARG_NONNULL(1);
155 * Get the current mode of the tickernoti object
157 * @param obj The tickernotil object
158 * @return the mode of the object. Can be ELM_TICKERNOTI_DEFAULT/ELM_TICKERNOTI_DETAILVIEW
160 EINA_DEPRECATED EAPI Elm_Tickernoti_Mode elm_tickernoti_mode_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
162 * Set the orientation of the tickernoti object
164 * @param obj The tickernoti object
165 * @param orient The orientation of tickernoti object
166 * @deprecated use elm_tickernoti_orient_set() instead
168 EINA_DEPRECATED EAPI void elm_tickernoti_orientation_set (Evas_Object *obj, Elm_Tickernoti_Orient orient) EINA_ARG_NONNULL(1);
170 * Get the orientation of the tickernoti object
172 * @param obj The tickernotil object
173 * @return The orientation of tickernotil object
174 * @deprecated use elm_tickernoti_orient_get() instead
176 EINA_DEPRECATED EAPI Elm_Tickernoti_Orient elm_tickernoti_orientation_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
178 * Set the label on the tickernoti object
180 * @param obj The tickernoti object
181 * @param label The label will be used on the tickernoti object
182 * @deprecated use elm_object_text_set()
184 EINA_DEPRECATED EAPI void elm_tickernoti_label_set (Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
186 * Get the label used on the tickernoti object
188 * @param obj The tickernotil object
189 * @return The string inside the label
190 * @deprecated use elm_object_text_get() instead
192 EINA_DEPRECATED EAPI const char *elm_tickernoti_label_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
194 * Set the icon object of the tickernoti object
196 * @param obj The tickernotil object
197 * @param icon The icon object will be used on the tickernoti object
198 * @deprecated use elm_object_part_content_set() instead with "icon" as part name
200 EINA_DEPRECATED EAPI void elm_tickernoti_icon_set (Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
202 * Get the icon object of the tickernoti object
204 * @param obj The tickernotil object
205 * @return The icon object inside the tickernoti
206 * @deprecated use elm_object_part_content_get() instead with "icon" as part name
208 EINA_DEPRECATED EAPI Evas_Object *elm_tickernoti_icon_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
210 * Set the action button object used on the tickernoti object
212 * @param obj The tickernotil object
213 * @param button The button object will be used on the tickernoti object
214 * @deprecated use elm_object_part_content_set() instead with "button" as part name
216 EINA_DEPRECATED EAPI void elm_tickernoti_button_set (Evas_Object *obj, Evas_Object *button) EINA_ARG_NONNULL(1);
218 * Get the action button object used on the tickernoti object
220 * @param obj The tickernotil object
221 * @return The button object inside the tickernoti
222 * @deprecated use elm_object_part_content_get() instead with "button" as part name
224 EINA_DEPRECATED EAPI Evas_Object *elm_tickernoti_button_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);