メインコンテンツにスキップ
バージョン: v2.0.0-beta.43

Menu

Overview

These methods are related to the application menu.

Javascript

Menu is currently unsupported in the JS runtime.

Go Signature: MenuSetApplicationMenu(ctx context.Context, menu *menu.Menu)

Sets the application menu to the given menu .

Go Signature: MenuUpdateApplicationMenu(ctx context.Context)

Updates the application menu, picking up any changes to the menu passed to MenuSetApplicationMenu.