forked from enlightenment/efl
naviframe: Emit visible signal to edc theme when first item is pushed
Summary: Emit "elm,state,visible" "elm" signal to edc file when first item is pushed. Above signal can be used if an application wants to do something when the first view is shown on the screen. @fix Reviewers: Hermet, seoz, raster CC: seoz, raster Differential Revision: https://phab.enlightenment.org/D483
This commit is contained in:
parent
80f077cbec
commit
4002cb2c5a
|
@ -1553,6 +1553,9 @@ _item_push(Eo *obj, void *_pd, va_list *list)
|
|||
|
||||
sd->stack = eina_inlist_append(sd->stack, EINA_INLIST_GET(it));
|
||||
|
||||
if (!prev_it)
|
||||
elm_object_signal_emit(VIEW(it), "elm,state,visible", "elm");
|
||||
|
||||
elm_layout_sizing_eval(obj);
|
||||
|
||||
*ret = (Elm_Object_Item *)it;
|
||||
|
|
Loading…
Reference in New Issue