From 65847559f2da763dfb832d98437b1dd96a45c30c Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Tue, 5 Dec 2017 19:23:35 +0530 Subject: [PATCH] elm: access: naviframe: add API elm_object_part_access_object_get Change-Id: I585bf7a58fab7311c27f223b6a178e122485a2fb Signed-off-by: Shilpa Singh --- src/lib/elementary/elc_naviframe.c | 14 ++++++++++++++ src/lib/elementary/elm_naviframe.eo | 3 +++ 2 files changed, 17 insertions(+) diff --git a/src/lib/elementary/elc_naviframe.c b/src/lib/elementary/elc_naviframe.c index f46a226..8a9bee7 100644 --- a/src/lib/elementary/elc_naviframe.c +++ b/src/lib/elementary/elc_naviframe.c @@ -1400,6 +1400,20 @@ _on_obj_size_hints_changed(void *data EINA_UNUSED, Evas *e EINA_UNUSED, _item_dispmode_set(it, dispmode); } + +//TIZEN_ONLY(20161208): add API elm_object_part_access_object_get +EOLIAN static Evas_Object* +_elm_naviframe_elm_widget_part_access_object_get(const Eo *obj, Elm_Naviframe_Data *_pd EINA_UNUSED, const char *part) +{ + Elm_Object_Item *eo_top_it = NULL; + eo_top_it = elm_naviframe_top_item_get(obj); + if (!eo_top_it) return NULL; + + ELM_NAVIFRAME_ITEM_DATA_GET(eo_top_it, top_it); + return _access_object_get(top_it, part); +} +// + EOLIAN static void _elm_naviframe_efl_canvas_group_group_add(Eo *obj, Elm_Naviframe_Data *priv) { diff --git a/src/lib/elementary/elm_naviframe.eo b/src/lib/elementary/elm_naviframe.eo index 8074c97..87435e6 100644 --- a/src/lib/elementary/elm_naviframe.eo +++ b/src/lib/elementary/elm_naviframe.eo @@ -152,6 +152,9 @@ class Elm.Naviframe (Efl.Ui.Layout, Efl.Access.Widget.Action) //register/unregister access objects accordingly. Elm.Widget.atspi; // + //TIZEN_ONLY(20161208): add API elm_object_part_access_object_get + Elm.Widget.part_access_object_get; + // Efl.Layout.Signal.signal_emit; Efl.Access.Widget.Action.elm_actions { get; } Elm.Widget.resize_object { set; } -- 2.7.4