You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
// Add a listener on the window w.On(astilectron.EventNameTrayEventDoubleClicked, func(e astilectron.Event) (deleteListener bool) { fmt.Println("Clicked on try") return })
I run this, i created a tray
`var t = a.NewTray(&astilectron.TrayOptions{
Image: astikit.StrPtr("D:\Experiments\Toast\icon.png"),
Tooltip: astikit.StrPtr("Tray's tooltip"),
})
// Create tray
t.Create()`
the click does register in console
2021/01/17 21:38:02 Astilectron says: {"name":"tray.event.clicked","targetID":"4","bounds":{"x":1272,"y":824,"width":24,"height":40}}
but not by the code
The text was updated successfully, but these errors were encountered:
// Add a listener on the window w.On(astilectron.EventNameTrayEventDoubleClicked, func(e astilectron.Event) (deleteListener bool) { fmt.Println("Clicked on try") return })
I run this, i created a tray
`var t = a.NewTray(&astilectron.TrayOptions{
Image: astikit.StrPtr("D:\Experiments\Toast\icon.png"),
Tooltip: astikit.StrPtr("Tray's tooltip"),
})
the click does register in console
2021/01/17 21:38:02 Astilectron says: {"name":"tray.event.clicked","targetID":"4","bounds":{"x":1272,"y":824,"width":24,"height":40}}
but not by the code
The text was updated successfully, but these errors were encountered: