Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tkinter window size position

 window = Tk() 	# or window = TopLevel()
 # "350x150" == window size (350 pixels wide and 150 pixels high)
 # "+220+80" == window position (220 pixels from the left screen margin and
 # 				80 pixels from the top screen margin
  window.geometry("350x150+220+80")
Source by pythonexamples.org #
 
PREVIOUS NEXT
Tagged: #tkinter #window #size #position
ADD COMMENT
Topic
Name
1+2 =