From f6d4074dfc36ad189b35a00a0a9656cace462b03 Mon Sep 17 00:00:00 2001 From: seoz Date: Tue, 10 Jan 2012 15:34:35 +0000 Subject: [PATCH] elm entry: Refined entry documentation. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@67019 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_deprecated.h | 12 ++++++------ src/lib/elm_entry.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib/elm_deprecated.h b/src/lib/elm_deprecated.h index b0da20e..7629d37 100644 --- a/src/lib/elm_deprecated.h +++ b/src/lib/elm_deprecated.h @@ -3175,7 +3175,7 @@ EINA_DEPRECATED EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_mode_shrink_get(co * @note If the object being set does not have minimum size hints set, * it won't get properly displayed. * - * @deprecated Use elm_object_part_content_set() instead + * @deprecated Use elm_object_part_content_set(entry, "icon", content) instead * @see elm_entry_end_set() */ EINA_DEPRECATED EAPI void elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon); @@ -3187,7 +3187,7 @@ EINA_DEPRECATED EAPI void elm_entry_icon_set(Evas_Object *obj, Eva * @param obj The scrolled entry object * @return the left widget inside the scroller * - * @deprecated Use elm_object_part_content_get() instead + * @deprecated Use elm_object_part_content_get(entry, "icon") instead */ EINA_DEPRECATED EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj); @@ -3199,7 +3199,7 @@ EINA_DEPRECATED EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *ob * @return the previously set icon sub-object of this entry, on * success. * - * @deprecated Use elm_object_part_content_unset() instead + * @deprecated Use elm_object_part_content_unset(entry, "icon") instead * @see elm_entry_icon_set() */ EINA_DEPRECATED EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj); @@ -3215,7 +3215,7 @@ EINA_DEPRECATED EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj); * @note If the object being set does not have minimum size hints set, * it won't get properly displayed. * - * @deprecated Use elm_object_part_content_set() instead + * @deprecated Use elm_object_part_content_set(entry, "end", content) instead * @see elm_entry_icon_set */ EINA_DEPRECATED EAPI void elm_entry_end_set(Evas_Object *obj, Evas_Object *end); @@ -3227,7 +3227,7 @@ EINA_DEPRECATED EAPI void elm_entry_end_set(Evas_Object *obj, Evas * @param obj The scrolled entry object * @return the right widget inside the scroller * - * @deprecated Use elm_object_part_content_get() instead + * @deprecated Use elm_object_part_content_get(entry, "end") instead */ EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj); @@ -3239,7 +3239,7 @@ EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj); * @return the previously set icon sub-object of this entry, on * success. * - * @deprecated Use elm_object_part_content_unset() instead + * @deprecated Use elm_object_part_content_unset(entry, "end") instead * @see elm_entry_icon_set() */ EINA_DEPRECATED EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj); diff --git a/src/lib/elm_entry.h b/src/lib/elm_entry.h index 20f1c5d..29c1028 100644 --- a/src/lib/elm_entry.h +++ b/src/lib/elm_entry.h @@ -1018,7 +1018,7 @@ EAPI void elm_entry_icon_visible_set(Evas_Object *obj, Eina_Bool s /** * Sets the visibility of the end widget of the scrolled entry, set by - * elm_entry_end_set(). + * elm_object_part_content_set(ent, "end", content). * * @param obj The scrolled entry object * @param setting EINA_TRUE if the object should be displayed, -- 2.7.4