Menu
These methods are related to the application menu.
JavaScript
Menu is currently unsupported in the JS runtime.
MenuSetApplicationMenu
Sets the application menu to the given menu.
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)