On Sun, Jul 26, 2009 at 07:23:12PM -0300, Gustavo Sverzut Barbieri wrote:
> On Sun, Jul 26, 2009 at 5:46 PM, <[email protected]> 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;

I don't follow.  The problem does not appear to be related to catching events,
but rather to the Z-ordering of the parts within the group.  That is, the
card_click program always does its thing when I expect it to, but running
program "selected_on" does not result in the "selector" part appearing above
the "card" part.  Am I misunderstanding your hypothesis?

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

Cool, thanks.

pete


------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to