Dear All,
I want to use the OptionMenu, in which I want to dynamically change the
list of choices. Something like
values=["One","Two","Three"] # Initial list
o = OptionMenu(frame, *values)
#...
#then later in the code read new values from a file
newvalues = f.readline().split()
o.config(???=newvalues)
I couldn't find any method on how to do this.
Cheers
Vasilis
begin:vcard
fn:Vasilis Vlachoudis
n:Vlachoudis;Vasilis
org:CERN;AB
adr:CERN;;Dep.AB;Geneva-23;;CH-1211;Switzerland
email;internet:[EMAIL PROTECTED]
title:Dr
tel;work:+41-22-767.9851
tel;fax:+41-22-767.7555
tel;cell:+41-76-487.4378
x-mozilla-html:FALSE
url:http://home.cern.ch/bnv
version:2.1
end:vcard
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss