How to catch the "redraw/repaint" event in Tkinter?

Niels Diepeveen niels at endea.demon.nl
Mon Aug 28 16:54:34 EDT 2000


aj10 at my-deja.com schreef:

> I need to intercept the "redraw/repaint" in Tkinter, so that the
> drawing objects on the canvas are also resized in case the canvas is
> resized.

For resizing you want the '<Configure>' event. There is also an
'<Expose>' event, but you don't have to handle that.

-- 
Niels Diepeveen
Endea automatisering




More information about the Python-list mailing list