[plt-scheme] event mouse

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Fri Nov 20 20:51:26 EST 2009


On Nov 20, 2009, at 2:36 PM, Mona wrote:

> Hi every body I Have problem in my project ,my project is dots and box
> I want when I click between two posn  it draws line ,I add techpack
> universe.ss What I must do ?please help to me.

Easy. Just define an event handler for mouse clicks and keep the coordinates in the state. 

Posted on the users mailing list.