[Tkinter-discuss] (no subject)
Alex Ter-Sarkissov
sigma.z.1980 at gmail.com
Wed Oct 27 13:39:51 CEST 2010
hi, here's my problem:
let's say I have a function that uses some widget's property. How canI
retireve the value of this property?
For example,
PopSize=IntVar();
popsize=Entry(root,width=10,textvariable=PopSize)
def rand_opo_gen (self,event):
popsize_start=#need to get the textvariable value from Entry
popsize, not variable PopSize!
pop1=random.random(popsize_start*2)
Another option, of course, is that the variable PopSize acquires the
value from Entry, but I can't see how to do it either
cheers,
alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20101028/75890139/attachment.html>
More information about the Tkinter-discuss
mailing list