-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System tray custom click function #3201
Comments
Probably depends upon fyne-io/systray#23. |
Also specifying a function for a double click would be great as Windows users expect the application to show when the tray icon is double-clicked in most cases. |
If the expectation is to set up the app to show on double click for Windows maybe we should do that. |
I have a use case for exposing the click event/action: I show some running status as menu items in tray menu. I want to be able to refresh the latest states when user click the systray icon. |
Why would you not refresh the display when the state changes, instead of requiring the user to interact to see its update? |
Checklist
Is your feature request related to a problem?
The left mouse button and right button click on the tray icon by default to display the menu. If you want to customize the left and right click and double click to achieve different functions, no relevant methods have been found.
Is it possible to construct a solution with the existing API?
No response
Describe the solution you'd like to see.
System tray supports custom click events
The text was updated successfully, but these errors were encountered: