[racket] 'Capturing' the mouse / fix mouse position

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Mar 4 09:03:26 EST 2013

At Mon, 04 Mar 2013 11:29:50 +0100, Philipp Dikmann wrote:
> Is there a way to 'fix' the mouse position, e.g. put the cursor to a 
> specific position programatically?

Not currently.

The `canvas%' class has a `warp-pointer' method, but I see that it was
never actually implemented in the v5.1 `racket/gui' rewrite. So, we'll
need to look into that --- probably generalizing it to a `window<%>'
method.


Posted on the users mailing list.