> On Mar 29, 2017, at 3:27 PM, Christopher Munroe <idk...@gmail.com> wrote:
> 
> Are these only meant to be fired by the machine? I keep trying to send 
> mouse-event% objects and it is not moving my mouse. What is the point of 
> set-x if it doesn't actually set the x-coordinate of the mouse?
> 
> Link to the document I am referencing: 
> https://docs.racket-lang.org/gui/mouse-event_.html
> 
> My attempt:
> (define/override (on-event event)
>  (send event set-x 100))


This modifies the event’s x coordinate, not the one of the mouse. 

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to