[plt-scheme] Using a canvas% and its dc<%>
Robert Bruce Findler wrote:
> At Sun, 2 Mar 2003 15:16:45 +0100, Jens_Axel_Søgaard wrote:
>> Deja vu. I had the same problem until Robby showed me the solution:
>>
>> http://www.cs.utah.edu/plt/mailarch/plt-scheme-2002/msg00288.html
>
> I wonder if that was in the days before the paint-callback as init-arg
> to canvas%. In any case, the above is a more general solution that
> you'd need if you wanted to catch mouse or keyboard events in the
> canvas in addition to drawing in it.
I don't know - I wasn't aware of the other solution (I didn't get
your message until after I sent mine), which is much simpler.
--
Jens Axel Søgaard