asticode/go-astilectron

tray how impl double click

baerwang opened this issue · 5 comments

link: #31 (comment)
trayEventBalloonClicked and tray double-click relation is it??

need double click show windows,how impl

If you want to react when user double clicks on the tray, you should listen to EventNameTrayEventDoubleClicked event and do whatever you need to do in there.

If you want to react when user double clicks on the tray, you should listen to EventNameTrayEventDoubleClicked event and do whatever you need to do in there.

me use tray listener,tray that do not the window control, such as display, minimize,need to change js code?

You need to find a way to share you *astilectron.Window in your *astilectron.Tray. If you're using the bootstrap, you can use the OnWait method.

thx,impl success 🍻