mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 04:11:05 +08:00

* docs: standardize JavaScript and TypeScript name writing * docs: sync translated documents * docs: fix broken link * docs: sync translated documents
26 lines
508 B
Plaintext
26 lines
508 B
Plaintext
---
|
|
sidebar_position: 6
|
|
---
|
|
|
|
# Menu
|
|
|
|
These methods are related to the application menu.
|
|
|
|
:::info JavaScript
|
|
|
|
Menu is currently unsupported in the JS runtime.
|
|
|
|
:::
|
|
|
|
### MenuSetApplicationMenu
|
|
|
|
Sets the application menu to the given [menu](../menus.mdx).
|
|
|
|
Go: `MenuSetApplicationMenu(ctx context.Context, menu *menu.Menu)`
|
|
|
|
### MenuUpdateApplicationMenu
|
|
|
|
Updates the application menu, picking up any changes to the menu passed to `MenuSetApplicationMenu`.
|
|
|
|
Go: `MenuUpdateApplicationMenu(ctx context.Context)`
|