On Sat, 27 Jul 2019 09:19:24 +0200 Pierre Couderc <pie...@couderc.eu> said:

> In order to gently close an auxiliary thread, I need to know when then 
> user has clicked on the X of the mainĀ  window.
> 
> How do I do that?
> 
> Thanks for help

2 ways pretty much.

1. set autodel to true on the window and then listen for the evas object del
event on the window object and in this callback do whatever you need to.
2. listen to the "delete,request" smart callback on the window, then inside
this callback delete the window object and ... do whatever u need to.

pick your poison. :)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



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

Reply via email to