[Tkinter-discuss] Setting the items of a listbox with new technique in TK 8.3

2010-01-24 Thread Sunburned Surveyor
I'm new to Tkinter programming, and I'm fairly new to Python. (I come from a Java programming background.) I've been trying to put together my first Tk GUI with Tkinter. I've been reading some of the documentation at tkdocs.com. The documentation at tkdocs.com mentions using the list variable optio

Re: [Tkinter-discuss] Setting the items of a listbox with new technique in TK 8.3

2010-01-24 Thread Sunburned Surveyor
Jeff, I'm sure that was the problem. Thanks for the quick response and for your help. The Sunburned Surveyor On Sun, Jan 24, 2010 at 6:13 PM, Jeff Epler wrote: > The listvariable, textvariable and so forth have to be Tkinter > variables, not Python variables. > > The following program worked fo

Re: [Tkinter-discuss] Setting the items of a listbox with new technique in TK 8.3

2010-01-24 Thread Jeff Epler
The listvariable, textvariable and so forth have to be Tkinter variables, not Python variables. The following program worked for me in >>> Tkinter._tkinter.TK_VERSION; sys.version '8.5' '2.6.4 (r264:75706, Dec 7 2009, 18:43:55) \n[GCC 4.4.1]' #!/usr/bin/python # from Tkinter import * app =