elementary/fileselector_button, fileselector_entry - deprecated APIs.
[framework/uifw/elementary.git] / src / lib / elm_deprecated.h
index 427af08..29ef155 100644 (file)
@@ -454,6 +454,48 @@ EINA_DEPRECATED EAPI void        elm_fileselector_button_label_set(Evas_Object *
 EINA_DEPRECATED EAPI const char *elm_fileselector_button_label_get(const Evas_Object *obj);
 
 /**
+ * Set the icon on a given file selector button widget
+ *
+ * @param obj The file selector button widget
+ * @param icon The icon object for the button
+ *
+ * Once the icon object is set, a previously set one will be
+ * deleted. If you want to keep the latter, use the
+ * elm_fileselector_button_icon_unset() function.
+ *
+ * @deprecated Use elm_object_part_content_set() instead
+ * @see elm_fileselector_button_icon_get()
+ */
+EINA_DEPRECATED EAPI void                        elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon);
+
+/**
+ * Get the icon set for a given file selector button widget
+ *
+ * @param obj The file selector button widget
+ * @return The icon object currently set on @p obj or @c NULL, if
+ * none is
+ *
+ * @deprecated Use elm_object_part_content_get() instead
+ * @see elm_fileselector_button_icon_set()
+ */
+EINA_DEPRECATED EAPI Evas_Object                *elm_fileselector_button_icon_get(const Evas_Object *obj);
+
+/**
+ * Unset the icon used in a given file selector button widget
+ *
+ * @param obj The file selector button widget
+ * @return The icon object that was being used on @p obj or @c
+ * NULL, on errors
+ *
+ * Unparent and return the icon object which was set for this
+ * widget.
+ *
+ * @deprecated Use elm_object_part_content_unset() instead
+ * @see elm_fileselector_button_icon_set()
+ */
+EINA_DEPRECATED EAPI Evas_Object                *elm_fileselector_button_icon_unset(Evas_Object *obj);
+
+/**
  * Set the label for a given file selector entry widget's button
  *
  * @param obj The file selector entry widget
@@ -475,6 +517,49 @@ EINA_DEPRECATED EAPI void        elm_fileselector_entry_button_label_set(Evas_Ob
 EINA_DEPRECATED EAPI const char *elm_fileselector_entry_button_label_get(const Evas_Object *obj);
 
 /**
+ * Set the icon on a given file selector entry widget's button
+ *
+ * @param obj The file selector entry widget
+ * @param icon The icon object for the entry's button
+ *
+ * Once the icon object is set, a previously set one will be
+ * deleted. If you want to keep the latter, use the
+ * elm_fileselector_entry_button_icon_unset() function.
+ *
+ * @deprecated Use elm_object_part_content_set() instead
+ * @see elm_fileselector_entry_button_icon_get()
+ */
+EINA_DEPRECATED EAPI void                        elm_fileselector_entry_button_icon_set(Evas_Object *obj, Evas_Object *icon);
+
+/**
+ * Get the icon set for a given file selector entry widget's button
+ *
+ * @param obj The file selector entry widget
+ * @return The icon object currently set on @p obj widget's button
+ * or @c NULL, if none is
+ *
+ * @deprecated Use elm_object_part_content_get() instead
+ * @see elm_fileselector_entry_button_icon_set()
+ */
+EINA_DEPRECATED EAPI Evas_Object                *elm_fileselector_entry_button_icon_get(const Evas_Object *obj);
+
+/**
+ * Unset the icon used in a given file selector entry widget's
+ * button
+ *
+ * @param obj The file selector entry widget
+ * @return The icon object that was being used on @p obj widget's
+ * button or @c NULL, on errors
+ *
+ * Unparent and return the icon object which was set for this
+ * widget's button.
+ *
+ * @deprecated Use elm_object_part_content_unset() instead
+ * @see elm_fileselector_entry_button_icon_set()
+ */
+EINA_DEPRECATED EAPI Evas_Object                *elm_fileselector_entry_button_icon_unset(Evas_Object *obj);
+
+/**
  * @brief Set the hoversel button label
  *
  * @param obj The hoversel object