[E-devel] edje_object_part_unswallow question
Hi all, I have a litle question about edje and his way to swallow/unswallow evas objects. After doing some test I think that when I called edje_object_unswallow, this object is shown after calling edje_object_part_unswallow. If this object is always visible they are no problem, but what I must do if i want for example that this object stay completly hide (keep the state just before it was unswallowed) ? I have attached an example where i reproduce this. This is maybe not an issue, and I have missunderstood some concemt of edje/evas, if someone could enlighten me on this, it could be fine :) make to compile and ./swallow-test to execute it Press key 'q' to quit the programm and 'a' to change rects. If this behaviour is completly normal, how I can do, to have only one Rect at a time in this example with fade out/fadei in effect? Thanks, Nico test-swallow.tar.gz Description: application/compressed-tar - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje_object_part_unswallow question
On 9/11/07, Nicolas Aguirre [EMAIL PROTECTED] wrote: Hi all, I have a litle question about edje and his way to swallow/unswallow evas objects. After doing some test I think that when I called edje_object_unswallow, this object is shown after calling edje_object_part_unswallow. If this object is always visible they are no problem, but what I must do if i want for example that this object stay completly hide (keep the state just before it was unswallowed) ? I have attached an example where i reproduce this. This is maybe not an issue, and I have missunderstood some concemt of edje/evas, if someone could enlighten me on this, it could be fine :) make to compile and ./swallow-test to execute it Press key 'q' to quit the programm and 'a' to change rects. If this behaviour is completly normal, how I can do, to have only one Rect at a time in this example with fade out/fadei in effect? Sorry, I have no time to read your code yet, but when you unswallow, you also loose your clippers and thus modifiers. Usually you can have objects visible, but they're clipped to a hidden clipper, then it will be hidden. If you unswallow, you'll see this object visible again. This is the implemented and expected behavior. -- Gustavo Sverzut Barbieri -- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje_object_part_unswallow question
Le mardi 11 septembre 2007 à 15:44 -0300, Gustavo Sverzut Barbieri a écrit : Sorry, I have no time to read your code yet, but when you unswallow, you also loose your clippers and thus modifiers. Usually you can have objects visible, but they're clipped to a hidden clipper, then it will be hidden. If you unswallow, you'll see this object visible again. This is the implemented and expected behavior. I understand that, in case this object is visible he will be visible again after unswallow. but what happen's if my object is hide by default. I just create a RECT, give it a color, and call evas_object_hide on it. I swallow it in edje part and some seconds later, I unswallow it ? In my example he is shown again. It is also expected bahaviour ? Or object has lost all his previous properties just after to have been swallowed? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje_object_part_unswallow question
Le mardi 11 septembre 2007 à 21:10 +0200, Nicolas Aguirre a écrit : Le mardi 11 septembre 2007 à 15:44 -0300, Gustavo Sverzut Barbieri a écrit : Sorry, I have no time to read your code yet, but when you unswallow, you also loose your clippers and thus modifiers. Usually you can have objects visible, but they're clipped to a hidden clipper, then it will be hidden. If you unswallow, you'll see this object visible again. This is the implemented and expected behavior. I understand that, in case this object is visible he will be visible again after unswallow. but what happen's if my object is hide by default. I just create a RECT, give it a color, and call evas_object_hide on it. I swallow it in edje part and some seconds later, I unswallow it ? In my example he is shown again. It is also expected bahaviour ? Or object has lost all his previous properties just after to have been swallowed? I finally have found a solution, by calling edje_object_part_swallow_get just before unswallow it. So I can do what I want just after unswallow it, like hide him again. Thanks for your help, I have attached my previous example corrected, for those who are interested. Nico test-swallow.2.tar.gz Description: application/compressed-tar - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel