问题
I want to show a notification in my python3 program telling the user that there is a new version available. That part is easy and there are lots of examples (like this) to show a notification in windows.
But I'd also like that when the user clicks the notification (instead of closing it) to open a window with more info about the update (show changelog, download button, whatever...).
Is it possible to add an onClick handler to the notification? I've been searching a few hours but I can't find anything. If it is not possible, what is the recommended way to react to the user clicking on a notification? Is it possible with wxPython?
回答1:
It looks like it's possible HERE.
More details HERE.
Not sure if that help, but that's all I have.
来源:https://stackoverflow.com/questions/23998487/click-event-handler-on-notification-tooltips-for-pywin32