[plt-scheme] double on-paint
pedro pinto
pedro.e.pinto at gmail.com
Thu Dec 7 17:31:00 EST 2006
Hi there,
On Windows XP, with DrScheme v360, the following code:
(define f (new frame% (label "Hello")))
(define c (new canvas% (parent f)
(paint-callback (lambda _ (printf "painting~n")))))
(send f show #t)
Will print "painting" twice, with a noticeable delay between the two
messages, every time the frame is resized. That's not right is it?
-pp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.cs.brown.edu/pipermail/plt-scheme/attachments/20061207/381ecf79/attachment.html
More information about the plt-scheme
mailing list