1 2 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent); 3 EINA_DEPRECATED EAPI void elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line); 4 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_single_line_get(const Evas_Object *obj); 5 EINA_DEPRECATED EAPI void elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password); 6 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_password_get(const Evas_Object *obj); 7 EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry); 8 EINA_DEPRECATED EAPI const char *elm_scrolled_entry_entry_get(const Evas_Object *obj); 9 EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry); 10 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_is_empty(const Evas_Object *obj); 11 EINA_DEPRECATED EAPI const char *elm_scrolled_entry_selection_get(const Evas_Object *obj); 12 EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry); 13 EINA_DEPRECATED EAPI void elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap); 14 EINA_DEPRECATED EAPI void elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable); 15 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_editable_get(const Evas_Object *obj); 16 EINA_DEPRECATED EAPI void elm_scrolled_entry_select_none(Evas_Object *obj); 17 EINA_DEPRECATED EAPI void elm_scrolled_entry_select_all(Evas_Object *obj); 18 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_next(Evas_Object *obj); 19 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_prev(Evas_Object *obj); 20 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_up(Evas_Object *obj); 21 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_down(Evas_Object *obj); 22 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_begin_set(Evas_Object *obj); 23 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_end_set(Evas_Object *obj); 24 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj); 25 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj); 26 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj); 27 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_selection_end(Evas_Object *obj); 28 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj); 29 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj); 30 EINA_DEPRECATED EAPI const char *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj); 31 EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos); 32 EINA_DEPRECATED EAPI int elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj); 33 EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_cut(Evas_Object *obj); 34 EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_copy(Evas_Object *obj); 35 EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_paste(Evas_Object *obj); 36 EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_clear(Evas_Object *obj); 37 EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data); 38 EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled); 39 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj); 40 EINA_DEPRECATED EAPI void elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v); 41 EINA_DEPRECATED EAPI void elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce); 42 EINA_DEPRECATED EAPI void elm_scrolled_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce); 43 EINA_DEPRECATED EAPI void elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon); 44 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj); 45 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj); 46 EINA_DEPRECATED EAPI void elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting); 47 EINA_DEPRECATED EAPI void elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end); 48 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj); 49 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj); 50 EINA_DEPRECATED EAPI void elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting); 51 EINA_DEPRECATED EAPI void elm_scrolled_entry_item_provider_append(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data); 52 EINA_DEPRECATED EAPI void elm_scrolled_entry_item_provider_prepend(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data); 53 EINA_DEPRECATED EAPI void elm_scrolled_entry_item_provider_remove(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data); 54 EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_append(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data); 55 EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_prepend(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data); 56 EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_remove(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data); 57 EINA_DEPRECATED EAPI void elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format); 58 EINA_DEPRECATED EAPI void elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format); 59 EINA_DEPRECATED EAPI void elm_scrolled_entry_file_save(Evas_Object *obj); 60 EINA_DEPRECATED EAPI void elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave); 61 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_autosave_get(const Evas_Object *obj); 62 63 /** 64 * This function sets the entry to textonly mode. 65 * 66 * @param obj The entry object 67 * @param textonly the mode of textonly. 68 * 69 * @deprecated 70 * 71 * @ingroup Elm_Entry_Group 72 */ 73 74 EINA_DEPRECATED EAPI void elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly); 75 76 /** 77 * This function gets the current textonly mode of the entry. 78 * 79 * @param obj The entry object 80 * @return @c EINA_TRUE textonly mode, @c EINA_FALSE not textonly mode 81 * 82 * @deprecated 83 * 84 * @ingroup Elm_Entry_Group 85 */ 86 87 EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj); 88 89 /** 90 * Convert a pixel coordinate (x,y) into a geographic coordinate 91 * (longitude, latitude). 92 * 93 * @param obj The map object. 94 * @param x the coordinate. 95 * @param y the coordinate. 96 * @param size the size in pixels of the map. 97 * The map is a square and generally his size is : pow(2.0, zoom)*256. 98 * @param lon Pointer to store the longitude that correspond to x. 99 * @param lat Pointer to store the latitude that correspond to y. 100 * 101 * @note Origin pixel point is the top left corner of the viewport. 102 * Map zoom and size are taken on account. 103 * 104 * @see elm_map_utils_convert_geo_into_coord() if you need the inverse. 105 * 106 * @deprecated Use elm_map_canvas_to_geo_convert() instead 107 */ 108 EINA_DEPRECATED EAPI void elm_map_utils_convert_coord_into_geo(const Evas_Object *obj, int x, int y, int size, double *lon, double *lat); 109 110 /** 111 * Convert a geographic coordinate (longitude, latitude) into a pixel 112 * coordinate (x, y). 113 * 114 * @param obj The map object. 115 * @param lon the longitude. 116 * @param lat the latitude. 117 * @param size the size in pixels of the map. The map is a square 118 * and generally his size is : pow(2.0, zoom)*256. 119 * @param x Pointer to store the horizontal pixel coordinate that 120 * correspond to the longitude. 121 * @param y Pointer to store the vertical pixel coordinate that 122 * correspond to the latitude. 123 * 124 * @note Origin pixel point is the top left corner of the viewport. 125 * Map zoom and size are taken on account. 126 * 127 * @see elm_map_utils_convert_coord_into_geo() if you need the inverse. 128 * 129 * @deprecatedUse Use elm_map_canvas_to_geo_convert() instead 130 */ 131 EINA_DEPRECATED EAPI void elm_map_utils_convert_geo_into_coord(const Evas_Object *obj, double lon, double lat, int size, int *x, int *y); 132 133 /** 134 * Get the information of downloading status. 135 * 136 * @param obj The map object. 137 * @param try_num Pointer to store number of tiles being downloaded. 138 * @param finish_num Pointer to store number of tiles successfully 139 * downloaded. 140 * 141 * This gets the current downloading status for the map object, the number 142 * of tiles being downloaded and the number of tiles already downloaded. 143 * 144 * @deprecatedUse Use elm_map_tile_load_status_get() instead 145 */ 146 EINA_DEPRECATED EAPI void elm_map_utils_downloading_status_get(const Evas_Object *obj, int *try_num, int *finish_num); 147 148 /** 149 * Convert a geographic coordinate (longitude, latitude) into a name 150 * (address). 151 * 152 * @param obj The map object. 153 * @param lon the longitude. 154 * @param lat the latitude. 155 * @return name A #Elm_Map_Name handle for this coordinate. 156 * 157 * To get the string for this address, elm_map_name_address_get() 158 * should be used. 159 * 160 * @see elm_map_utils_convert_name_into_coord() if you need the inverse. 161 * @deprecatedUse Use elm_map_name_add() instead 162 * 163 */ 164 EINA_DEPRECATED EAPI Elm_Map_Name *elm_map_utils_convert_coord_into_name(const Evas_Object *obj, double lon, double lat); 165 166 /** 167 * Convert a name (address) into a geographic coordinate 168 * (longitude, latitude). 169 * 170 * @param obj The map object. 171 * @param address The address. 172 * @return name A #Elm_Map_Name handle for this address. 173 * 174 * To get the longitude and latitude, elm_map_name_region_get() 175 * should be used. 176 * 177 * @see elm_map_utils_convert_coord_into_name() if you need the inverse. 178 * @deprecatedUse Use elm_map_name_geo_request() instead 179 * 180 */ 181 EINA_DEPRECATED EAPI Elm_Map_Name *elm_map_utils_convert_name_into_coord(const Evas_Object *obj, char *address); 182 183 /** 184 * Add a new marker to the map object. 185 * 186 * @param obj The map object. 187 * @param lon The longitude of the marker. 188 * @param lat The latitude of the marker. 189 * @param clas The class, to use when marker @b isn't grouped to others. 190 * @param clas_group The class group, to use when marker is grouped to others 191 * @param data The data passed to the callbacks. 192 * 193 * @return The created marker or @c NULL upon failure. 194 * 195 * A marker will be created and shown in a specific point of the map, defined 196 * by @p lon and @p lat. 197 * 198 * It will be displayed using style defined by @p class when this marker 199 * is displayed alone (not grouped). A new class can be created with 200 * elm_map_marker_class_new(). 201 * 202 * If the marker is grouped to other markers, it will be displayed with 203 * style defined by @p class_group. Markers with the same group are grouped 204 * if they are close. A new group class can be created with 205 * elm_map_marker_group_class_new(). 206 * 207 * Markers created with this method can be deleted with 208 * elm_map_marker_remove(). 209 * 210 * A marker can have associated content to be displayed by a bubble, 211 * when a user click over it, as well as an icon. These objects will 212 * be fetch using class' callback functions. 213 * 214 * @see elm_map_marker_class_new() 215 * @see elm_map_marker_group_class_new() 216 * @see elm_map_marker_remove() 217 * 218 * @deprecated Use Elm_Map_Overlay instead 219 */ 220 EINA_DEPRECATED EAPI Elm_Map_Marker *elm_map_marker_add(Evas_Object *obj, double lon, double lat, Elm_Map_Marker_Class *clas, Elm_Map_Group_Class *clas_group, void *data); 221 222 /** 223 * Remove a marker from the map. 224 * 225 * @param marker The marker to remove. 226 * 227 * @see elm_map_marker_add() 228 * 229 * @deprecated Use Elm_Map_Overlay instead 230 */ 231 EINA_DEPRECATED EAPI void elm_map_marker_remove(Elm_Map_Marker *marker); 232 233 /** 234 * Get the current coordinates of the marker. 235 * 236 * @param marker marker. 237 * @param lat Pointer to store the marker's latitude. 238 * @param lon Pointer to store the marker's longitude. 239 * 240 * These values are set when adding markers, with function 241 * elm_map_marker_add(). 242 * 243 * @see elm_map_marker_add() 244 * 245 * @deprecated Use Elm_Map_Overlay instead 246 */ 247 EINA_DEPRECATED EAPI void elm_map_marker_region_get(const Elm_Map_Marker *marker, double *lon, double *lat); 248 249 /** 250 * Animatedly bring in given marker to the center of the map. 251 * 252 * @param marker The marker to center at. 253 * 254 * This causes map to jump to the given @p marker's coordinates 255 * and show it (by scrolling) in the center of the viewport, if it is not 256 * already centered. This will use animation to do so and take a period 257 * of time to complete. 258 * 259 * @see elm_map_marker_show() for a function to avoid animation. 260 * @see elm_map_marker_region_get() 261 * 262 * @deprecated Use Elm_Map_Overlay instead 263 */ 264 EINA_DEPRECATED EAPI void elm_map_marker_bring_in(Elm_Map_Marker *marker); 265 266 /** 267 * Show the given marker at the center of the map, @b immediately. 268 * 269 * @param marker The marker to center at. 270 * 271 * This causes map to @b redraw its viewport's contents to the 272 * region containing the given @p marker's coordinates, that will be 273 * moved to the center of the map. 274 * 275 * @see elm_map_marker_bring_in() for a function to move with animation. 276 * @see elm_map_markers_list_show() if more than one marker need to be 277 * displayed. 278 * @see elm_map_marker_region_get() 279 * 280 * @deprecated Use Elm_Map_Overlay instead 281 */ 282 EINA_DEPRECATED EAPI void elm_map_marker_show(Elm_Map_Marker *marker); 283 284 /** 285 * Move and zoom the map to display a list of markers. 286 * 287 * @param markers A list of #Elm_Map_Marker handles. 288 * 289 * The map will be centered on the center point of the markers in the list. 290 * Then the map will be zoomed in order to fit the markers using the maximum 291 * zoom which allows display of all the markers. 292 * 293 * @warning All the markers should belong to the same map object. 294 * 295 * @see elm_map_marker_show() to show a single marker. 296 * @see elm_map_marker_bring_in() 297 * 298 * @deprecated Use Elm_Map_Overlay instead 299 */ 300 EINA_DEPRECATED EAPI void elm_map_markers_list_show(Eina_List *markers); 301 302 /** 303 * Get the Evas object returned by the Elm_Map_Marker_Get_Func callback 304 * 305 * @param marker The marker which content should be returned. 306 * @return Return the evas object if it exists, else @c NULL. 307 * 308 * To set callback function #Elm_Map_Marker_Get_Func for the marker class, 309 * elm_map_marker_class_get_cb_set() should be used. 310 * 311 * This content is what will be inside the bubble that will be displayed 312 * when a user clicks over the marker. 313 * 314 * This returns the actual Evas object used to be placed inside 315 * the bubble. This may be @c NULL, as it may 316 * not have been created or may have been deleted, at any time, by 317 * the map. <b>Do not modify this object</b> (move, resize, 318 * show, hide, etc.), as the map is controlling it. This 319 * function is for querying, emitting custom signals or hooking 320 * lower level callbacks for events on that object. Do not delete 321 * this object under any circumstances. 322 * 323 * @deprecated Use Elm_Map_Overlay instead 324 */ 325 EINA_DEPRECATED EAPI Evas_Object *elm_map_marker_object_get(const Elm_Map_Marker *marker); 326 327 /** 328 * Update the marker 329 * 330 * @param marker The marker to be updated. 331 * 332 * If a content is set to this marker, it will call function to delete it, 333 * #Elm_Map_Marker_Del_Func, and then will fetch the content again with 334 * #Elm_Map_Marker_Get_Func. 335 * 336 * These functions are set for the marker class with 337 * elm_map_marker_class_get_cb_set() and elm_map_marker_class_del_cb_set(). 338 * 339 * @deprecated Use Elm_Map_Overlay instead 340 */ 341 EINA_DEPRECATED EAPI void elm_map_marker_update(Elm_Map_Marker *marker); 342 343 /** 344 * Create a new group class. 345 * 346 * @param obj The map object. 347 * @return Returns the new group class. 348 * 349 * Each marker must be associated to a group class. Markers in the same 350 * group are grouped if they are close. 351 * 352 * The group class defines the style of the marker when a marker is grouped 353 * to others markers. When it is alone, another class will be used. 354 * 355 * A group class will need to be provided when creating a marker with 356 * elm_map_marker_add(). 357 * 358 * Some properties and functions can be set by class, as: 359 * - style, with elm_map_group_class_style_set() 360 * - data - to be associated to the group class. It can be set using 361 * elm_map_group_class_data_set(). 362 * - min zoom to display markers, set with 363 * elm_map_group_class_zoom_displayed_set(). 364 * - max zoom to group markers, set using 365 * elm_map_group_class_zoom_grouped_set(). 366 * - visibility - set if markers will be visible or not, set with 367 * elm_map_group_class_hide_set(). 368 * - #Elm_Map_Group_Icon_Get_Func - used to fetch icon for markers group classes. 369 * It can be set using elm_map_group_class_icon_cb_set(). 370 * 371 * @see elm_map_marker_add() 372 * @see elm_map_group_class_style_set() 373 * @see elm_map_group_class_data_set() 374 * @see elm_map_group_class_zoom_displayed_set() 375 * @see elm_map_group_class_zoom_grouped_set() 376 * @see elm_map_group_class_hide_set() 377 * @see elm_map_group_class_icon_cb_set() 378 * 379 * @deprecated Use Elm_Map_Overlay instead 380 */ 381 EINA_DEPRECATED EAPI Elm_Map_Group_Class *elm_map_group_class_new(Evas_Object *obj); 382 383 /** 384 * Create a new marker class. 385 * 386 * @param obj The map object. 387 * @return Returns the new group class. 388 * 389 * Each marker must be associated to a class. 390 * 391 * The marker class defines the style of the marker when a marker is 392 * displayed alone, i.e., not grouped to to others markers. When grouped 393 * it will use group class style. 394 * 395 * A marker class will need to be provided when creating a marker with 396 * elm_map_marker_add(). 397 * 398 * Some properties and functions can be set by class, as: 399 * - style, with elm_map_marker_class_style_set() 400 * - #Elm_Map_Marker_Icon_Get_Func - used to fetch icon for markers classes. 401 * It can be set using elm_map_marker_class_icon_cb_set(). 402 * - #Elm_Map_Marker_Get_Func - used to fetch bubble content for marker classes. 403 * Set using elm_map_marker_class_get_cb_set(). 404 * - #Elm_Map_Marker_Del_Func - used to delete bubble content for marker classes. 405 * Set using elm_map_marker_class_del_cb_set(). 406 * 407 * @see elm_map_marker_add() 408 * @see elm_map_marker_class_style_set() 409 * @see elm_map_marker_class_icon_cb_set() 410 * @see elm_map_marker_class_get_cb_set() 411 * @see elm_map_marker_class_del_cb_set() 412 * 413 * @deprecated Use Elm_Map_Overlay instead 414 */ 415 EINA_DEPRECATED EAPI Elm_Map_Marker_Class *elm_map_marker_class_new(Evas_Object *obj); 416 417 /** 418 * Remove a route from the map. 419 * 420 * @param route The route to remove. 421 * 422 * @see elm_map_route_add() 423 * @deprecated Use elm_map_route_del() instead 424 * 425 */ 426 EINA_DEPRECATED EAPI void elm_map_route_remove(Elm_Map_Route *route); 427 428 /** 429 * @deprecated Use elm_object_item_data_get instead. 430 */ 431 EINA_DEPRECATED EAPI void * elm_multibuttonentry_item_data_get(const Elm_Object_Item *it); 432 433 /** 434 * @deprecated Use elm_object_item_data_set instead. 435 */ 436 EINA_DEPRECATED EAPI void elm_multibuttonentry_item_data_set(Elm_Object_Item *it, void *data); 437 438 /** 439 * @deprecated Use elm_calendar_select_mode_set instead. 440 */ 441 EINA_DEPRECATED EAPI void elm_calendar_day_selection_disabled_set(Evas_Object *obj, Eina_Bool disabled); 442 443 /** 444 * @deprecated Use elm_calendar_select_mode_get instead. 445 */ 446 EINA_DEPRECATED EAPI Eina_Bool elm_calendar_day_selection_disabled_get(const Evas_Object *obj); 447 448 /** 449 * @deprecated Possible orient values for notify. 450 * 451 * This values should be used in conjunction to elm_notify_orient_set() to 452 * set the position in which the notify should appear(relative to its parent) 453 * and in conjunction with elm_notify_orient_get() to know where the notify 454 * is appearing. 455 */ 456 typedef enum 457 { 458 ELM_NOTIFY_ORIENT_TOP, /**< Notify should appear in the top of parent, default */ 459 ELM_NOTIFY_ORIENT_CENTER, /**< Notify should appear in the center of parent */ 460 ELM_NOTIFY_ORIENT_BOTTOM, /**< Notify should appear in the bottom of parent */ 461 ELM_NOTIFY_ORIENT_LEFT, /**< Notify should appear in the left of parent */ 462 ELM_NOTIFY_ORIENT_RIGHT, /**< Notify should appear in the right of parent */ 463 ELM_NOTIFY_ORIENT_TOP_LEFT, /**< Notify should appear in the top left of parent */ 464 ELM_NOTIFY_ORIENT_TOP_RIGHT, /**< Notify should appear in the top right of parent */ 465 ELM_NOTIFY_ORIENT_BOTTOM_LEFT, /**< Notify should appear in the bottom left of parent */ 466 ELM_NOTIFY_ORIENT_BOTTOM_RIGHT, /**< Notify should appear in the bottom right of parent */ 467 ELM_NOTIFY_ORIENT_LAST /**< Sentinel value, @b don't use */ 468 } Elm_Notify_Orient; 469 470 471 /** 472 * @deprecated Use elm_notify_align_set instead. 473 */ 474 EINA_DEPRECATED EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient); 475 476 /** 477 * @deprecated Use elm_notify_align_get instead. 478 */ 479 EINA_DEPRECATED EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj); 480 481 /** 482 * @brief Set slide effect of label widget. 483 * 484 * @param obj The label object 485 * @param slide If true, slide effect will be shown 486 * 487 * If set to true, the text of the label will slide/scroll through the length of 488 * label. 489 * 490 * @warning This only works with the themes "slide_short", "slide_long" and 491 * "slide_bounce". 492 * @warning This doesn't work if the line wrap(elm_label_line_wrap_set()) or 493 * ellipsis(elm_label_ellipsis_set()) is set. 494 * 495 * @deprecated see elm_label_slide_mode_set() instead. 496 * 497 * @ingroup Elm_Label 498 */ 499 EINA_DEPRECATED EAPI void elm_label_slide_set(Evas_Object *obj, Eina_Bool slide); 500 501 /** 502 * @brief Get whether slide effect is shown or not. 503 * 504 * @param obj The label object 505 * @return If true, slide effect is shown. 506 * 507 * @see elm_label_slide_set() 508 * 509 * @deprecated see elm_label_slide_mode_get() instead. 510 * 511 * @ingroup Elm_Label 512 */ 513 EINA_DEPRECATED EAPI Eina_Bool elm_label_slide_get(const Evas_Object *obj); 514 515 /** 516 * Set the text for an object's part, marking it as translatable. 517 * 518 * The string to set as @p text must be the original one. Do not pass the 519 * return of @c gettext() here. Elementary will translate the string 520 * internally and set it on the object using elm_object_part_text_set(), 521 * also storing the original string so that it can be automatically 522 * translated when the language is changed with elm_language_set(). 523 * 524 * The @p domain will be stored along to find the translation in the 525 * correct catalog. It can be NULL, in which case it will use whatever 526 * domain was set by the application with @c textdomain(). This is useful 527 * in case you are building a library on top of Elementary that will have 528 * its own translatable strings, that should not be mixed with those of 529 * programs using the library. 530 * 531 * @param obj The object containing the text part 532 * @param part The name of the part to set 533 * @param domain The translation domain to use 534 * @param text The original, non-translated text to set 535 * 536 * @deprecated Use elm_object_domain_translatable_part_text_set() instead. 537 * 538 * @ingroup Elm_General 539 */ 540 EINA_DEPRECATED EAPI void elm_object_domain_translatable_text_part_set(Evas_Object *obj, const char *part, const char *domain, const char *text); 541 542 /** 543 * Get the original string set as translatable for an object 544 * 545 * When setting translated strings, the function elm_object_part_text_get() 546 * will return the translation returned by @c gettext(). To get the 547 * original string use this function. 548 * 549 * @param obj The object 550 * @param part The name of the part that was set 551 * 552 * @return The original, untranslated string 553 * 554 * @deprecated Use elm_object_translatable_part_text_get() instead. 555 * 556 * @ingroup Elm_General 557 */ 558 EINA_DEPRECATED EAPI const char *elm_object_translatable_text_part_get(const Evas_Object *obj, const char *part); 559 560 /** 561 * @brief Show/Hide the title area 562 * 563 * @param it The naviframe item 564 * @param visible If @c EINA_TRUE, title area will be visible, hidden 565 * otherwise 566 * 567 * When the title area is invisible, then the controls would be hidden so as 568 * to expand the content area to full-size. 569 * 570 * @deprecated Use elm_naviframe_item_title_enabled_set() instead. 571 * 572 * @see also elm_naviframe_item_title_visible_get() 573 * @see also elm_naviframe_item_title_enabled_get() 574 * 575 * @ingroup Elm_Naviframe 576 */ 577 EINA_DEPRECATED EAPI void elm_naviframe_item_title_visible_set(Elm_Object_Item *it, Eina_Bool visible); 578 579 /** 580 * @brief Get a value whether title area is visible or not. 581 * 582 * @param it The naviframe item 583 * @return If @c EINA_TRUE, title area is visible 584 * 585 * @deprecated Use elm_naviframe_item_title_enabled_get() instead. 586 * 587 * @see also elm_naviframe_item_title_visible_set() 588 * 589 * @ingroup Elm_Naviframe 590 */ 591 EINA_DEPRECATED EAPI Eina_Bool elm_naviframe_item_title_visible_get(const Elm_Object_Item *it); 592 593 /** 594 * Enable/disable horizontal and vertical bouncing effect. 595 * 596 * @param obj The genlist object 597 * @param h_bounce Allow bounce horizontally (@c EINA_TRUE = on, @c 598 * EINA_FALSE = off). Default is @c EINA_FALSE. 599 * @param v_bounce Allow bounce vertically (@c EINA_TRUE = on, @c 600 * EINA_FALSE = off). Default is @c EINA_TRUE. 601 * 602 * This will enable or disable the scroller bouncing effect for the 603 * genlist. See elm_scroller_bounce_set() for details. 604 * 605 * @deprecated Use elm_scroller_bounce_set() instead. 606 * 607 * @see elm_scroller_bounce_set() 608 * @see elm_genlist_bounce_get() 609 * 610 * @ingroup Elm_Genlist 611 */ 612 EINA_DEPRECATED EAPI void elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce); 613 614 /** 615 * Get whether the horizontal and vertical bouncing effect is enabled. 616 * 617 * @param obj The genlist object 618 * @param h_bounce Pointer to a bool to receive if the bounce horizontally 619 * option is set. 620 * @param v_bounce Pointer to a bool to receive if the bounce vertically 621 * option is set. 622 * 623 * @deprecated Use elm_scroller_bounce_get() instead. 624 * 625 * @see elm_scroller_bounce_get() 626 * @see elm_genlist_bounce_set() 627 * 628 * @ingroup Elm_Genlist 629 */ 630 EINA_DEPRECATED EAPI void elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce); 631 632 /** 633 * Set the scrollbar policy 634 * 635 * @param obj The genlist object 636 * @param policy_h Horizontal scrollbar policy. 637 * @param policy_v Vertical scrollbar policy. 638 * 639 * This sets the scrollbar visibility policy for the given genlist 640 * scroller. #ELM_SCROLLER_POLICY_AUTO means the scrollbar is 641 * made visible if it is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON 642 * turns it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off. 643 * This applies respectively for the horizontal and vertical scrollbars. 644 * Default is #ELM_SCROLLER_POLICY_AUTO 645 * 646 * @deprecated Use elm_scroller_policy_set() instead. 647 * 648 * @see elm_scroller_policy_set() 649 * 650 * @ingroup Elm_Genlist 651 */ 652 EINA_DEPRECATED EAPI void elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v); 653 654 /** 655 * Get the scrollbar policy 656 * 657 * @param obj The genlist object 658 * @param policy_h Pointer to store the horizontal scrollbar policy. 659 * @param policy_v Pointer to store the vertical scrollbar policy. 660 * 661 * @deprecated Use elm_scroller_policy_get() instead. 662 * 663 * @see elm_scroller_policy_get() 664 * 665 * @ingroup Elm_Genlist 666 */ 667 EINA_DEPRECATED EAPI void elm_genlist_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v); 668 669 /** 670 * This sets the entry's scrollbar policy (i.e. enabling/disabling 671 * them). 672 * 673 * Setting an entry to single-line mode with elm_entry_single_line_set() 674 * will automatically disable the display of scrollbars when the entry 675 * moves inside its scroller. 676 * 677 * @param obj The entry object 678 * @param h The horizontal scrollbar policy to apply 679 * @param v The vertical scrollbar policy to apply 680 * 681 * @deprecated Use elm_scroller_policy_set() instead. 682 * 683 * @ingroup Elm_Entry_Group 684 */ 685 EINA_DEPRECATED EAPI void elm_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v); 686 687 /** 688 * This enables/disables bouncing within the entry. 689 * 690 * This function sets whether the entry will bounce when scrolling reaches 691 * the end of the contained entry. 692 * 693 * @param obj The entry object 694 * @param h_bounce The horizontal bounce state 695 * @param v_bounce The vertical bounce state 696 * 697 * @deprecated Use elm_scroller_bounce_set() instead. 698 * 699 * @ingroup Elm_Entry_Group 700 */ 701 EINA_DEPRECATED EAPI void elm_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce); 702 703 /** 704 * Get the bounce mode 705 * 706 * @param obj The Entry object 707 * @param h_bounce Allow bounce horizontally 708 * @param v_bounce Allow bounce vertically 709 * 710 * @deprecated Use elm_scroller_bounce_get() instead. 711 * 712 * @ingroup Elm_Entry_Group 713 */ 714 EINA_DEPRECATED EAPI void elm_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce); 715 716 /** 717 * @brief Set the photocam scrolling bouncing. 718 * 719 * @param obj The photocam object 720 * @param h_bounce set this to @c EINA_TRUE for horizontal bouncing 721 * @param v_bounce set this to @c EINA_TRUE for vertical bouncing 722 * 723 * @deprecated Use elm_scroller_bounce_set() instead. 724 * 725 * @ingroup Elm_Photocam 726 */ 727 EINA_DEPRECATED EAPI void elm_photocam_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce); 728 729 /** 730 * @brief Get the photocam scrolling bouncing. 731 * 732 * @param obj The photocam object 733 * @param h_bounce horizontal bouncing 734 * @param v_bounce vertical bouncing 735 * 736 * @see elm_photocam_bounce_set() 737 * 738 * @deprecated Use elm_scroller_bounce_get() instead. 739 * 740 * @ingroup Elm_Photocam 741 */ 742 EINA_DEPRECATED EAPI void elm_photocam_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce); 743 744 /** 745 * Set bouncing behaviour when the scrolled content reaches an edge. 746 * 747 * Tell the internal scroller object whether it should bounce or not 748 * when it reaches the respective edges for each axis. 749 * 750 * @param obj The list object 751 * @param h_bounce Whether to bounce or not in the horizontal axis. 752 * @param v_bounce Whether to bounce or not in the vertical axis. 753 * 754 * @deprecated Use elm_scroller_bounce_set() instead. 755 * 756 * @see elm_scroller_bounce_set() 757 * 758 * @ingroup Elm_List 759 */ 760 EINA_DEPRECATED EAPI void elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce); 761 762 /** 763 * Get the bouncing behaviour of the internal scroller. 764 * 765 * Get whether the internal scroller should bounce when the edge of each 766 * axis is reached scrolling. 767 * 768 * @param obj The list object. 769 * @param h_bounce Pointer to store the bounce state of the horizontal 770 * axis. 771 * @param v_bounce Pointer to store the bounce state of the vertical 772 * axis. 773 * 774 * @deprecated Use elm_scroller_bounce_get() instead. 775 * 776 * @see elm_scroller_bounce_get() 777 * @see elm_list_bounce_set() 778 * 779 * @ingroup Elm_List 780 */ 781 EINA_DEPRECATED EAPI void elm_list_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce); 782 783 /** 784 * Set the scrollbar policy. 785 * 786 * @param obj The list object 787 * @param policy_h Horizontal scrollbar policy. 788 * @param policy_v Vertical scrollbar policy. 789 * 790 * This sets the scrollbar visibility policy for the given 791 * scroller. #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made 792 * visible if it is needed, and otherwise kept 793 * hidden. #ELM_SCROLLER_POLICY_ON turns it on all the time, and 794 * #ELM_SCROLLER_POLICY_OFF always keeps it off. This applies 795 * respectively for the horizontal and vertical scrollbars. 796 * 797 * The both are disabled by default, i.e., are set to 798 * #ELM_SCROLLER_POLICY_OFF. 799 * 800 * @deprecated Use elm_scroller_policy_set() instead. 801 * 802 * @ingroup Elm_List 803 */ 804 EINA_DEPRECATED EAPI void elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v); 805 806 /** 807 * Get the scrollbar policy. 808 * 809 * @see elm_list_scroller_policy_get() for details. 810 * 811 * @param obj The list object. 812 * @param policy_h Pointer to store horizontal scrollbar policy. 813 * @param policy_v Pointer to store vertical scrollbar policy. 814 * 815 * @deprecated Use elm_scroller_policy_get() instead. 816 * 817 * @ingroup Elm_List 818 */ 819 EINA_DEPRECATED EAPI void elm_list_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v); 820 821 /** 822 * @brief Set custom theme elements for the scroller 823 * 824 * @param obj The scroller object 825 * @param widget The widget name to use (default is "scroller") 826 * @param base The base name to use (default is "base") 827 * 828 * @deprecated Use elm_layout_theme_set() instead. 829 * 830 * @ingroup Elm_Scroller 831 */ 832 EINA_DEPRECATED EAPI void elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base); 833 834 /** 835 * Set bouncing behaviour when the scrolled content reaches an edge. 836 * 837 * Tell the internal scroller object whether it should bounce or not 838 * when it reaches the respective edges for each axis. 839 * 840 * @param obj The diskselector object. 841 * @param h_bounce Whether to bounce or not in the horizontal axis. 842 * @param v_bounce Whether to bounce or not in the vertical axis. 843 * 844 * @deprecated Use elm_scroller_bounce_set() instead. 845 * 846 * @see elm_scroller_bounce_set() 847 * 848 * @ingroup Elm_Diskselector 849 */ 850 EINA_DEPRECATED EAPI void elm_diskselector_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce); 851 852 /** 853 * Get the bouncing behaviour of the internal scroller. 854 * 855 * Get whether the internal scroller should bounce when the edge of each 856 * axis is reached scrolling. 857 * 858 * @param obj The diskselector object. 859 * @param h_bounce Pointer to store the bounce state of the horizontal 860 * axis. 861 * @param v_bounce Pointer to store the bounce state of the vertical 862 * axis. 863 * 864 * @deprecated Use elm_scroller_bounce_get() instead. 865 * 866 * @see elm_scroller_bounce_get() 867 * @see elm_diskselector_bounce_set() 868 * 869 * @ingroup Elm_Diskselector 870 */ 871 EINA_DEPRECATED EAPI void elm_diskselector_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce); 872 873 /** 874 * Get the scrollbar policy. 875 * 876 * @see elm_diskselector_scroller_policy_get() for details. 877 * 878 * @param obj The diskselector object. 879 * @param policy_h Pointer to store horizontal scrollbar policy. 880 * @param policy_v Pointer to store vertical scrollbar policy. 881 * 882 * @deprecated Use elm_scroller_policy_get() instead. 883 * 884 * @see elm_scroller_policy_get() 885 * 886 * @ingroup Elm_Diskselector 887 */ 888 EINA_DEPRECATED EAPI void elm_diskselector_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v); 889 890 /** 891 * Set the scrollbar policy. 892 * 893 * @param obj The diskselector object. 894 * @param policy_h Horizontal scrollbar policy. 895 * @param policy_v Vertical scrollbar policy. 896 * 897 * This sets the scrollbar visibility policy for the given 898 * scroller. #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if 899 * it is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns 900 * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off. 901 * This applies respectively for the horizontal and vertical scrollbars. 902 * 903 * The both are disabled by default, i.e., are set to #ELM_SCROLLER_POLICY_OFF. 904 * 905 * @deprecated Use elm_scroller_policy_set() instead. 906 * 907 * @see elm_scroller_policy_set() 908 * 909 * @ingroup Elm_Diskselector 910 */ 911 EINA_DEPRECATED EAPI void elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v); 912 913 /** 914 * Set the file that will be used as icon. 915 * 916 * @param obj The icon object 917 * @param file The path to file that will be used as icon image 918 * @param group The group that the icon belongs to an edje file 919 * 920 * @return (@c EINA_TRUE = success, @c EINA_FALSE = error) 921 * 922 * @note The icon image set by this function can be changed by 923 * elm_icon_standard_set(). 924 * 925 * @see elm_icon_file_get() 926 * 927 * @deprecated Use elm_image_file_set() instead. 928 * 929 * @ingroup Elm_Icon 930 */ 931 EINA_DEPRECATED EAPI Eina_Bool elm_icon_file_set(Evas_Object *obj, const char *file, const char *group); 932 933 /** 934 * Set a location in memory to be used as an icon 935 * 936 * @param obj The icon object 937 * @param img The binary data that will be used as an image 938 * @param size The size of binary data @p img 939 * @param format Optional format of @p img to pass to the image loader 940 * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file) 941 * 942 * The @p format string should be something like "png", "jpg", "tga", 943 * "tiff", "bmp" etc. if it is provided (NULL if not). This improves 944 * the loader performance as it tries the "correct" loader first before 945 * trying a range of other possible loaders until one succeeds. 946 * 947 * @return (@c EINA_TRUE = success, @c EINA_FALSE = error) 948 * 949 * @note The icon image set by this function can be changed by 950 * elm_icon_standard_set(). 951 * 952 * @deprecated Use elm_image_memfile_set() instead. 953 * 954 * @ingroup Elm_Icon 955 */ 956 EINA_DEPRECATED EAPI Eina_Bool elm_icon_memfile_set(Evas_Object *obj, const void *img, size_t size, const char *format, const char *key); 957 958 /** 959 * Get the file that will be used as icon. 960 * 961 * @param obj The icon object 962 * @param file The path to file that will be used as the icon image 963 * @param group The group that the icon belongs to, in edje file 964 * 965 * @see elm_image_file_set() 966 * 967 * @deprecated Use elm_image_file_get() instead. 968 * 969 * @ingroup Elm_Icon 970 */ 971 EINA_DEPRECATED EAPI void elm_icon_file_get(const Evas_Object *obj, const char **file, const char **group); 972 973 /** 974 * Set the smooth scaling for an icon object. 975 * 976 * @param obj The icon object 977 * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE 978 * otherwise. Default is @c EINA_TRUE. 979 * 980 * Set the scaling algorithm to be used when scaling the icon image. Smooth 981 * scaling provides a better resulting image, but is slower. 982 * 983 * The smooth scaling should be disabled when making animations that change 984 * the icon size, since they will be faster. Animations that don't require 985 * resizing of the icon can keep the smooth scaling enabled (even if the icon 986 * is already scaled, since the scaled icon image will be cached). 987 * 988 * @see elm_icon_smooth_get() 989 * 990 * @deprecated Use elm_image_smooth_set() instead. 991 * 992 * @ingroup Elm_Icon 993 */ 994 EINA_DEPRECATED EAPI void elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth); 995 996 /** 997 * Get whether smooth scaling is enabled for an icon object. 998 * 999 * @param obj The icon object 1000 * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise. 1001 * 1002 * @see elm_icon_smooth_set() 1003 * 1004 * @deprecated Use elm_image_smooth_get() instead. 1005 * 1006 * @ingroup Elm_Icon 1007 */ 1008 EINA_DEPRECATED EAPI Eina_Bool elm_icon_smooth_get(const Evas_Object *obj); 1009 1010 /** 1011 * Disable scaling of this object. 1012 * 1013 * @param obj The icon object. 1014 * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE 1015 * otherwise. Default is @c EINA_FALSE. 1016 * 1017 * This function disables scaling of the icon object through the function 1018 * elm_object_scale_set(). However, this does not affect the object 1019 * size/resize in any way. For that effect, take a look at 1020 * elm_icon_resizable_set(). 1021 * 1022 * @see elm_icon_no_scale_get() 1023 * @see elm_icon_resizable_set() 1024 * @see elm_object_scale_set() 1025 * 1026 * @deprecated Use elm_image_no_scale_set() instead. 1027 * 1028 * @ingroup Elm_Icon 1029 */ 1030 EINA_DEPRECATED EAPI void elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale); 1031 1032 /** 1033 * Get whether scaling is disabled on the object. 1034 * 1035 * @param obj The icon object 1036 * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise 1037 * 1038 * @see elm_icon_no_scale_set() 1039 * 1040 * @deprecated Use elm_image_no_scale_get() instead. 1041 * 1042 * @ingroup Elm_Icon 1043 */ 1044 EINA_DEPRECATED EAPI Eina_Bool elm_icon_no_scale_get(const Evas_Object *obj); 1045 1046 /** 1047 * Set if the object is (up/down) resizable. 1048 * 1049 * @param obj The icon object 1050 * @param size_up A bool to set if the object is resizable up. Default is 1051 * @c EINA_TRUE. 1052 * @param size_down A bool to set if the object is resizable down. Default 1053 * is @c EINA_TRUE. 1054 * 1055 * This function limits the icon object resize ability. If @p size_up is set to 1056 * @c EINA_FALSE, the object can't have its height or width resized to a value 1057 * higher than the original icon size. Same is valid for @p size_down. 1058 * 1059 * @see elm_icon_resizable_get() 1060 * 1061 * @deprecated Use elm_image_resizable_set() instead. 1062 * 1063 * @ingroup Elm_Icon 1064 */ 1065 EINA_DEPRECATED EAPI void elm_icon_resizable_set(Evas_Object *obj, Eina_Bool size_up, Eina_Bool size_down); 1066 1067 /** 1068 * Get if the object is (up/down) resizable. 1069 * 1070 * @param obj The icon object 1071 * @param size_up A bool to set if the object is resizable up 1072 * @param size_down A bool to set if the object is resizable down 1073 * 1074 * @see elm_icon_resizable_set() 1075 * 1076 * @deprecated Use elm_image_resizable_get() instead. 1077 * 1078 * @ingroup Elm_Icon 1079 */ 1080 EINA_DEPRECATED EAPI void elm_icon_resizable_get(const Evas_Object *obj, Eina_Bool *size_up, Eina_Bool *size_down); 1081 1082 /** 1083 * Get the object's image size 1084 * 1085 * @param obj The icon object 1086 * @param w A pointer to store the width in 1087 * @param h A pointer to store the height in 1088 * 1089 * @deprecated Use elm_image_object_size_get() instead. 1090 * 1091 * @ingroup Elm_Icon 1092 */ 1093 EINA_DEPRECATED EAPI void elm_icon_size_get(const Evas_Object *obj, int *w, int *h); 1094 1095 /** 1096 * Set if the icon fill the entire object area. 1097 * 1098 * @param obj The icon object 1099 * @param fill_outside @c EINA_TRUE if the object is filled outside, 1100 * @c EINA_FALSE otherwise. Default is @c EINA_FALSE. 1101 * 1102 * When the icon object is resized to a different aspect ratio from the 1103 * original icon image, the icon image will still keep its aspect. This flag 1104 * tells how the image should fill the object's area. They are: keep the 1105 * entire icon inside the limits of height and width of the object (@p 1106 * fill_outside is @c EINA_FALSE) or let the extra width or height go outside 1107 * of the object, and the icon will fill the entire object (@p fill_outside 1108 * is @c EINA_TRUE). 1109 * 1110 * @note Unlike @ref Image, there's no option in icon to set the aspect ratio 1111 * retain property to false. Thus, the icon image will always keep its 1112 * original aspect ratio. 1113 * 1114 * @see elm_icon_fill_outside_get() 1115 * 1116 * @deprecated Use elm_image_fill_outside_set() instead. 1117 * 1118 * @ingroup Elm_Icon 1119 */ 1120 EINA_DEPRECATED EAPI void elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside); 1121 1122 /** 1123 * Get if the object is filled outside. 1124 * 1125 * @param obj The icon object 1126 * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE 1127 * otherwise. 1128 * 1129 * @see elm_icon_fill_outside_set() 1130 * 1131 * @deprecated Use elm_image_fill_outside_get() instead. 1132 * 1133 * @ingroup Elm_Icon 1134 */ 1135 EINA_DEPRECATED EAPI Eina_Bool elm_icon_fill_outside_get(const Evas_Object *obj); 1136 1137 /** 1138 * Set the prescale size for the icon. 1139 * 1140 * @param obj The icon object 1141 * @param size The prescale size. This value is used for both width and 1142 * height. 1143 * 1144 * This function sets a new size for pixmap representation of the given 1145 * icon. It allows the icon to be loaded already in the specified size, 1146 * reducing the memory usage and load time when loading a big icon with load 1147 * size set to a smaller size. 1148 * 1149 * It's equivalent to the elm_bg_load_size_set() function for bg. 1150 * 1151 * @note this is just a hint, the real size of the pixmap may differ 1152 * depending on the type of icon being loaded, being bigger than requested. 1153 * 1154 * @see elm_icon_prescale_get() 1155 * @see elm_bg_load_size_set() 1156 * 1157 * @deprecated Use elm_image_prescale_set() instead. 1158 * 1159 * @ingroup Elm_Icon 1160 */ 1161 EINA_DEPRECATED EAPI void elm_icon_prescale_set(Evas_Object *obj, int size); 1162 1163 /** 1164 * Get the prescale size for the icon. 1165 * 1166 * @param obj The icon object 1167 * @return The prescale size 1168 * 1169 * @see elm_icon_prescale_set() 1170 * 1171 * @deprecated Use elm_image_prescale_get() instead. 1172 * 1173 * @ingroup Elm_Icon 1174 */ 1175 EINA_DEPRECATED EAPI int elm_icon_prescale_get(const Evas_Object *obj); 1176 1177 /** 1178 * Get the image object of the icon. DO NOT MODIFY THIS. 1179 * 1180 * @param obj The icon object 1181 * @return The internal icon object 1182 * 1183 * @deprecated Use elm_image_object_get() instead. 1184 * 1185 * @ingroup Elm_Icon 1186 */ 1187 EINA_DEPRECATED EAPI Evas_Object *elm_icon_object_get(Evas_Object *obj); 1188 1189 /** 1190 * Enable or disable preloading of the icon 1191 * 1192 * @param obj The icon object 1193 * @param disabled If EINA_TRUE, preloading will be disabled 1194 * @ingroup Elm_Icon 1195 * 1196 * @deprecated Use elm_image_preload_disabled_set() instead. 1197 * 1198 */ 1199 EINA_DEPRECATED EAPI void elm_icon_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled); 1200 1201 /** 1202 * Get if the icon supports animation or not. 1203 * 1204 * @param obj The icon object 1205 * @return @c EINA_TRUE if the icon supports animation, 1206 * @c EINA_FALSE otherwise. 1207 * 1208 * Return if this elm icon's image can be animated. Currently Evas only 1209 * supports gif animation. If the return value is EINA_FALSE, other 1210 * elm_icon_animated_xxx APIs won't work. 1211 * @ingroup Elm_Icon 1212 * 1213 * @deprecated Use elm_image_animated_available_get() instead. 1214 * 1215 */ 1216 EINA_DEPRECATED EAPI Eina_Bool elm_icon_animated_available_get(const Evas_Object *obj); 1217 1218 /** 1219 * Set animation mode of the icon. 1220 * 1221 * @param obj The icon object 1222 * @param animated @c EINA_TRUE if the object do animation job, 1223 * @c EINA_FALSE otherwise. Default is @c EINA_FALSE. 1224 * 1225 * Since the default animation mode is set to EINA_FALSE, 1226 * the icon is shown without animation. Files like animated GIF files 1227 * can animate, and this is supported if you enable animated support 1228 * on the icon. 1229 * Set it to EINA_TRUE when the icon needs to be animated. 1230 * @ingroup Elm_Icon 1231 * 1232 * @deprecated Use elm_image_animated_set() instead. 1233 * 1234 */ 1235 EINA_DEPRECATED EAPI void elm_icon_animated_set(Evas_Object *obj, Eina_Bool animated); 1236 1237 /** 1238 * Get animation mode of the icon. 1239 * 1240 * @param obj The icon object 1241 * @return The animation mode of the icon object 1242 * @see elm_icon_animated_set 1243 * @ingroup Elm_Icon 1244 * 1245 * @deprecated Use elm_image_animated_get() instead. 1246 * 1247 */ 1248 EINA_DEPRECATED EAPI Eina_Bool elm_icon_animated_get(const Evas_Object *obj); 1249 1250 /** 1251 * Set animation play mode of the icon. 1252 * 1253 * @param obj The icon object 1254 * @param play @c EINA_TRUE the object play animation images, 1255 * @c EINA_FALSE otherwise. Default is @c EINA_FALSE. 1256 * 1257 * To play elm icon's animation, set play to EINA_TRUE. 1258 * For example, you make gif player using this set/get API and click event. 1259 * This literally lets you control current play or paused state. To have 1260 * this work with animated GIF files for example, you first, before 1261 * setting the file have to use elm_icon_animated_set() to enable animation 1262 * at all on the icon. 1263 * 1264 * 1. Click event occurs 1265 * 2. Check play flag using elm_icon_animated_play_get 1266 * 3. If elm icon was playing, set play to EINA_FALSE. 1267 * Then animation will be stopped and vice versa 1268 * @ingroup Elm_Icon 1269 * 1270 * @deprecated Use elm_image_animated_play_set() instead. 1271 * 1272 */ 1273 EINA_DEPRECATED EAPI void elm_icon_animated_play_set(Evas_Object *obj, Eina_Bool play); 1274 1275 /** 1276 * Get animation play mode of the icon. 1277 * 1278 * @param obj The icon object 1279 * @return The play mode of the icon object 1280 * 1281 * @see elm_icon_animated_play_get 1282 * @ingroup Elm_Icon 1283 * 1284 * @deprecated Use elm_image_animated_play_get() instead. 1285 * 1286 */ 1287 EINA_DEPRECATED EAPI Eina_Bool elm_icon_animated_play_get(const Evas_Object *obj); 1288 1289 /** 1290 * Set whether the original aspect ratio of the icon should be kept on resize. 1291 * 1292 * @param obj The icon object. 1293 * @param fixed @c EINA_TRUE if the icon should retain the aspect, 1294 * @c EINA_FALSE otherwise. 1295 * 1296 * The original aspect ratio (width / height) of the icon is usually 1297 * distorted to match the object's size. Enabling this option will retain 1298 * this original aspect, and the way that the icon is fit into the object's 1299 * area depends on the option set by elm_icon_fill_outside_set(). 1300 * 1301 * @see elm_icon_aspect_fixed_get() 1302 * @see elm_icon_fill_outside_set() 1303 * 1304 * @ingroup Elm_Icon 1305 * 1306 * @deprecated Use elm_image_aspect_fixed_set() instead. 1307 * 1308 */ 1309 EINA_DEPRECATED EAPI void elm_icon_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed); 1310 1311 /** 1312 * Get if the object retains the original aspect ratio. 1313 * 1314 * @param obj The icon object. 1315 * @return @c EINA_TRUE if the object keeps the original aspect, @c EINA_FALSE 1316 * otherwise. 1317 * 1318 * @deprecated Use elm_image_aspect_fixed_get() instead. 1319 * 1320 * @ingroup Elm_Icon 1321 */ 1322 EINA_DEPRECATED EAPI Eina_Bool elm_icon_aspect_fixed_get(const Evas_Object *obj); 1323 1324 /** 1325 * Set the initial file system path for a given file selector 1326 * button widget 1327 * 1328 * @param obj The file selector button widget 1329 * @param path The path string 1330 * 1331 * It must be a <b>directory</b> path, which will have the contents 1332 * displayed initially in the file selector's view, when invoked 1333 * from @p obj. The default initial path is the @c "HOME" 1334 * environment variable's value. 1335 * 1336 * @see elm_fileselector_path_get() 1337 * 1338 * @deprecated Use elm_fileselector_path_set() instead. 1339 * 1340 * @ingroup Elm_File_Selector_Button 1341 */ 1342 EINA_DEPRECATED EAPI void elm_fileselector_button_path_set(Evas_Object *obj, const char *path); 1343 1344 /** 1345 * Get the initial file system path set for a given file selector 1346 * button widget 1347 * 1348 * @param obj The file selector button widget 1349 * @return path The path string 1350 * 1351 * @see elm_fileselector_path_set() for more details 1352 * 1353 * @deprecated Use elm_fileselector_path_get() instead. 1354 * 1355 * @ingroup Elm_File_Selector_Button 1356 */ 1357 EINA_DEPRECATED EAPI const char *elm_fileselector_button_path_get(const Evas_Object *obj); 1358 1359 /** 1360 * Enable/disable a tree view in the given file selector button 1361 * widget's internal file selector 1362 * 1363 * @param obj The file selector button widget 1364 * @param value @c EINA_TRUE to enable tree view, @c EINA_FALSE to 1365 * disable 1366 * 1367 * This has the same effect as elm_fileselector_expandable_set(), 1368 * but now applied to a file selector button's internal file 1369 * selector. 1370 * 1371 * @note There's no way to put a file selector button's internal 1372 * file selector in "grid mode", as one may do with "pure" file 1373 * selectors. 1374 * 1375 * @see elm_fileselector_expandable_get() 1376 * 1377 * @deprecated Use elm_fileselector_expandable_set() instead. 1378 * 1379 * @ingroup Elm_File_Selector_Button 1380 */ 1381 EINA_DEPRECATED EAPI void elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value); 1382 1383 /** 1384 * Get whether tree view is enabled for the given file selector 1385 * button widget's internal file selector 1386 * 1387 * @param obj The file selector button widget 1388 * @return @c EINA_TRUE if @p obj widget's internal file selector 1389 * is in tree view, @c EINA_FALSE otherwise (and or errors) 1390 * 1391 * @see elm_fileselector_expandable_set() for more details 1392 * 1393 * @deprecated Use elm_fileselector_expandable_get() instead. 1394 * 1395 * @ingroup Elm_File_Selector_Button 1396 */ 1397 EINA_DEPRECATED EAPI Eina_Bool elm_fileselector_button_expandable_get(const Evas_Object *obj); 1398 1399 /** 1400 * Set whether a given file selector button widget's internal file 1401 * selector is to display folders only or the directory contents, 1402 * as well. 1403 * 1404 * @param obj The file selector button widget 1405 * @param value @c EINA_TRUE to make @p obj widget's internal file 1406 * selector only display directories, @c EINA_FALSE to make files 1407 * to be displayed in it too 1408 * 1409 * This has the same effect as elm_fileselector_folder_only_set(), 1410 * but now applied to a file selector button's internal file 1411 * selector. 1412 * 1413 * @see elm_fileselector_folder_only_get() 1414 * 1415 * @deprecated Use elm_fileselector_folder_only_set() instead. 1416 * 1417 * @ingroup Elm_File_Selector_Button 1418 */ 1419 EINA_DEPRECATED EAPI void elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value); 1420 1421 /** 1422 * Get whether a given file selector button widget's internal file 1423 * selector is displaying folders only or the directory contents, 1424 * as well. 1425 * 1426 * @param obj The file selector button widget 1427 * @return @c EINA_TRUE if @p obj widget's internal file 1428 * selector is only displaying directories, @c EINA_FALSE if files 1429 * are being displayed in it too (and on errors) 1430 * 1431 * @see elm_fileselector_folder_only_set() for more details 1432 * 1433 * @deprecated Use elm_fileselector_folder_only_get() instead. 1434 * 1435 * @ingroup Elm_File_Selector_Button 1436 */ 1437 EINA_DEPRECATED EAPI Eina_Bool elm_fileselector_button_folder_only_get(const Evas_Object *obj); 1438 1439 /** 1440 * Enable/disable the file name entry box where the user can type 1441 * in a name for a file, in a given file selector button widget's 1442 * internal file selector. 1443 * 1444 * @param obj The file selector button widget 1445 * @param value @c EINA_TRUE to make @p obj widget's internal 1446 * file selector a "saving dialog", @c EINA_FALSE otherwise 1447 * 1448 * This has the same effect as elm_fileselector_is_save_set(), 1449 * but now applied to a file selector button's internal file 1450 * selector. 1451 * 1452 * @see elm_fileselector_is_save_get() 1453 * 1454 * @deprecated Use elm_fileselector_is_save_set() instead. 1455 * 1456 * @ingroup Elm_File_Selector_Button 1457 */ 1458 EINA_DEPRECATED EAPI void elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value); 1459 1460 /** 1461 * Get whether the given file selector button widget's internal 1462 * file selector is in "saving dialog" mode 1463 * 1464 * @param obj The file selector button widget 1465 * @return @c EINA_TRUE, if @p obj widget's internal file selector 1466 * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on 1467 * errors) 1468 * 1469 * @see elm_fileselector_is_save_set() for more details 1470 * 1471 * @deprecated Use elm_fileselector_is_save_get() instead. 1472 * 1473 * @ingroup Elm_File_Selector_Button 1474 */ 1475 EINA_DEPRECATED EAPI Eina_Bool elm_fileselector_button_is_save_get(const Evas_Object *obj); 1476 1477 /** 1478 * Set the initial file system path and the entry's path string for 1479 * a given file selector entry widget 1480 * 1481 * @param obj The file selector entry widget 1482 * @param path The path string 1483 * 1484 * It must be a <b>directory</b> path, which will have the contents 1485 * displayed initially in the file selector's view, when invoked 1486 * from @p obj. The default initial path is the @c "HOME" 1487 * environment variable's value. 1488 * 1489 * @see elm_fileselector_path_get() 1490 * 1491 * @deprecated Use elm_fileselector_path_set() instead. 1492 * 1493 * @ingroup Elm_File_Selector_Entry 1494 */ 1495 EINA_DEPRECATED EAPI void elm_fileselector_entry_path_set(Evas_Object *obj, const char *path); 1496 1497 /** 1498 * Get the entry's path string for a given file selector entry 1499 * widget 1500 * 1501 * @param obj The file selector entry widget 1502 * @return path The path string 1503 * 1504 * @see elm_fileselector_path_set() for more details 1505 * 1506 * @deprecated Use elm_fileselector_path_get() instead. 1507 * @ingroup Elm_File_Selector_Entry 1508 */ 1509 EINA_DEPRECATED EAPI const char *elm_fileselector_entry_path_get(const Evas_Object *obj); 1510 1511 /** 1512 * Enable/disable a tree view in the given file selector entry 1513 * widget's internal file selector 1514 * 1515 * @param obj The file selector entry widget 1516 * @param value @c EINA_TRUE to enable tree view, @c EINA_FALSE to disable 1517 * 1518 * This has the same effect as elm_fileselector_expandable_set(), 1519 * but now applied to a file selector entry's internal file 1520 * selector. 1521 * 1522 * @note There's no way to put a file selector entry's internal 1523 * file selector in "grid mode", as one may do with "pure" file 1524 * selectors. 1525 * 1526 * @see elm_fileselector_expandable_get() 1527 * 1528 * @deprecated Use elm_fileselector_expandable_set() instead. 1529 * 1530 * @ingroup Elm_File_Selector_Entry 1531 */ 1532 EINA_DEPRECATED EAPI void elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value); 1533 1534 /** 1535 * Get whether tree view is enabled for the given file selector 1536 * entry widget's internal file selector 1537 * 1538 * @param obj The file selector entry widget 1539 * @return @c EINA_TRUE if @p obj widget's internal file selector 1540 * is in tree view, @c EINA_FALSE otherwise (and or errors) 1541 * 1542 * @see elm_fileselector_expandable_set() for more details 1543 * 1544 * @deprecated Use elm_fileselector_expandable_get() instead. 1545 * 1546 * @ingroup Elm_File_Selector_Entry 1547 */ 1548 EINA_DEPRECATED EAPI Eina_Bool elm_fileselector_entry_expandable_get(const Evas_Object *obj); 1549 1550 /** 1551 * Set whether a given file selector entry widget's internal file 1552 * selector is to display folders only or the directory contents, 1553 * as well. 1554 * 1555 * @param obj The file selector entry widget 1556 * @param value @c EINA_TRUE to make @p obj widget's internal file 1557 * selector only display directories, @c EINA_FALSE to make files 1558 * to be displayed in it too 1559 * 1560 * This has the same effect as elm_fileselector_folder_only_set(), 1561 * but now applied to a file selector entry's internal file 1562 * selector. 1563 * 1564 * @see elm_fileselector_folder_only_get() 1565 * 1566 * @deprecated Use elm_fileselector_folder_only_set() instead. 1567 * 1568 * @ingroup Elm_File_Selector_Entry 1569 */ 1570 EINA_DEPRECATED EAPI void elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value); 1571 1572 /** 1573 * Get whether a given file selector entry widget's internal file 1574 * selector is displaying folders only or the directory contents, 1575 * as well. 1576 * 1577 * @param obj The file selector entry widget 1578 * @return @c EINA_TRUE if @p obj widget's internal file 1579 * selector is only displaying directories, @c EINA_FALSE if files 1580 * are being displayed in it too (and on errors) 1581 * 1582 * @see elm_fileselector_folder_only_set() for more details 1583 * 1584 * @deprecated Use elm_fileselector_folder_only_get() instead. 1585 * 1586 * @ingroup Elm_File_Selector_Entry 1587 */ 1588 EINA_DEPRECATED EAPI Eina_Bool elm_fileselector_entry_folder_only_get(const Evas_Object *obj); 1589 1590 /** 1591 * Enable/disable the file name entry box where the user can type 1592 * in a name for a file, in a given file selector entry widget's 1593 * internal file selector. 1594 * 1595 * @param obj The file selector entry widget 1596 * @param value @c EINA_TRUE to make @p obj widget's internal 1597 * file selector a "saving dialog", @c EINA_FALSE otherwise 1598 * 1599 * This has the same effect as elm_fileselector_is_save_set(), 1600 * but now applied to a file selector entry's internal file 1601 * selector. 1602 * 1603 * @see elm_fileselector_is_save_get() 1604 * 1605 * @deprecated Use elm_fileselector_is_save_set() instead. 1606 * 1607 * @ingroup Elm_File_Selector_Entry 1608 */ 1609 EINA_DEPRECATED EAPI void elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value); 1610 1611 /** 1612 * Get whether the given file selector entry widget's internal 1613 * file selector is in "saving dialog" mode 1614 * 1615 * @param obj The file selector entry widget 1616 * @return @c EINA_TRUE, if @p obj widget's internal file selector 1617 * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on 1618 * errors) 1619 * 1620 * @see elm_fileselector_is_save_set() for more details 1621 * 1622 * @deprecated Use elm_fileselector_is_save_get() instead. 1623 * 1624 * @ingroup Elm_File_Selector_Entry 1625 */ 1626 EINA_DEPRECATED EAPI Eina_Bool elm_fileselector_entry_is_save_get(const Evas_Object *obj); 1627 1628 /** 1629 * Set the initial file system path for a given file selector entry 1630 * widget 1631 * 1632 * @param obj The file selector entry widget 1633 * @param path The path string 1634 * 1635 * It must be a <b>directory</b> path, which will have the contents 1636 * displayed initially in the file selector's view, when invoked 1637 * from @p obj. The default initial path is the @c "HOME" 1638 * environment variable's value. 1639 * 1640 * @see elm_fileselector_path_get() 1641 * 1642 * @deprecated Use elm_fileselector_selected_set() instead. 1643 * 1644 * @ingroup Elm_File_Selector_Entry 1645 */ 1646 EINA_DEPRECATED EAPI void elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path); 1647 1648 /** 1649 * Get the parent directory's path to the latest file selection on 1650 * a given filer selector entry widget 1651 * 1652 * @param obj The file selector object 1653 * @return The (full) path of the directory of the last selection 1654 * on @p obj widget, a @b stringshared string 1655 * 1656 * @see elm_fileselector_path_set() 1657 * 1658 * @deprecated Use elm_fileselector_selected_get() instead. 1659 * 1660 * @ingroup Elm_File_Selector_Entry 1661 */ 1662 EINA_DEPRECATED EAPI const char *elm_fileselector_entry_selected_get(const Evas_Object *obj); 1663 1664 //TODO: remvoe below - use elm_access_text_set(); or elm_access_cb_set(); 1665 EINA_DEPRECATED EAPI void elm_access_external_info_set(Evas_Object *obj, const char *text); 1666 EINA_DEPRECATED EAPI char *elm_access_external_info_get(const Evas_Object *obj); 1667 1668 // elm_win 1669 EINA_DEPRECATED EAPI void elm_win_type_set(Evas_Object *obj, Elm_Win_Type type); 1670 EINA_DEPRECATED EAPI void elm_win_name_set(Evas_Object *obj, const char *name); 1671 1672 /** 1673 * @brief Set a circle with given center, radius, and start angle. 1674 * 1675 * @param[in] obj The object. 1676 * @param[in] x X coordinate of center 1677 * @param[in] y Y coordinate of center 1678 * @param[in] radius Radius of the circle 1679 * @param[in] start_angle Start angle of the circle 1680 * @param[in] direction Textpath direction 1681 * 1682 * @deprecated Use elm_textpath_circular_set() instead. 1683 * 1684 * @ingroup Elm_Textpath_Group 1685 */ 1686 EINA_DEPRECATED EAPI void elm_textpath_circle_set(Efl_Ui_Textpath *obj, double x, double y, double radius, double start_angle, Efl_Ui_Textpath_Direction direction); 1687 1688 /** 1689 * Request that your elementary application needs elocation 1690 * 1691 * This initializes the elocation library when called and if 1692 * support exists it returns @c EINA_TRUE, otherwise returns 1693 * @c EINA_FALSE. This must be called before any elocation usage. 1694 * 1695 * @return @c EINA_TRUE if support exists and initialization succeeded. 1696 * 1697 * @since 1.8.0 1698 * 1699 * @deprecated removed beta API 1700 * 1701 * @ingroup eldbus 1702 */ 1703 EINA_DEPRECATED EAPI Eina_Bool elm_need_elocation(void); 1704