jaehyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8301e66d878cf73ef08ce271b24eccd220f3a8f6

commit 8301e66d878cf73ef08ce271b24eccd220f3a8f6
Author: Taehyub Kim <taehyub....@samsung.com>
Date:   Thu Oct 26 16:32:58 2017 +0900

    efl_ui_popup: add timeout signal
    
    Summary: add the timeout signal for user notification
    
    Reviewers: Jaehyun_Cho, jpeg, cedric, Blackmole, thiepha, woohyun
    
    Reviewed By: Jaehyun_Cho
    
    Differential Revision: https://phab.enlightenment.org/D5372
---
 src/lib/elementary/efl_ui_popup.c  | 1 +
 src/lib/elementary/efl_ui_popup.eo | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/lib/elementary/efl_ui_popup.c 
b/src/lib/elementary/efl_ui_popup.c
index 7d59be8a7c..c8f4b56092 100644
--- a/src/lib/elementary/efl_ui_popup.c
+++ b/src/lib/elementary/efl_ui_popup.c
@@ -131,6 +131,7 @@ static Eina_Bool
 _timer_cb(void *data)
 {
    Eo *popup = data;
+   efl_event_callback_call(popup, EFL_UI_POPUP_EVENT_TIMEOUT, NULL);
    efl_del(popup);
 
    return ECORE_CALLBACK_CANCEL;
diff --git a/src/lib/elementary/efl_ui_popup.eo 
b/src/lib/elementary/efl_ui_popup.eo
index 8f2a23778d..39be8faec2 100644
--- a/src/lib/elementary/efl_ui_popup.eo
+++ b/src/lib/elementary/efl_ui_popup.eo
@@ -67,5 +67,6 @@ class Efl.Ui.Popup(Efl.Ui.Layout)
    }
    events {
       bg,clicked; [[This is called whenever the user click background of 
popup.]]
+      timeout; [[This is called when popup times out.]]
    }
 }

-- 


Reply via email to