T531 - Elemntary_popup does not respond to 'close' event
authorSanjeev BA <iamsanjeev@gmail.com>
Thu, 21 Nov 2013 21:16:49 +0000 (06:16 +0900)
committerSanjeev BA <iamsanjeev@gmail.com>
Thu, 21 Nov 2013 21:16:49 +0000 (06:16 +0900)
Reviewers: seoz, raster

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D344

src/examples/popup_example_02.c

index 9b409a2..e24128f 100644 (file)
@@ -54,6 +54,7 @@ elm_main(int argc, char **argv)
    elm_object_text_set(btn3, "Close");
    // Setting this action button
    elm_object_part_content_set(popup, "button3", btn3);
+   evas_object_smart_callback_add(btn3, "clicked", _response_cb, popup);
    // Setting the orientation of popup to Top
    elm_popup_orient_set(popup, ELM_POPUP_ORIENT_TOP);
    // Display the popup object