How to prevent Tkinter frame resize?

phil_nospam_schmidt at yahoo.com phil_nospam_schmidt at yahoo.com
Fri Apr 22 15:54:14 EDT 2005


That's a useful tidbit of knowledge, but it doesn't quite get at what
I'm trying to do.

I want to allow a window to be resized, limited to some maximum size.
My approach was to use the <Configure> event to capture window resize
events. Then, if the new size is larger than the maximum, I would force
it back to the maximum size by reconfiguring the height and width of
the widget.




More information about the Python-list mailing list