The place geometry manager is the most rarely used geometry manager in Tkinter. Nevertheless, it has its uses in that it lets you precisely position widgets within their parent frame by using the (x,y) coordinate system.
The place manager can be accessed by using the place() method on any standard widget.
The important options for place geometry include the following:
- Absolute positioning (specified in terms of x=N or y=N)
- Relative positioning (the key options include relx, rely, relwidth, and relheight)
The other options that are commonly used with place include width and anchor(the default is NW).
Refer to 1.08.py for a demonstration of common place options:
import tkinter as tkroot = tk.Tk()# Absolute positioning ...