Provide a way to identify kind of MenuItem #7865
Unanswered
ultimaweapon
asked this question in
Ideas
Replies: 1 comment 1 reply
-
We were thinking adding a enum MenuRole {
none,
app-menu-quit, // this replaces implicitly created quit item
app-menu-preferences,
app-menu-about,
app-menu // all those go into the app menu at the top
} But this hasn't been implemented yet |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The standard location for About and Settings on macOS is on the application menu itself:

On other platforms About is an item on the Help menu and Settings is either an item on the File or Edit menu. In order to put those MenuItem in the application menu we need to identify if it is About or Settings. AFAIK currently the only way to identify if MenuItem is either About or Settings is checking its text, which is not good so it would be great if we have a better way for this.
Beta Was this translation helpful? Give feedback.
All reactions