mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 23:02:19 +08:00

* fix(website): fix i18n configuration * feat: add i18n file to auto generate code * feat: move the crowdin configuration file to the website directory * feat(website): add crowdin dependencies and scripts * feat: add COC * feat: use escape hatch syntax to wrap JSX code in MDX files * feat: remove ach language * feat: generate default language configuration * feat: remove compare link * feat: add COC link * feat(website): update documentation * feat: use escape hatch syntax to wrap JSX code in MDX files * style: add prettier * style: format mdx files * chore: remove prettier command * feat: update en docs * feat: sync Chinese documents * feat: update doc * Update website/src/pages/coc.mdx Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
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)`
|