setMenu

fun setMenu(menu: Menu?): Promise<Void>(source)

Sets a new tray menu.

Platform-specific:

  • Linux: once a menu is set it cannot be removed so null has no effect