Need help with Tk problem...

Sven Drescher Sven.Drescher at dlr.de
Tue Feb 1 10:30:06 EST 2000


> I know the options geometry, width and height. But if the frame grows or
> shrinks, these options don't change. What did I wrong? Is there an other
> function to get the current size???

reading the fine manual might help; go to

http://www.pythonware.com/library/tkinter/introduction/basic-widget-methods.
htm
-> window related information

and look for winfo_width() and winfo_height()
(also see reqwidth/reqheight)

Thanks, for the manual!!!

I forgot to call 'update_idletasks()'!

Thanks, Sven


</F>







More information about the Python-list mailing list