On Sun, Jul 26, 2009 at 5:46 PM, <t...@hiddenrock.com> wrote:
> The following is a group from a .edc file I'm using that is exhibiting
> behavior confusing to me.  I have a SWALLOW object with an image in it, and
> when I call the "selected_on" program, I want the "selector" part shown on
> top, which will obscure the image a bit.  This works, initially.  However, if
> I move the object, it appears as if the "selector" part is no longer on top of
> the "card" part, because the former doesn't show up when the appropriate
> program is called.  If I add "card" as a target for the program, the card
> disappears and the selector alpha rect shows up, which implies to me that it's
> underneath the card.
>
> I thought parts within a group were ordered such that lower parts were on top.
> What am I missing?

I have not tried it myself, but I'd say don't trust SWALLOW parts
events as it will depend on the swallowed part. Instead just add a
part on top that catch events, it can be transparent (color: 0 0 0 0;)
and if you want events to be repeated to parts below, just use
repeat_events:1;

BTW, comma notation is deprecated, use ":" instead.


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

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

Reply via email to