Eina_List *l;
Elm_Ctxpopup_Item_Data *it;
- if (sd->auto_hide) evas_object_hide(obj);
+ if (sd->auto_hide)
+ {
+ evas_object_hide(obj);
+ eo_do(obj, eo_event_callback_call(ELM_CTXPOPUP_EVENT_DISMISSED, NULL));
+ }
EINA_LIST_FOREACH(sd->items, l, it)
eo_do(EO_OBJ(it), elm_wdg_item_translate());
if (sd->auto_hide)
{
- _hide_signals_emit(data, sd->dir);
-
sd->dir = ELM_CTXPOPUP_DIRECTION_UNKNOWN;
evas_object_hide(data);
ERR("could not add %p as sub object of %p", obj, elm_object_parent_widget_get(obj));
elm_layout_theme_set(obj, "ctxpopup", "base", elm_widget_style_get(obj));
- elm_layout_signal_callback_add
- (obj, "elm,action,hide,finished", "", _hide_finished_cb, obj);
//Background
priv->bg = edje_object_add(evas_object_evas_get(obj));