[plt-scheme] double on-paint

From: pedro pinto (pedro.e.pinto at gmail.com)
Date: 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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20061207/381ecf79/attachment.html>

Posted on the users mailing list.