Answers for "how to fix geometry of a window in tkinter"

1

how to fix geometry of a window in tkinter

from tkinter import *

#creating tkinter window
root=Tk()

#setting window's dimensions
root.geometry('520x520')
root.reziable(0,0) #Don't allow resizing in the x or y direction

root.mainloop()
Posted by: Guest on October-23-2021

Code answers related to "how to fix geometry of a window in tkinter"

Python Answers by Framework

Browse Popular Code Answers by Language