forked from enlightenment/efl
[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:
parent
0e209af100
commit
45b38d3403
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue