[Tutor] How to maximize a window in tkinter

Alan Gauld alan.gauld at yahoo.co.uk
Thu May 10 12:05:51 EDT 2018

On 10 May 2018, at 16:52, emanuel sandoval <davidemanuelsandoval at gmail.com> wrote:

>I want to know how to maximize a window in tkinter.

There are several options, of which your solution is probably the best!

The others involve setting the window position to top left and the width and height to the screen size.

All the solutions fail when the window manager does not make room for any window decorations such as the title bar... In that case you need to set height and subtract enough space yourself. Messy...

>I was using something like:
>root =Tk()

Alan g.

More information about the Tutor mailing list