Tkinter入门
前页 |  | 后页

# Chapter 37. The Place Geometry Manager

The `Place` geometry manager is the simplest of the three general geometry managers provided in Tkinter. It allows you explicitly set the position and size of a window, either in absolute terms, or relative to another window.

You can access the place manager through the `place` method which is available for all standard widgets.

# When to use the Place Manager

It is usually not a good idea to use `place` for ordinary window and dialog layouts; its simply to much work to get things working as they should. Use the `pack` or `grid` managers for such purposes.

However, `place` has its uses in more specialized cases. Most importantly, it can be used by compound widget containers to implement various custom geometry managers. Another use is to position control buttons in dialogs.

前页 | Home | 后页
Options | Up | Patterns