How to open the application by left-clicking the tray icon #4321
Unanswered
victory-zz
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Currently can be done through:
_tray.openWindow = menus.NewSingleItem(
MenuIdOpenWindow, "打开应用", icoOpenWindow,
).SetTextUpdater(func(id string) (updateText string) {
return "打开应用"
})
Implement a right-click tray icon to display a menu, then click to open the application. Now, we need to implement left-clicking the tray icon to open the application, just like WeChat in the tray, where clicking the icon opens WeChat.
Describe the solution you'd like
Just like WeChat on a tray, you can open WeChat by clicking the icon.
Describe alternatives you've considered
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions