From the course: Python GUI Development with Tkinter

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Separating widgets within paned windows

Separating widgets within paned windows

From the course: Python GUI Development with Tkinter

Start my 1-month free trial

Separating widgets within paned windows

- [Instructor] So far, we've learned how to create new top-level windows, and how we can use frames to organize and divide up the widgets within the window. In this video, we'll learn about a new type of widget, which can be used to split up sections of the user interface, the paned window. The paned window is a geometry management widget which can hold other widgets by stacking them vertically or horizontally. The paned window then displays a divider between each of the widgets, which the user can click and drag to adjust the relative size of the widgets within the window. Although any type of widget can be added to the pane window, it's commonly used to hold several frames next to each other to allow the user to easily re-size them. I've already imported the Tkinter module, as well as the themed TTK module and created my root top-level window. To create a new paned window, I'm going to use the paned window constructor method, found in the TTK themed module. And you notice that…

Contents