summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaehyub Kim <taehyub.kim@samsung.com>2017-10-26 16:32:58 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-11-28 17:15:42 +0900
commit8301e66d878cf73ef08ce271b24eccd220f3a8f6 (patch)
tree1041f385d380c8de682773af1d1d8012945d20ec
parent27c0c90423bd399d463435a193ad6634da8941ab (diff)
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
-rw-r--r--src/lib/elementary/efl_ui_popup.c1
-rw-r--r--src/lib/elementary/efl_ui_popup.eo1
2 files changed, 2 insertions, 0 deletions
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
131_timer_cb(void *data) 131_timer_cb(void *data)
132{ 132{
133 Eo *popup = data; 133 Eo *popup = data;
134 efl_event_callback_call(popup, EFL_UI_POPUP_EVENT_TIMEOUT, NULL);
134 efl_del(popup); 135 efl_del(popup);
135 136
136 return ECORE_CALLBACK_CANCEL; 137 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)
67 } 67 }
68 events { 68 events {
69 bg,clicked; [[This is called whenever the user click background of popup.]] 69 bg,clicked; [[This is called whenever the user click background of popup.]]
70 timeout; [[This is called when popup times out.]]
70 } 71 }
71} 72}