Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a window in tkinter

from tkinter import *

root= Tk()#Change the name for every window you make
root.title("You have copied from patha codes")#This will be the window title
root.geometry("666x777")#This will be the window size (str)
root.minsize(540,540)#This will be set a limit for the window's minimum size (int)
root.configure(bg="blue")#This will be the background color


root.mainloop()
 
PREVIOUS NEXT
Tagged: #window #tkinter
ADD COMMENT
Topic
Name
7+6 =