https://realpython.com/python-gui-tkinter/
The geometry manager .place() can be used to control the precise location that a widget should occupy in a window or Frame.
.place() is not used often, because it has two main drawbacks:
(1) layout can be difficult to manage with .place(),
(2) layouts created with .place() are not responsive.
import tkinter as tk root = tk.Tk() frame = tk.Frame(root, width=300, height=300, bg="blue") frame.grid() # .grid() is here label1 = tk.Label(frame, text="I'm at (0, 0)", bg="red") label1.place(x=0, y=0) # top left, in pixels label2 = tk.Label(frame, text="I'm at (50, 100)", bg="yellow") label2.place(x=50, y=100) # in pixels from top left root.mainloop() # run the tkinter event loop