WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=b0915abd51807a4117380a1686cc871e43b1d960
commit b0915abd51807a4117380a1686cc871e43b1d960 Author: Stephen M Houston <[email protected]> Date: Mon Feb 12 13:58:19 2018 -0800 Wiki page sandbox_gadgets.md changed with summary [] by Stephen M Houston --- pages/develop/e/sandbox_gadgets.md.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/develop/e/sandbox_gadgets.md.txt b/pages/develop/e/sandbox_gadgets.md.txt index 06dc6def3..199724fcd 100644 --- a/pages/develop/e/sandbox_gadgets.md.txt +++ b/pages/develop/e/sandbox_gadgets.md.txt @@ -311,7 +311,7 @@ static E_Gadget_Site_Anchor ganchor; static Evas_Object *popup; static void -popup_focus_out(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED) +popup_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED) { evas_object_del(obj); } @@ -329,7 +329,7 @@ on_click(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) } popup = elm_win_add(win, "Popup", ELM_WIN_BASIC); elm_win_alpha_set(popup, 1); - evas_object_event_callback_add(popup, EVAS_CALLBACK_FOCUS_OUT, popup_focus_out, NULL); + evas_object_event_callback_add(popup, EVAS_CALLBACK_HIDE, popup_del, NULL); box = elm_box_add(popup); elm_box_horizontal_set(box, EINA_FALSE); @@ -525,7 +525,7 @@ ELM_MAIN() The ``on_clicked`` function has been changed from the original Hello World application to show a popup that says "This is a popup". If the popup already exists, clicking the gadget closes the popup. -The ``popup_focus_out`` function has been added to make sure when the gadget popup is unfocused it is properly destroyed. +The ``popup_del`` function has been added to make sure when the gadget popup is hidden it is properly destroyed. ## Installing Gadgets ## --
