mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[darwin] Add systray.OpenMenu
This commit is contained in:
@@ -31,6 +31,13 @@ type macosSystemTray struct {
|
||||
parent *SystemTray
|
||||
}
|
||||
|
||||
func (s *macosSystemTray) openMenu() {
|
||||
if s.nsMenu == nil {
|
||||
return
|
||||
}
|
||||
C.showMenu(s.nsStatusItem, s.nsMenu)
|
||||
}
|
||||
|
||||
type button int
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user