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. -- Chady 'Leviathan' Kassouf http://chady.net/ ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
