Re: Retrieval of widget property values

2010-10-28 Thread Peter Otten
Alex wrote: > thanks Peter, > > I'm probably not getting something, but how do show_size and > show_button account for the changes in Entry? There are no references > to the widget in either the function of the button. Sorry if the > question is too dumb. After size_var = IntVar() size_entry =

Re: Retrieval of widget property values

2010-10-28 Thread Alex
thanks Peter, I'm probably not getting something, but how do show_size and show_button account for the changes in Entry? There are no references to the widget in either the function of the button. Sorry if the question is too dumb. cheers, Alex On Oct 28, 1:11 am, Peter Otten <__pete...@web.de>

Re: Retrieval of widget property values

2010-10-27 Thread Peter Otten
Jah_Alarm wrote: > 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): > p

Retrieval of widget property values

2010-10-27 Thread Jah_Alarm
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 v