Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to specify root geometry in tkinter

#Source https://www.pythontutorial.net/tkinter/tkinter-window/

import tkinter as tk


root = tk.Tk()
root.title('Tkinter Window Demo')

#parameters(width,hight,padx,pady)
root.geometry('600x400+50+50')

root.mainloop()
Source by www.pythontuthttps #
 
PREVIOUS NEXT
Tagged: #root #geometry #tkinter
ADD COMMENT
Topic
Name
3+1 =