Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Retrieval of widget property values
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Jah_Alarm, post: 4148675"] 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 [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Retrieval of widget property values
Top