blob: ea46e08b99b0589f5bbabcb3efa1c3cbd08a3349 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from threading import Thread as thread
from plyer.facades import Notification
from plyer.platforms.win.libs.balloontip import balloon_tip
class WindowsNotification(Notification):
def _notify(self, **kwargs):
thread(target=balloon_tip, kwargs=kwargs).start()
def instance():
return WindowsNotification()
|