Search
 
SCRIPT & CODE EXAMPLE
 

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

PREVIOUS NEXT
Code Example
Python :: save set of numpy arrays to file py 
Python :: python access class variable by string 
Python :: python invert colormap 
Python :: Convert Int to String Using format() method 
Python :: python get pattern from string 
Python :: python any in string 
Python :: python load file with multiple jsons 
Python :: is python easy or hard to learn 
Python :: how to find duplicates in csv file using python 
Python :: pandas multiply all dataframe 
Python :: repl.it secret 
Python :: how to add array and array python 
Python :: python single vs double quotes 
Python :: semicolon python 
Python :: functools.cached_property objects in python 
Python :: Python Iterating Through an Iterator 
Python :: numpy roll 
Python :: append and extend in python 
Python :: python set split limit 
Python :: return the biggest even fro a list python 
Python :: declaring array size python 
Python :: dockerize django 
Python :: add title to tkinter window python 
Python :: List Comprehension iteration 
Python :: swap two lists without using third variable python 
Python :: dataframe.fillna 
Python :: get n largest values from 2D numpy array matrix 
Python :: python isdigit 
Python :: python create dictionary 
Python :: for loop python 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =