Tkinter's place geometry manager
lbl = Label(form, text=“place test2”, bg=“white”) lbl.place(x=20, y=20) …
lbl = Label(form, text=“place test4”, bg=“yellow”) lbl.place(y=150, anchor=E, relx=1)
lbl = Label(form, text=“place test5”, bg=“yellow”) lbl.place(y=180, relx=0.5, anchor=CENTER) …
form = Tk() form.geometry(“300x200”)
lbl = Label(form, text=“place test0”, bg=“gray”) lbl.place(x=5, y=5, relwidth=1, relheight=1, width=-10, height=-10)
lbl = Label(form, text=“place test1”, bg=“red”) lbl.place(x=10, y=10, width=100, height=100)
lbl = Label(form, text=“place test2”, bg=“white”) lbl.place(x=20, y=20)
lbl = Label(form, text=“place test3”, bg=“yellow”) lbl.place(y=120, relx=0.25 , relwidth=0.5)
lbl = Label(form, text=“place test4”, bg=“yellow”) lbl.place(y=150, anchor=E, relx=1)
lbl = Label(form, text=“place test5”, bg=“yellow”) lbl.place(y=180, relx=0.5, anchor=CENTER)
form.mainloop()