Ludi
0
Q:

tkinter maximum window size

# Where w is a widget:
w.winfo_height()
w.winfo_width()
1
#import statement
from tkinter import *
#create GUI Tk() variable
gui = Tk()
#set window size
gui.geometry("widthxheight")
0
from tkinter import *
root = Tk()
root.maxsize(height, width)
root.minsize(height, width) #(69, 420)
root.mainloop()
0

New to Communities?

Join the community