Hi,

On Sunday, June 27th, 2021 at 8:45 AM, Andreas Volz <li...@brachttal.net> wrote:
> two questions together after switching to the C++ version of the unified
> API.
> 

> How could I receive the "delete,request" signal to catch of a user
> clicks the X from the window and do something before quitting. With the
> old API I did this somehow with evas_object_smart_callback_call() if I
> remember correct.

With the new API, we have an explicit lifecycle definition. I don't remember
how it is defined in C++, but in C, we do have a macro EFL_MAIN_EX() which
will call the following function:
- efl_main: at startup just before the main loop start
- efl_terminate: when the application is closed
- efl_pause: when the application can reduce is paused (on desktop this is
related to being minimized)
- efl_resume: the inverse of pause to get things back to speed
 

> How to I create a shaped window. Before I called elm_win_shaped_set(),
> but now I didn't find a function. Maybe I overlooked it. Is this at the
> end the same as alpha on modern systems?

That I don't know.

Cedric

Attachment: publickey - cedric@ddlm.me - 0x1869A77F.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to