[Tutor] Tkinter query?

jfouhy@paradise.net.nz jfouhy at paradise.net.nz
Fri Jul 15 00:27:34 CEST 2005


Quoting Dave S <pythontut at pusspaws.net>:

> Thank you, that has clarified a few points but raised a query.
> tk.geometry('400x400') does not appear to have any effect on its size
> when the window is drawn, the window is always the same size and short
> of maximizing it to full screen it is not adjustable.
> 
> Just a minor query but interesting

Hmm, that is strange.  You can use tk.resizable(width, height) to set whether
the window can be resized.  But, when I do this (Debian linux, WindowMaker), I
can't maximise the window either.  Also, it should default to being resizable in
both directions.

What platform are you running on?

-- 
John.


More information about the Tutor mailing list