Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to set the size of a tkinter window in python

from tkinter import *

Main_screen = Tk()
#Register = Tk()
Main_screen.title("Log in screen")
Main_screen.geometry("500x500")


Label(Main_screen,text="Welcome").pack()

Main_screen.mainloop()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #size #tkinter #window #python
ADD COMMENT
Topic
Name
4+2 =