Next: Configuring widgets Up: Layouting widgets Previous: Layouting with the placer

### Layouting with the packer

As explained above, there is a packing dialog, where widgets can be selected, packed and rearranged (see figure ). This dialog is activated with the menu item (Configuration | Packing). The description of the packer given in the introduction to Tk explains the options that are available in the packing dialog.

It is also possible to pack widgets directly when the layout dialog is activated (or when layouting is always allowed). Selecting a widget by pressing the the mouse button 1 (it has to be pressed together with the Modifier1 key), moves the widget to the border of the parent that is the closest for the mouse pointer. In the layout window, some parameters like fill, expand etc. can be set.

When layouting with the packer, it is important to group widgets with frame widgets. The user can use the frames as row-column widgets. All children of one frame are usually packed to one side of the parent.