Skip to main content
Version: v2.3.1

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)