On Fri, 01 Nov 2013 18:21:22 +0000 Thomas Strobel <ts...@cam.ac.uk> said:
> Hello everyone, > > could anyone maybe help me to understand the attached Evas program. It > is a small example which changes the color of a centered rectangle with > mouse in/out. > > I'm trying to understand why the mouse pointer is not being released > after a mouse click onto the rectangle with has pointer mode > EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN. I would expect it to > _not_ grab the pointer. > > Many thanks in advance! i remember EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN being some super-special mode hermet needed for something - seriously. don't use it unless you are hermet... or one of the people he did that for. :) just use EVAS_OBJECT_POINTER_MODE_NOGRAB - it's simply - no autograb happens then. but once the mouse exits the object and u release the pointer.. the mouse up event will not happen on the ob as the pointer is not grabbed... -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel