pywinrt / python-winsdk

Python package with bindings for Windows SDK
https://python-winsdk.readthedocs.io
MIT License
77 stars 8 forks source link

doesn't apply to a 'NotificationKinds' object #37

Open ThreepE0 opened 1 year ago

ThreepE0 commented 1 year ago

Using python 3.9, when I try to use listener.get_notifications_async(NotificationKinds.TOAST) I get descriptor 'get_notifications_async' for 'UserNotificationListener' objects doesn't apply to a 'NotificationKinds' object I've tried a few things including defining listener.kinds and using an integer or hex as an argument to the get_notifications_async function, but I can't seem to figure out what get_notifications_async wants as an argument.

dlech commented 1 year ago

Which version of winsdk are you using?