jaehwan pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=f6b11954d6b2e1653aa1354ea28d3370c7649673
commit f6b11954d6b2e1653aa1354ea28d3370c7649673 Author: JinsolPark <jin_sol.p...@samsung.com> Date: Wed Apr 1 17:05:17 2015 +0900 elm_object_access_info_get() API add Summary: Adding a get API because of having only elm_object_access_info_get(). Reviewers: jaehwan, kimcinoo Differential Revision: https://phab.enlightenment.org/D2271 --- src/lib/elm_main.c | 6 ++++++ src/lib/elm_object.h | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c index 67d46f2..268a32e 100644 --- a/src/lib/elm_main.c +++ b/src/lib/elm_main.c @@ -1698,6 +1698,12 @@ elm_object_access_info_set(Evas_Object *obj, const char *txt) elm_widget_access_info_set(obj, txt); } +EAPI const char * +elm_object_access_info_get(Evas_Object *obj) +{ + return elm_widget_access_info_get(obj); +} + EAPI Evas_Object * elm_object_name_find(const Evas_Object *obj, const char *name, int recurse) { diff --git a/src/lib/elm_object.h b/src/lib/elm_object.h index 81896c1..e846ce1 100644 --- a/src/lib/elm_object.h +++ b/src/lib/elm_object.h @@ -181,6 +181,16 @@ EAPI Evas_Object *elm_object_part_content_unset(Evas_Object *obj EAPI void elm_object_access_info_set(Evas_Object *obj, const char *txt); /** + * Get the text to read out when in accessibility mode + * + * @param obj The object which is to be described + * @return The text that describes the widget to people with poor or no vision + * + * @ingroup General + */ +EAPI const char *elm_object_access_info_get(Evas_Object *obj); + +/** * Get a named object from the children * * @param obj The parent object whose children to look at --