Simple popup with defined text
Simple popup with defined text, closes on back button press.
static void
create_popup(Evas_Object *parent, char* text) {
Evas_Object *popup;
popup = elm_popup_add(parent);
elm_popup_align_set(popup, ELM_NOTIFY_ALIGN_FILL, 1.0);
eext_object_event_callback_add(popup, EEXT_CALLBACK_BACK, eext_popup_back_cb, parent);
evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_object_text_set(popup, text);
evas_object_show(popup);
}