jithurjacob / Windows-10-Toast-Notifications

Python library to display Windows 10 Toast Notifications
MIT License
970 stars 168 forks source link

Show permanent toast if `duration` is None #44

Open Berailitz opened 5 years ago

Berailitz commented 5 years ago

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.

clragon commented 5 years ago

Brilliant fork, works very well imo.

julien-h commented 5 years ago

@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:

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.

TNThieding commented 4 years ago

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.