efl/legacy/elementary/src/lib/elm_deprecated.h

536 lines
23 KiB
C
Raw Normal View History

EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent);
EINA_DEPRECATED EAPI void elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_single_line_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_password_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry);
EINA_DEPRECATED EAPI const char *elm_scrolled_entry_entry_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_is_empty(const Evas_Object *obj);
EINA_DEPRECATED EAPI const char *elm_scrolled_entry_selection_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry);
EINA_DEPRECATED EAPI void elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap);
EINA_DEPRECATED EAPI void elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_editable_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_select_none(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_select_all(Evas_Object *obj);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_next(Evas_Object *obj);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_prev(Evas_Object *obj);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_up(Evas_Object *obj);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_down(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_begin_set(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_end_set(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_selection_end(Evas_Object *obj);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI const char *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos);
EINA_DEPRECATED EAPI int elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_cut(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_copy(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_paste(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_clear(Evas_Object *obj);
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);
EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
EINA_DEPRECATED EAPI void elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
EINA_DEPRECATED EAPI void elm_scrolled_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
EINA_DEPRECATED EAPI void elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
EINA_DEPRECATED EAPI void elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end);
EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
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);
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);
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);
EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_append(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_prepend(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_remove(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
EINA_DEPRECATED EAPI void elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format);
EINA_DEPRECATED EAPI void elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format);
EINA_DEPRECATED EAPI void elm_scrolled_entry_file_save(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_autosave_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly);
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj);
/**
2012-03-14 02:56:20 -07:00
* Convert a pixel coordinate (x,y) into a geographic coordinate
* (longitude, latitude).
*
2012-03-14 02:56:20 -07:00
* @param obj The map object.
* @param x the coordinate.
* @param y the coordinate.
* @param size the size in pixels of the map.
* The map is a square and generally his size is : pow(2.0, zoom)*256.
* @param lon Pointer to store the longitude that correspond to x.
* @param lat Pointer to store the latitude that correspond to y.
*
2012-03-14 02:56:20 -07:00
* @note Origin pixel point is the top left corner of the viewport.
* Map zoom and size are taken on account.
*
2012-03-14 02:56:20 -07:00
* @see elm_map_utils_convert_geo_into_coord() if you need the inverse.
*
2012-03-14 02:56:20 -07:00
* @deprecated Use elm_map_canvas_to_geo_convert() instead
*/
2012-03-14 02:56:20 -07:00
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);
/**
2012-03-14 02:56:20 -07:00
* Convert a geographic coordinate (longitude, latitude) into a pixel
* coordinate (x, y).
*
2012-03-14 02:56:20 -07:00
* @param obj The map object.
* @param lon the longitude.
* @param lat the latitude.
* @param size the size in pixels of the map. The map is a square
* and generally his size is : pow(2.0, zoom)*256.
* @param x Pointer to store the horizontal pixel coordinate that
* correspond to the longitude.
* @param y Pointer to store the vertical pixel coordinate that
* correspond to the latitude.
*
2012-03-14 02:56:20 -07:00
* @note Origin pixel point is the top left corner of the viewport.
* Map zoom and size are taken on account.
*
2012-03-14 02:56:20 -07:00
* @see elm_map_utils_convert_coord_into_geo() if you need the inverse.
*
2012-03-14 02:56:20 -07:00
* @deprecatedUse Use elm_map_canvas_to_geo_convert() instead
*/
2012-03-14 02:56:20 -07:00
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);
/**
2012-03-14 02:56:20 -07:00
* Get the information of downloading status.
*
2012-03-14 02:56:20 -07:00
* @param obj The map object.
* @param try_num Pointer to store number of tiles being downloaded.
* @param finish_num Pointer to store number of tiles successfully
* downloaded.
*
2012-03-14 02:56:20 -07:00
* This gets the current downloading status for the map object, the number
* of tiles being downloaded and the number of tiles already downloaded.
*
2012-03-14 02:56:20 -07:00
* @deprecatedUse Use elm_map_tile_load_status_get() instead
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI void elm_map_utils_downloading_status_get(const Evas_Object *obj, int *try_num, int *finish_num);
/**
2012-03-14 02:56:20 -07:00
* Convert a geographic coordinate (longitude, latitude) into a name
* (address).
*
* @param obj The map object.
* @param lon the longitude.
* @param lat the latitude.
* @return name A #Elm_Map_Name handle for this coordinate.
*
2012-03-14 02:56:20 -07:00
* To get the string for this address, elm_map_name_address_get()
* should be used.
*
2012-03-14 02:56:20 -07:00
* @see elm_map_utils_convert_name_into_coord() if you need the inverse.
* @deprecatedUse Use elm_map_name_add() instead
*
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI Elm_Map_Name *elm_map_utils_convert_coord_into_name(const Evas_Object *obj, double lon, double lat);
/**
2012-03-14 02:56:20 -07:00
* Convert a name (address) into a geographic coordinate
* (longitude, latitude).
*
* @param obj The map object.
* @param address The address.
* @return name A #Elm_Map_Name handle for this address.
*
2012-03-14 02:56:20 -07:00
* To get the longitude and latitude, elm_map_name_region_get()
* should be used.
*
2012-03-14 02:56:20 -07:00
* @see elm_map_utils_convert_coord_into_name() if you need the inverse.
* @deprecatedUse Use elm_map_name_geo_request() instead
*
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI Elm_Map_Name *elm_map_utils_convert_name_into_coord(const Evas_Object *obj, char *address);
/**
2012-03-14 02:56:20 -07:00
* Add a new marker to the map object.
*
2012-03-14 02:56:20 -07:00
* @param obj The map object.
* @param lon The longitude of the marker.
* @param lat The latitude of the marker.
* @param clas The class, to use when marker @b isn't grouped to others.
* @param clas_group The class group, to use when marker is grouped to others
* @param data The data passed to the callbacks.
*
* @return The created marker or @c NULL upon failure.
*
2012-03-14 02:56:20 -07:00
* A marker will be created and shown in a specific point of the map, defined
* by @p lon and @p lat.
*
2012-03-14 02:56:20 -07:00
* It will be displayed using style defined by @p class when this marker
* is displayed alone (not grouped). A new class can be created with
* elm_map_marker_class_new().
*
2012-03-14 02:56:20 -07:00
* If the marker is grouped to other markers, it will be displayed with
* style defined by @p class_group. Markers with the same group are grouped
* if they are close. A new group class can be created with
* elm_map_marker_group_class_new().
*
2012-03-14 02:56:20 -07:00
* Markers created with this method can be deleted with
* elm_map_marker_remove().
*
* A marker can have associated content to be displayed by a bubble,
* when a user click over it, as well as an icon. These objects will
* be fetch using class' callback functions.
*
2012-03-14 02:56:20 -07:00
* @see elm_map_marker_class_new()
* @see elm_map_marker_group_class_new()
* @see elm_map_marker_remove()
*
2012-03-14 02:56:20 -07:00
* @deprecated Use Elm_Map_Overlay instead
*/
2012-03-14 02:56:20 -07:00
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);
/**
2012-03-14 02:56:20 -07:00
* Remove a marker from the map.
*
2012-03-14 02:56:20 -07:00
* @param marker The marker to remove.
*
2012-03-14 02:56:20 -07:00
* @see elm_map_marker_add()
*
2012-03-14 02:56:20 -07:00
* @deprecated Use Elm_Map_Overlay instead
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI void elm_map_marker_remove(Elm_Map_Marker *marker);
/**
2012-03-14 02:56:20 -07:00
* Get the current coordinates of the marker.
*
* @param marker marker.
* @param lat Pointer to store the marker's latitude.
* @param lon Pointer to store the marker's longitude.
*
2012-03-14 02:56:20 -07:00
* These values are set when adding markers, with function
* elm_map_marker_add().
*
2012-03-14 02:56:20 -07:00
* @see elm_map_marker_add()
*
2012-03-14 02:56:20 -07:00
* @deprecated Use Elm_Map_Overlay instead
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI void elm_map_marker_region_get(const Elm_Map_Marker *marker, double *lon, double *lat);
/**
2012-03-14 02:56:20 -07:00
* Animatedly bring in given marker to the center of the map.
*
2012-03-14 02:56:20 -07:00
* @param marker The marker to center at.
*
2012-03-14 02:56:20 -07:00
* This causes map to jump to the given @p marker's coordinates
* and show it (by scrolling) in the center of the viewport, if it is not
* already centered. This will use animation to do so and take a period
* of time to complete.
*
2012-03-14 02:56:20 -07:00
* @see elm_map_marker_show() for a function to avoid animation.
* @see elm_map_marker_region_get()
*
2012-03-14 02:56:20 -07:00
* @deprecated Use Elm_Map_Overlay instead
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI void elm_map_marker_bring_in(Elm_Map_Marker *marker);
/**
2012-03-14 02:56:20 -07:00
* Show the given marker at the center of the map, @b immediately.
*
2012-03-14 02:56:20 -07:00
* @param marker The marker to center at.
*
2012-03-14 02:56:20 -07:00
* This causes map to @b redraw its viewport's contents to the
* region containing the given @p marker's coordinates, that will be
* moved to the center of the map.
*
2012-03-14 02:56:20 -07:00
* @see elm_map_marker_bring_in() for a function to move with animation.
* @see elm_map_markers_list_show() if more than one marker need to be
* displayed.
* @see elm_map_marker_region_get()
*
2012-03-14 02:56:20 -07:00
* @deprecated Use Elm_Map_Overlay instead
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI void elm_map_marker_show(Elm_Map_Marker *marker);
/**
2012-03-14 02:56:20 -07:00
* Move and zoom the map to display a list of markers.
*
2012-03-14 02:56:20 -07:00
* @param markers A list of #Elm_Map_Marker handles.
*
2012-03-14 02:56:20 -07:00
* The map will be centered on the center point of the markers in the list.
* Then the map will be zoomed in order to fit the markers using the maximum
* zoom which allows display of all the markers.
*
2012-03-14 02:56:20 -07:00
* @warning All the markers should belong to the same map object.
*
2012-03-14 02:56:20 -07:00
* @see elm_map_marker_show() to show a single marker.
* @see elm_map_marker_bring_in()
*
2012-03-14 02:56:20 -07:00
* @deprecated Use Elm_Map_Overlay instead
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI void elm_map_markers_list_show(Eina_List *markers);
/**
2012-03-14 02:56:20 -07:00
* Get the Evas object returned by the Elm_Map_Marker_Get_Func callback
*
2012-03-14 02:56:20 -07:00
* @param marker The marker which content should be returned.
* @return Return the evas object if it exists, else @c NULL.
*
* To set callback function #Elm_Map_Marker_Get_Func for the marker class,
* elm_map_marker_class_get_cb_set() should be used.
*
* This content is what will be inside the bubble that will be displayed
* when an user clicks over the marker.
*
2012-03-14 02:56:20 -07:00
* This returns the actual Evas object used to be placed inside
* the bubble. This may be @c NULL, as it may
* not have been created or may have been deleted, at any time, by
* the map. <b>Do not modify this object</b> (move, resize,
* show, hide, etc.), as the map is controlling it. This
* function is for querying, emitting custom signals or hooking
* lower level callbacks for events on that object. Do not delete
* this object under any circumstances.
*
2012-03-14 02:56:20 -07:00
* @deprecated Use Elm_Map_Overlay instead
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI Evas_Object *elm_map_marker_object_get(const Elm_Map_Marker *marker);
/**
2012-03-14 02:56:20 -07:00
* Update the marker
*
2012-03-14 02:56:20 -07:00
* @param marker The marker to be updated.
*
2012-03-14 02:56:20 -07:00
* If a content is set to this marker, it will call function to delete it,
* #Elm_Map_Marker_Del_Func, and then will fetch the content again with
* #Elm_Map_Marker_Get_Func.
*
2012-03-14 02:56:20 -07:00
* These functions are set for the marker class with
* elm_map_marker_class_get_cb_set() and elm_map_marker_class_del_cb_set().
*
2012-03-14 02:56:20 -07:00
* @deprecated Use Elm_Map_Overlay instead
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI void elm_map_marker_update(Elm_Map_Marker *marker);
/**
2012-03-14 02:56:20 -07:00
* Create a new group class.
*
2012-03-14 02:56:20 -07:00
* @param obj The map object.
* @return Returns the new group class.
*
2012-03-14 02:56:20 -07:00
* Each marker must be associated to a group class. Markers in the same
* group are grouped if they are close.
*
2012-03-14 02:56:20 -07:00
* The group class defines the style of the marker when a marker is grouped
* to others markers. When it is alone, another class will be used.
*
2012-03-14 02:56:20 -07:00
* A group class will need to be provided when creating a marker with
* elm_map_marker_add().
*
2012-03-14 02:56:20 -07:00
* Some properties and functions can be set by class, as:
* - style, with elm_map_group_class_style_set()
* - data - to be associated to the group class. It can be set using
* elm_map_group_class_data_set().
* - min zoom to display markers, set with
* elm_map_group_class_zoom_displayed_set().
* - max zoom to group markers, set using
* elm_map_group_class_zoom_grouped_set().
* - visibility - set if markers will be visible or not, set with
* elm_map_group_class_hide_set().
* - #Elm_Map_Group_Icon_Get_Func - used to fetch icon for markers group classes.
* It can be set using elm_map_group_class_icon_cb_set().
*
2012-03-14 02:56:20 -07:00
* @see elm_map_marker_add()
* @see elm_map_group_class_style_set()
* @see elm_map_group_class_data_set()
* @see elm_map_group_class_zoom_displayed_set()
* @see elm_map_group_class_zoom_grouped_set()
* @see elm_map_group_class_hide_set()
* @see elm_map_group_class_icon_cb_set()
*
2012-03-14 02:56:20 -07:00
* @deprecated Use Elm_Map_Overlay instead
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI Elm_Map_Group_Class *elm_map_group_class_new(Evas_Object *obj);
/**
2012-03-14 02:56:20 -07:00
* Create a new marker class.
*
2012-03-14 02:56:20 -07:00
* @param obj The map object.
* @return Returns the new group class.
*
2012-03-14 02:56:20 -07:00
* Each marker must be associated to a class.
*
2012-03-14 02:56:20 -07:00
* The marker class defines the style of the marker when a marker is
* displayed alone, i.e., not grouped to to others markers. When grouped
* it will use group class style.
*
2012-03-14 02:56:20 -07:00
* A marker class will need to be provided when creating a marker with
* elm_map_marker_add().
*
2012-03-14 02:56:20 -07:00
* Some properties and functions can be set by class, as:
* - style, with elm_map_marker_class_style_set()
* - #Elm_Map_Marker_Icon_Get_Func - used to fetch icon for markers classes.
* It can be set using elm_map_marker_class_icon_cb_set().
* - #Elm_Map_Marker_Get_Func - used to fetch bubble content for marker classes.
* Set using elm_map_marker_class_get_cb_set().
* - #Elm_Map_Marker_Del_Func - used to delete bubble content for marker classes.
* Set using elm_map_marker_class_del_cb_set().
*
2012-03-14 02:56:20 -07:00
* @see elm_map_marker_add()
* @see elm_map_marker_class_style_set()
* @see elm_map_marker_class_icon_cb_set()
* @see elm_map_marker_class_get_cb_set()
* @see elm_map_marker_class_del_cb_set()
*
2012-03-14 02:56:20 -07:00
* @deprecated Use Elm_Map_Overlay instead
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI Elm_Map_Marker_Class *elm_map_marker_class_new(Evas_Object *obj);
/**
2012-03-14 02:56:20 -07:00
* Remove a route from the map.
*
2012-03-14 02:56:20 -07:00
* @param route The route to remove.
*
2012-03-14 02:56:20 -07:00
* @see elm_map_route_add()
* @deprecated Use elm_map_route_del() instead
*
*/
2012-03-14 02:56:20 -07:00
EINA_DEPRECATED EAPI void elm_map_route_remove(Elm_Map_Route *route);
/**
* @deprecated Use elm_object_item_data_get instead.
*/
EINA_DEPRECATED EAPI void * elm_multibuttonentry_item_data_get(const Elm_Object_Item *it);
/**
* @deprecated Use elm_object_item_data_set instead.
*/
EINA_DEPRECATED EAPI void elm_multibuttonentry_item_data_set(Elm_Object_Item *it, void *data);
/**
* @deprecated Use elm_calendar_select_mode_set instead.
*/
EINA_DEPRECATED EAPI void elm_calendar_day_selection_disabled_set(Evas_Object *obj, Eina_Bool disabled);
/**
* @deprecated Use elm_calendar_select_mode_get instead.
*/
EINA_DEPRECATED EAPI Eina_Bool elm_calendar_day_selection_disabled_get(const Evas_Object *obj);
/**
* @deprecated Possible orient values for notify.
*
* This values should be used in conjunction to elm_notify_orient_set() to
* set the position in which the notify should appear(relative to its parent)
* and in conjunction with elm_notify_orient_get() to know where the notify
* is appearing.
*/
typedef enum
{
ELM_NOTIFY_ORIENT_TOP, /**< Notify should appear in the top of parent, default */
ELM_NOTIFY_ORIENT_CENTER, /**< Notify should appear in the center of parent */
ELM_NOTIFY_ORIENT_BOTTOM, /**< Notify should appear in the bottom of parent */
ELM_NOTIFY_ORIENT_LEFT, /**< Notify should appear in the left of parent */
ELM_NOTIFY_ORIENT_RIGHT, /**< Notify should appear in the right of parent */
ELM_NOTIFY_ORIENT_TOP_LEFT, /**< Notify should appear in the top left of parent */
ELM_NOTIFY_ORIENT_TOP_RIGHT, /**< Notify should appear in the top right of parent */
ELM_NOTIFY_ORIENT_BOTTOM_LEFT, /**< Notify should appear in the bottom left of parent */
ELM_NOTIFY_ORIENT_BOTTOM_RIGHT, /**< Notify should appear in the bottom right of parent */
ELM_NOTIFY_ORIENT_LAST /**< Sentinel value, @b don't use */
} Elm_Notify_Orient;
/**
* @deprecated Use elm_notify_align_set instead.
*/
EINA_DEPRECATED EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient);
/**
* @deprecated Use elm_notify_align_get instead.
*/
EINA_DEPRECATED EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj);
/**
* @brief Set slide effect of label widget.
*
* @param obj The label object
* @param slide If true, slide effect will be shown
*
* If set to true, the text of the label will slide/scroll through the length of
* label.
*
* @warning This only works with the themes "slide_short", "slide_long" and
* "slide_bounce".
* @warning This doesn't work if the line wrap(elm_label_line_wrap_set()) or
* ellipsis(elm_label_ellipsis_set()) is set.
*
* @deprecated see elm_label_slide_mode_set() instead.
*
* @ingroup Label
*/
EINA_DEPRECATED EAPI void elm_label_slide_set(Evas_Object *obj, Eina_Bool slide);
/**
* @brief Get whether slide effect is shown or not.
*
* @param obj The label object
* @return If true, slide effect is shown.
*
* @see elm_label_slide_set()
*
* @deprecated see elm_label_slide_mode_get() instead.
*
* @ingroup Label
*/
EINA_DEPRECATED EAPI Eina_Bool elm_label_slide_get(const Evas_Object *obj);
/**
* Set the text for an object's part, marking it as translatable.
*
* The string to set as @p text must be the original one. Do not pass the
* return of @c gettext() here. Elementary will translate the string
* internally and set it on the object using elm_object_part_text_set(),
* also storing the original string so that it can be automatically
* translated when the language is changed with elm_language_set().
*
* The @p domain will be stored along to find the translation in the
* correct catalog. It can be NULL, in which case it will use whatever
* domain was set by the application with @c textdomain(). This is useful
* in case you are building a library on top of Elementary that will have
* its own translatable strings, that should not be mixed with those of
* programs using the library.
*
* @param obj The object containing the text part
* @param part The name of the part to set
* @param domain The translation domain to use
* @param text The original, non-translated text to set
*
* @deprecated Use elm_object_domain_translatable_part_text_set() instead.
*
* @ingroup General
*/
EINA_DEPRECATED EAPI void elm_object_domain_translatable_text_part_set(Evas_Object *obj, const char *part, const char *domain, const char *text);
/**
* Gets the original string set as translatable for an object
*
* When setting translated strings, the function elm_object_part_text_get()
* will return the translation returned by @c gettext(). To get the
* original string use this function.
*
* @param obj The object
* @param part The name of the part that was set
*
* @return The original, untranslated string
*
* @deprecated Use elm_object_translatable_part_text_get() instead.
*
* @ingroup General
*/
EAPI const char *elm_object_translatable_text_part_get(const Evas_Object *obj, const char *part);