During the last two chapters, the focus has been on creating widgets. Now we will focus on how to place (manipulate) widgets in the window. The pack command is used to determine where widgets go and how big they will be.
It is important to understand that pack controls the size and location of the widgets; the widgets themselves do not have the ultimate control of these parameters. For example, if a widget definition "requests" to be 2 inches wide and 3 inches tall, pack will accommodate this request unless an option is passed to pack to override the ...