Re: [Tkinter-discuss] Possible to create separator lines in a Tkinter Listbox?

2010-11-11 Thread Michael Lange
Hi, Thus spoketh pyt...@bdurham.com unto us on Wed, 10 Nov 2010 08:44:03 -0500: > How can I create non-selectable horizontal separator items in a > Listbox, eg. separators equivalent to the Tkinter Menu widget's > .add_separator()? Using chars like dashes and underscores looks > awful. > > If t

[Tkinter-discuss] Memory leak with tkinter canvas itemconfigure

2010-11-11 Thread John McMonagle
Hi, I have an application that configures thousands of canvas rectangle items per second and I have noticed that the memory usage leaks badly. The code below illustrates the problem: #--- import Tkinter as tk import random r = tk.Tk()

Re: [Tkinter-discuss] Memory leak with tkinter canvas itemconfigure

2010-11-11 Thread Michael O'Donnell
Hi John, I confirm your memory leakage on the code you sent, on a Windows 7 machine running python 2.7 / Tk 8.5 And when one comments out the c.itemconfigure line, memory usage is constant, so the problem is there. And looking in Tkinter.py, the itemconfigure method on a Canvas object calls _c

Re: [Tkinter-discuss] Memory leak with tkinter canvas itemconfigure

2010-11-11 Thread John McMonagle
On 12/11/10 13:40, Michael O'Donnell wrote: > Hi John, > > I confirm your memory leakage on the code you sent, > on a Windows 7 machine running python 2.7 / Tk 8.5 > Thanks for taking the time to confirm. > And when one comments out the c.itemconfigure line, memory usage is > constant, so the