Windows-10-Toast-Notifications
Windows-10-Toast-Notifications copied to clipboard
Show permanent toast if `duration` is None
Hi,
Currently all toasts will be destructed after a few seconds, but sometimes we need to show permanent toasts, namely toasts that will not be automatically destructed, even after the program exits.
Now we can pass duration=None to specify that we do not want our toasts to be automatically destructed.
Brilliant fork, works very well imo.
@Berailitz this does not work on my PC. I installed directly from your git repository but the toast still disappears.
t = ToastNotifier()
t.show_toast('Hey', duration=None, threaded=True)
My PC is:
- Windows 10 Pro 1803
- Anaconda python 3.7
Edit: I'll cross post this message on your repos' issues. Seems more appropriate.
Edit2: Hmm, I can't since issues are not available on your repos.
Any updates on the state of this PR and whether or not it will be merged, @jithurjacob? I'm looking to use this package in one of my projects and this is the one feature I need that is missing.