Tkinter Canvas Pre-Buffer

2006-05-05 Thread [EMAIL PROTECTED]
Is there a way that using Tkinter I can pre-render the canvas then draw
it on the screen?

Thanks.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Tkinter Canvas Pre-Buffer

2006-05-05 Thread Fredrik Lundh
[EMAIL PROTECTED] 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 



-- 
http://mail.python.org/mailman/listinfo/python-list