Re: Default value for Listbox (Tkinter)

2005-02-25 Thread Harlin Seritt
Thanks Jorgen! I was reading the Tkinter tutorial (I was looking at this particular page: http://www.pythonware.com/library/tkinter/introduction/x5513-methods.htm) and saw this for select_set(): select_set(index), select_set(first, last) Add one or more items to the selection. I think this was

Re: Default value for Listbox (Tkinter)

2005-02-24 Thread Jørgen Cederberg
Harlin Seritt wrote: Whenever I set up something similar: vals = ['1', '2','3'] for v in vals: listbox.inset(END, v) I notice that when this listbox is displayed, there is never a default value. How can I make sure that one of the indices is selected by default? Hi Harlin, you must use the selec