wails/website/i18n/de/docusaurus-plugin-content-docs/current/reference/runtime/menu.mdx
github-actions[bot] 4d7b0b487c
docs: sync translations (#3569)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-08-12 20:58:06 +10:00

25 lines
508 B
Text

---
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)`