[plt-scheme] How to detect mouse movements?

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Fri Dec 4 09:16:13 EST 2009

Use the Universe teachpack, read this: 

  http://doc.plt-scheme.org/teachpack/2htdpuniverse.html

Enjoy. (draw.ss is deprecated; universe.ss is a replacement and extension of world.ss)


On Dec 3, 2009, at 3:59 PM, Jayto wrote:

> I am working on my final project for my basic programing class. I want
> to know how to use the on-mouse-event feature. I tried loading up the
> teachpack world and I tried adding the on-mouse-move into my code. I
> basically want to detect the location of the mouse when it is moved on
> top of a canvas from the teach pack draw.  Can you give me an example
> of how to use the mouse event commands? Thanks.
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.