Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
 
PREVIOUS NEXT
Tagged: #fix #geometry #window #tkinter
ADD COMMENT
Topic
Name
5+7 =