Member-only story
Adding a User Interface to ChatGPT with BeeWare — Part 3
In this part we will talk about configuring menus in BeeWare, particularly adding separators, sub-menus, and a recently opened file list. We also look at an app exit handler, to remind users to save their work before leaving, and using your own modules. There are a some things that weren’t immediately obvious to us even if they are mentioned in the documentation.
Configuring “Advanced” Menus in BeeWare
This section is only relevant for desktop applications (macOS, Windows, or Linux), so feel free to jump ahead if you are working on a mobile app.
Menu Separators
Generally, the menu setup stuff is pretty well explained. Check out the Command documentation, or the example on GitHub, or Part 1 of this series where we introduced menus. What was subsequently causing us some grief, was how to you position a separator (Figure 2) within your menu?