Automatically maximized tkinter window Automatically maximized tkinter window tkinter tkinter

Automatically maximized tkinter window


This can be done by invoking the following:

if data == "whatever":       window.state('zoomed')


On receipt of data call:

window.attributes('-zoomed', True)


If all you want to do is "un-minimize" the window, call deiconify, which will restore the window to the state it was in before it was minimized.

window.deiconify()