[Tkinter-discuss] (no subject)
michael.odonnell at uam.es
Wed Oct 27 14:04:42 CEST 2010
Your question is not very clear. Why not just use the value of
the variable? (Thats what textvariables are for, in any case)
As an alternative, you could just get the widget's string directly:
Otherwise, please give more context.
On Wed, Oct 27, 2010 at 1:39 PM, Alex Ter-Sarkissov
<sigma.z.1980 at gmail.com> 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,
> def rand_opo_gen (self,event):
> popsize_start=#need to get the textvariable value from Entry
> popsize, not variable PopSize!
> Another option, of course, is that the variable PopSize acquires the
> value from Entry, but I can't see how to do it either
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
More information about the Tkinter-discuss