Search
 
SCRIPT & CODE EXAMPLE
 

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()
Comment

PREVIOUS NEXT
Code Example
Python :: encoding read_csv 
Python :: how to make index column as a normal column 
Python :: tkinter draw squaer 
Python :: Why do we use graphs? 
Python :: python how to set multiple conditional for single var 
Python :: code for making an exe file for python 
Python :: python split list of tuples in two lists 
Python :: python get square root 
Python :: what is a module computer science 
Python :: pd max rows set option 
Python :: md5 hash python 
Python :: change text color docx-python 
Python :: pyqt5 display math 
Python :: append to csv python 
Python :: take first n row of dictionary python 
Python :: download image python 
Python :: two input number sum in python 
Python :: pandas to tensor torch 
Python :: python negation of an statement 
Python :: random string generator python 
Python :: source code of Tortoise and hare algorithm in python 
Python :: freq count in python 
Python :: python tkinter go to another window on button click 
Python :: python square root 
Python :: index of sorted list python 
Python :: python snake game 
Python :: python selenium save cookies 
Python :: how to run python code on github 
Python :: emoji in python 
Python :: creata daframe python 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =