Python GUI Programming Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

Getting ready

We will start by learning the techniques of how to add a menu bar, several menus, and a few menu items to show the principle of how to do it. In the beginning, clicking on a menu item will have no effect. We will then add functionality to the menu items, for example, closing the main window when clicking the Exit menu item and displaying a Help | About dialog.

We will continue to extend the GUI we created in the previous recipe, Aligning the GUI widgets by embedding frames within frames.