----- "Chady Kassouf" <[EMAIL PROTECTED]> ha scritto: > On Dec 17, 2007 9:05 PM, Dave < [EMAIL PROTECTED] > wrote: > > > Hi all, > I'm in trouble with the evas event system :( > Working on esmart_container to make an iphone-like scrolling list > (with > friction) > this is the situation: > I have a trasparent evas_object (big as all the container) used to > grab > mouse events. When you click & drag the mouse I make the container > scroll. The objects of the list also need mouse events so I used > evas_object_repeat_events_set(cont->grabber, TRUE); > to pass the mouse events. > > The problem is that I want to 'repeat' the events only when is not a > dragging operation. > In the grabber mouse,down callback I need to stop the propagation of > the > event to the object below... > > Some idea? > In other toolkits this is done by returning a NULL value from the > callback... > Thanks > Dave > > > I have never looked into how evas handles events internally, but are > events guaranteed to fire off? > if they are guaranteed, then you probably can do this manually. > > when dragging on the grabber, you set some sort of flag, and when you > release, you clear the flag. then in the click operations of the > objects below you check the flag and return if it's true. > > This is not right for my situation, because I don't have control on the objects below. Thanks Dave
> -- > Chady 'Leviathan' Kassouf > http://chady.net/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
