Chapter 5. Packing Widgets

When creating an application, you'll want to put more than just one widget inside a window. Our first helloworld example only used one widget so we could simply use a window.add call to "pack" the widget into the window. When you want to put more than widget into a window, how do you control where that widget is positioned? This is where packing comes in.


Prev Next