Notification popup
Creating notification popup using EFL. Close the popup with hardware back key.
12345678910111213141516#include <efl_extension.h>static void notification_popup(struct appdata *ad, char *title, char *message) {Evas_Object *popup = NULL, *content = NULL;popup = elm_popup_add(ad->win);elm_object_part_text_set(popup, "title,text", title);elm_popup_orient_set(popup, ELM_POPUP_ORIENT_CENTER);content = elm_label_add(ad->win);elm_object_text_set(content, message);elm_object_content_set(popup, content);elm_object_style_set(popup, "toast");eext_object_event_callback_add(popup, EEXT_CALLBACK_BACK, eext_popup_back_cb, NULL);evas_object_show(popup);}