elm_object_signal_emit(VIEW(prev_it), "elm,state,visible", "elm");
//
+ //TIZEN_ONLY(20171019): add state_notify api
+ if (_elm_atspi_enabled())
+ eo_do(VIEW(prev_it), elm_interface_atspi_accessible_state_notify(
+ ATSPI_STATE(ELM_ATSPI_STATE_SHOWING) | ATSPI_STATE(ELM_ATSPI_STATE_VISIBLE), EINA_TRUE));
+ //
+
eo_do(WIDGET(prev_it), eo_event_callback_call(ELM_NAVIFRAME_EVENT_ITEM_ACTIVATED, EO_OBJ(prev_it)));
}
sd->popping = eina_list_remove(sd->popping, it);
eo_do(EO_OBJ(it), elm_wdg_item_del());
-
- //TIZEN_ONLY(20161122): add state_notify api
- Eo *eo_top = elm_naviframe_top_item_get(widget);
- if (eo_top)
- {
- ELM_NAVIFRAME_ITEM_DATA_GET(eo_top, top);
- _elm_win_default_label_obj_append(VIEW(top));
-
- if (_elm_atspi_enabled())
- {
- eo_do(VIEW(top), elm_interface_atspi_accessible_state_notify(
- ATSPI_STATE(ELM_ATSPI_STATE_SHOWING) | ATSPI_STATE(ELM_ATSPI_STATE_VISIBLE), EINA_TRUE));
- }
- }
- //
}
/* "elm,state,new,pushed",
evas_object_freeze_events_set(VIEW(it), EINA_FALSE);
it->pushing = EINA_FALSE;
-
- eo_do(WIDGET(it), eo_event_callback_call(ELM_NAVIFRAME_EVENT_TRANSITION_FINISHED, EO_OBJ(it)));
-
+ //TIZEN_ONLY(20161122): add state_notify api
if (EO_OBJ(it) == elm_naviframe_top_item_get(WIDGET(it)))
{
- eo_do(WIDGET(it), eo_event_callback_call(ELM_NAVIFRAME_EVENT_ITEM_ACTIVATED, EO_OBJ(it)));
- //TIZEN_ONLY(20170919): Handle default label object
_elm_win_default_label_obj_append(VIEW(it));
- //
+
+ if (_elm_atspi_enabled())
+ {
+ eo_do(VIEW(it), elm_interface_atspi_accessible_state_notify(
+ ATSPI_STATE(ELM_ATSPI_STATE_SHOWING) | ATSPI_STATE(ELM_ATSPI_STATE_VISIBLE), EINA_TRUE));
+ }
}
+ //
+
+ eo_do(WIDGET(it), eo_event_callback_call(ELM_NAVIFRAME_EVENT_TRANSITION_FINISHED, EO_OBJ(it)));
+
+ if (EO_OBJ(it) == elm_naviframe_top_item_get(WIDGET(it)))
+ eo_do(WIDGET(it), eo_event_callback_call(ELM_NAVIFRAME_EVENT_ITEM_ACTIVATED, EO_OBJ(it)));
}
static void
if (!top_item)
{
+ //TIZEN_ONLY(20170919): Handle default label object
+ _elm_win_default_label_obj_append(VIEW(item));
+ //
eo_do(obj, eo_event_callback_call(ELM_NAVIFRAME_EVENT_ITEM_ACTIVATED, EO_OBJ(item)));
- //TIZEN_ONLY(20170919): Handle default label object
- _elm_win_default_label_obj_append(VIEW(item));
- //
}
}
_resize_object_reset(obj, it);
evas_object_show(VIEW(it));
evas_object_hide(VIEW(after));
+ //TIZEN_ONLY(20171019): add state_notify api
+ if (_elm_atspi_enabled())
+ eo_do(VIEW(after), elm_interface_atspi_accessible_state_notify(
+ ATSPI_STATE(ELM_ATSPI_STATE_SHOWING) | ATSPI_STATE(ELM_ATSPI_STATE_VISIBLE), EINA_TRUE));
+ //
if (elm_object_focus_allow_get(VIEW(it)))
elm_object_focus_set(VIEW(it), EINA_TRUE);
else
elm_layout_sizing_eval(obj);
if (top_inserted)
- eo_do(obj, eo_event_callback_call(ELM_NAVIFRAME_EVENT_ITEM_ACTIVATED, eo_item));
+ {
+ //TIZEN_ONLY(20171019): Handle default label object
+ _elm_win_default_label_obj_append(VIEW(it));
+ if (_elm_atspi_enabled())
+ eo_do(VIEW(it), elm_interface_atspi_accessible_state_notify(
+ ATSPI_STATE(ELM_ATSPI_STATE_SHOWING) | ATSPI_STATE(ELM_ATSPI_STATE_VISIBLE), EINA_TRUE));
+ //
+ eo_do(obj, eo_event_callback_call(ELM_NAVIFRAME_EVENT_ITEM_ACTIVATED, eo_item));
+ }
return eo_item;
}