Making platform-appropriate menus

To create our platform-specific main menus, we'll create multiple menu classes and use a selector function as explained in the previous section. Before we can do this, we'll need to prepare our MainMenu class so that it's easier to subclass.

Get Python GUI Programming with Tkinter now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.