Answers for "Tkinter maximise window"

2

Tkinter maximise window

import Tkinter

MyRoot = Tkinter.Tk()
MyRoot.state("zoomed")

MyRoot.mainloop()
Posted by: Guest on October-27-2020
0

Tkinter maximise window

root = Tk()
w, h = root.winfo_screenwidth(), root.winfo_screenheight()
root.geometry("%dx%d+0+0" % (w, h))
Posted by: Guest on October-27-2020

Python Answers by Framework

Browse Popular Code Answers by Language