mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 20:21:01 +08:00

* Add changelog. Fix zoom docs. Add Info.dev.plist info * Update build assets README.md * Update changelog * actions/checkout@v2 => v3 * Docs
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)`
|