[access][naviframe] export access object of title text.

we would need a function to export access object which is inside of widget


SVN revision: 83513
This commit is contained in:
Shinwoo Kim 2013-01-31 11:35:26 +00:00
parent 0e209af100
commit 45b38d3403
1 changed files with 6 additions and 0 deletions

View File

@ -342,6 +342,8 @@ _access_obj_process(Elm_Naviframe_Item *it, Eina_Bool is_access)
ELM_ACCESS_TYPE, E_("Title"));
_elm_access_callback_set(_elm_access_object_get(ao),
ELM_ACCESS_INFO, _access_info_cb, VIEW(it));
/* to access title access object, any idea? */
((Elm_Widget_Item *)it)->access_obj = ao;
}
}
else
@ -349,6 +351,10 @@ _access_obj_process(Elm_Naviframe_Item *it, Eina_Bool is_access)
if (it->title_label)
_elm_access_edje_object_part_object_unregister
(WIDGET(it), elm_layout_edje_get(VIEW(it)), TITLE_ACCESS_PART);
/* to access title access object, any idea? */
ao = ((Elm_Widget_Item *)it)->access_obj;
if (!ao) return;
evas_object_del(ao);
}
}