mirror of
https://github.com/electron/electron.git
synced 2026-01-06 22:24:03 -05:00
docs: Clarify that menus use non-native styles (#45033)
* docs: Clarify menus use non-native styles Addresses #42262 * empty commit to kick ci * fix: make linter happy * Strip trailing space for lint --------- Co-authored-by: George Xu <george.xu@slack-corp.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: Niklas Wenzel <dev@nikwen.de>
This commit is contained in:
@@ -2,10 +2,15 @@
|
||||
|
||||
## Class: Menu
|
||||
|
||||
> Create native application menus and context menus.
|
||||
> Create application menus and context menus.
|
||||
|
||||
Process: [Main](../glossary.md#main-process)
|
||||
|
||||
The presentation of menus varies depending on the operating system:
|
||||
|
||||
- Under Windows and Linux, menus are visually similar to Chromium.
|
||||
- Under macOS, these will be native menus.
|
||||
|
||||
> [!TIP]
|
||||
> See also: [A detailed guide about how to implement menus in your application](../tutorial/menus.md).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user