[Tkinter-discuss] How to change Tk's size ?

Jeff Epler jepler at unpythonic.net
Fri Oct 22 18:07:07 CEST 2004


Use .wm_geometry("widthxheight") or .pack_propagate(0).

The configure'd width= and height= of a frame or a toplevel is only used
if it does not have any packed or gridded slaves, or if
pack_propagate(0) (when there are packed slaves) or grid_propagate(0)
(when there are gridded slaves) are used.

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tkinter-discuss/attachments/20041022/929dc043/attachment.pgp


More information about the Tkinter-discuss mailing list