Speeding up the Canvas Widget

Kragen Sitaker kragen at pobox.com
Sun Jun 2 23:34:56 EDT 2002


zayats at blue.seas.upenn.edu (Salim Zayat) writes:
> I have been having problems with the Canvas widget in terms of just 
> speed.  I need to draw, and almost constantly redraw, upwards of like 
> 10,000 or so things to the canvas (lines, text, and rectangles, etc.).  

It's possible all these things are visible at once; are they really?

Last time I had a speed problem with Canvas, I had one item, a line
object with hundreds of coord pairs.  I just rewrote my program in C
with GTK+ and just drew the lines myself.




More information about the Python-list mailing list