On Sun, Aug 9, 2009 at 7:52 PM, Diego Jacobi<[email protected]> wrote:
> Thanks both.
>
> I can now resize.
> Wasnt so hard, so sry for the noob question.
>
> I tryed now the "modern" way, and i noted something:
>
> The next code, doesnt finish the application if i close it. The
> windows disappears but the process still alive.
>
>       edje = edje_object_add(evas);
>       ecore_evas_object_associate( ee, edje, ECORE_EVAS_OBJECT_ASSOCIATE_DEL
>                                            | ECORE_EVAS_OBJECT_ASSOCIATE_LAYER
>                                            | ECORE_EVAS_OBJECT_ASSOCIATE_STACK
>                                            |
> ECORE_EVAS_OBJECT_ASSOCIATE_BASE );
>
> The next code, will resize too, but it will terminate the application
> when closing it.
>
>   edje = edje_object_add(evas);
>       ecore_evas_object_associate( ee, edje, ECORE_EVAS_OBJECT_ASSOCIATE_LAYER
>                                            | ECORE_EVAS_OBJECT_ASSOCIATE_STACK
>                                            |
> ECORE_EVAS_OBJECT_ASSOCIATE_BASE );
>
>
> So what is  " ECORE_EVAS_OBJECT_ASSOCIATE_DEL " for?
> I was expecting something like "delete the asociated object with the ee".

it does that, you can read ecore_evas_util.c and elm_win.c as one is
the provider and the other is the user of it. As the doc says, you can
use EVAS_CALLBACK_FREE and call ecore_main_loop_quit() if you wish.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to