Chapter 34. The Pack Geometry Manager

Table of Contents
When to use the Pack Manager
Patterns
Methods
Options

The Pack geometry manager packs widgets in rows or columns. You can use options like fill, expand, and side to control this geometry manager.

When to use the Pack Manager

To be added.

Warning

Don't mix grid and pack in the same master window. Tkinter will happily spend the rest of your lifetime trying to negotiate a solution that both managers are happy with. Instead of waiting, kill the application, and take another look at your code. A common mistake is to use the wrong parent for some of the widgets.