5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 18:50:30 +08:00
wails/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/menu.mdx
Misite Bao 73caeb9793
docs: fix and sync documents (#2135)
* docs: standardize JavaScript and TypeScript name writing

* docs: sync translated documents

* docs: fix broken link

* docs: sync translated documents
2022-11-28 20:13:22 +11:00

26 lines
644 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
sidebar_position: 6
---
# Меню
Эти методы относятся к меню приложения.
:::info JavaScript
В настоящее время меню не поддерживается в JS.
:::
### MenuSetApplicationMenu
Задает меню приложения для данного [меню](../menus.mdx).
Go: `MenuSetApplicationMenu(ctx context.Context, menu *menu.Menu)`
### MenuUpdateApplicationMenu
Обновляет меню приложения, поднимая все изменения в меню, переданное `MenuSetationMenu`.
Go: `MenuUpdateApplicationMenu(ctx context.Context)`