Skip to main content
Version: v2.8.0

Menu

These methods are related to the application menu.

JavaScript

Menu is currently unsupported in the JS runtime.

Sets the application menu to the given menu.

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

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

Go: MenuUpdateApplicationMenu(ctx context.Context)