click event handler on notification tooltips for pywin32

泄露秘密 提交于 2020-05-01 06:47:48

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!