I am programmatically creating a menu in PyObjC with this hierarchy.
NSMenu (setMainMenu on NSApplication)
- NSMenuItem(1)
- NSMenu: "App Name"
- NSMenuItem(1)
- NSMenuItem(2)
...
- NSMenuItem(2)
- NSMenu: "File"
- NSMenuItem(1)
- NSMenuItem(2)
...
- NSMenuItem(3)
- NSMenu: "Edit"
- NSMenuItem(1)
- NSMenuItem(2)
...
...
However, all PyObjC app shows is a single "Python" menu, that contains items that ought to be under "App Name".
How do I make it behave?