Re: [Tkinter-discuss] Tkinter slows down

2008-01-07 Thread Tim Jones
On Jan 7, 2008, at 2:06 PM, Cam Farnell wrote: > I'm creating a program which displays spreadsheet-like data using > hundreds of labels. At first this works fine, however after a few > redisplays it starts slowing down dramatically. Also, have you considered using tkTable (part of the Tile projec

Re: [Tkinter-discuss] Tkinter slows down

2008-01-07 Thread Tim Jones
On Jan 7, 2008, at 2:06 PM, Cam Farnell wrote: > I'm creating a program which displays spreadsheet-like data using > hundreds of labels. At first this works fine, however after a few > redisplays it starts slowing down dramatically. > > A small test program, without the distractions of the real pr

Re: [Tkinter-discuss] Tkinter slows down

2008-01-07 Thread Fredrik Lundh
Cam Farnell wrote: > This runs quickly at first but gradually slows down to a crawl during > the latter iterations. Anyone have any idea what is causing this to go > slow or how I could speed it up? I'm running Python 2.4.3 on an Ubuntu > 6.06 system. grid_forget removes the widget from the sc

[Tkinter-discuss] Tkinter slows down

2008-01-07 Thread Cam Farnell
I'm creating a program which displays spreadsheet-like data using hundreds of labels. At first this works fine, however after a few redisplays it starts slowing down dramatically. A small test program, without the distractions of the real program is: from Tkinter import * def Go(): LabelLi