Tkinter Canvas Pre-Buffer

Fredrik Lundh fredrik at pythonware.com
Fri May 5 15:39:30 CEST 2006


dakman at gmail.com wrote:

> Is there a way that using Tkinter I can pre-render the canvas then draw
> it on the screen?

not really; the canvas is double-buffered, but it regenerates (portions of) the
buffer when necessary.

if you want to draw in a separate buffer, and use that when updating the widget,
you can use the WCK for Tkinter:

    http://effbot.org/zone/wck.htm

for examples, see e.g.

    http://effbot.org/zone/wck-3.htm
    http://effbot.org/zone/wck-aggview.htm

</F> 






More information about the Python-list mailing list