winrt-Windows.UI.Notifications 2.0.0b1__tar.gz → 2.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/PKG-INFO +9 -2
- winrt_windows_ui_notifications-2.0.1/all-requirements.txt +7 -0
- {winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/py.Windows.UI.Notifications.cpp +1 -1
- {winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/pyproject.toml +7 -4
- winrt_windows_ui_notifications-2.0.1/pywinrt-version.txt +1 -0
- {winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/requirements.txt +2 -2
- winrt_windows_ui_notifications-2.0.1/setup.py +31 -0
- {winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/winrt/_winrt_windows_ui_notifications.pyi +46 -1
- {winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/winrt/windows/ui/notifications/__init__.py +1 -1
- winrt_windows_ui_notifications-2.0.1/winrt/windows/ui/notifications/py.typed +0 -0
- {winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/winrt_Windows.UI.Notifications.egg-info/PKG-INFO +9 -2
- {winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/winrt_Windows.UI.Notifications.egg-info/SOURCES.txt +1 -0
- winrt_windows_ui_notifications-2.0.1/winrt_Windows.UI.Notifications.egg-info/requires.txt +8 -0
- winrt-Windows.UI.Notifications-2.0.0b1/all-requirements.txt +0 -7
- winrt-Windows.UI.Notifications-2.0.0b1/pywinrt-version.txt +0 -1
- winrt-Windows.UI.Notifications-2.0.0b1/setup.py +0 -17
- winrt-Windows.UI.Notifications-2.0.0b1/winrt_Windows.UI.Notifications.egg-info/requires.txt +0 -8
- {winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/README.md +0 -0
- {winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/setup.cfg +0 -0
- {winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/winrt_Windows.UI.Notifications.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/winrt_Windows.UI.Notifications.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Notifications
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,13 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Data.Xml.Dom[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
|
|
15
22
|
|
|
16
23
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
24
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
|
+
|
|
3
|
+
winrt-Windows.ApplicationModel[all]==2.0.1
|
|
4
|
+
winrt-Windows.Data.Xml.Dom[all]==2.0.1
|
|
5
|
+
winrt-Windows.Foundation[all]==2.0.1
|
|
6
|
+
winrt-Windows.Foundation.Collections[all]==2.0.1
|
|
7
|
+
winrt-Windows.System[all]==2.0.1
|
{winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/pyproject.toml
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "
|
|
4
|
+
requires = ["setuptools", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
|
19
19
|
requires-python = ">=3.9,<3.13"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
|
-
# Homepage = "https://github.com/
|
|
23
|
-
|
|
24
|
-
Repository = "https://github.com/
|
|
22
|
+
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
23
|
+
Documentation = "https://pywinrt.readthedocs.io"
|
|
24
|
+
Repository = "https://github.com/pywinrt/pywinrt"
|
|
25
25
|
Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
|
|
26
26
|
|
|
27
27
|
[tool.setuptools.dynamic]
|
|
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
|
|
|
29
29
|
dependencies = { file = "requirements.txt" }
|
|
30
30
|
optional-dependencies.all = { file = "all-requirements.txt" }
|
|
31
31
|
|
|
32
|
+
[tool.setuptools.package-data]
|
|
33
|
+
"*" = ["*.pyi", "py.typed"]
|
|
34
|
+
|
|
32
35
|
[tool.cibuildwheel]
|
|
33
36
|
# use local winrt-sdk build dependency
|
|
34
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.1
|
{winrt-Windows.UI.Notifications-2.0.0b1 → winrt_windows_ui_notifications-2.0.1}/requirements.txt
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0.
|
|
3
|
+
winrt-runtime==2.0.1
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
from setuptools import Extension, setup
|
|
4
|
+
from setuptools.command.build_ext import build_ext
|
|
5
|
+
from winrt_sdk import get_include_dirs
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class build_ext_ex(build_ext):
|
|
9
|
+
def build_extension(self, ext):
|
|
10
|
+
if self.compiler.compiler_type == "msvc":
|
|
11
|
+
ext.extra_compile_args = ["/std:c++20", "/permissive-"]
|
|
12
|
+
elif self.compiler.compiler_type == "mingw32":
|
|
13
|
+
ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
|
|
14
|
+
ext.extra_link_args = ["-loleaut32"]
|
|
15
|
+
else:
|
|
16
|
+
raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
|
|
17
|
+
|
|
18
|
+
build_ext.build_extension(self, ext)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
setup(
|
|
22
|
+
cmdclass = {'build_ext': build_ext_ex},
|
|
23
|
+
ext_modules=[
|
|
24
|
+
Extension(
|
|
25
|
+
"winrt._winrt_windows_ui_notifications",
|
|
26
|
+
sources=["py.Windows.UI.Notifications.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -19,6 +19,7 @@ from winrt.windows.ui.notifications import AdaptiveNotificationContentKind, Badg
|
|
|
19
19
|
|
|
20
20
|
Self = typing.TypeVar('Self')
|
|
21
21
|
|
|
22
|
+
@typing.final
|
|
22
23
|
class AdaptiveNotificationText(winrt.system.Object):
|
|
23
24
|
@staticmethod
|
|
24
25
|
def _from(obj: winrt.system.Object, /) -> AdaptiveNotificationText: ...
|
|
@@ -36,6 +37,7 @@ class AdaptiveNotificationText(winrt.system.Object):
|
|
|
36
37
|
@language.setter
|
|
37
38
|
def language(self, value: str) -> None: ...
|
|
38
39
|
|
|
40
|
+
@typing.final
|
|
39
41
|
class BadgeNotification(winrt.system.Object):
|
|
40
42
|
@staticmethod
|
|
41
43
|
def _from(obj: winrt.system.Object, /) -> BadgeNotification: ...
|
|
@@ -47,6 +49,7 @@ class BadgeNotification(winrt.system.Object):
|
|
|
47
49
|
@_property
|
|
48
50
|
def content(self) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
|
|
49
51
|
|
|
52
|
+
@typing.final
|
|
50
53
|
class BadgeUpdateManager_Static(type):
|
|
51
54
|
@typing.overload
|
|
52
55
|
def create_badge_updater_for_application(cls) -> typing.Optional[BadgeUpdater]: ...
|
|
@@ -56,10 +59,12 @@ class BadgeUpdateManager_Static(type):
|
|
|
56
59
|
def get_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[BadgeUpdateManagerForUser]: ...
|
|
57
60
|
def get_template_content(cls, type: BadgeTemplateType, /) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
|
|
58
61
|
|
|
62
|
+
@typing.final
|
|
59
63
|
class BadgeUpdateManager(winrt.system.Object, metaclass=BadgeUpdateManager_Static):
|
|
60
64
|
@staticmethod
|
|
61
65
|
def _from(obj: winrt.system.Object, /) -> BadgeUpdateManager: ...
|
|
62
66
|
|
|
67
|
+
@typing.final
|
|
63
68
|
class BadgeUpdateManagerForUser(winrt.system.Object):
|
|
64
69
|
@staticmethod
|
|
65
70
|
def _from(obj: winrt.system.Object, /) -> BadgeUpdateManagerForUser: ...
|
|
@@ -71,6 +76,7 @@ class BadgeUpdateManagerForUser(winrt.system.Object):
|
|
|
71
76
|
@_property
|
|
72
77
|
def user(self) -> typing.Optional[winrt.windows.system.User]: ...
|
|
73
78
|
|
|
79
|
+
@typing.final
|
|
74
80
|
class BadgeUpdater(winrt.system.Object):
|
|
75
81
|
@staticmethod
|
|
76
82
|
def _from(obj: winrt.system.Object, /) -> BadgeUpdater: ...
|
|
@@ -82,6 +88,7 @@ class BadgeUpdater(winrt.system.Object):
|
|
|
82
88
|
def stop_periodic_update(self) -> None: ...
|
|
83
89
|
def update(self, notification: typing.Optional[BadgeNotification], /) -> None: ...
|
|
84
90
|
|
|
91
|
+
@typing.final
|
|
85
92
|
class KnownAdaptiveNotificationHints_Static(type):
|
|
86
93
|
@_property
|
|
87
94
|
def align(cls) -> str: ...
|
|
@@ -96,10 +103,12 @@ class KnownAdaptiveNotificationHints_Static(type):
|
|
|
96
103
|
@_property
|
|
97
104
|
def wrap(cls) -> str: ...
|
|
98
105
|
|
|
106
|
+
@typing.final
|
|
99
107
|
class KnownAdaptiveNotificationHints(winrt.system.Object, metaclass=KnownAdaptiveNotificationHints_Static):
|
|
100
108
|
@staticmethod
|
|
101
109
|
def _from(obj: winrt.system.Object, /) -> KnownAdaptiveNotificationHints: ...
|
|
102
110
|
|
|
111
|
+
@typing.final
|
|
103
112
|
class KnownAdaptiveNotificationTextStyles_Static(type):
|
|
104
113
|
@_property
|
|
105
114
|
def base(cls) -> str: ...
|
|
@@ -140,18 +149,22 @@ class KnownAdaptiveNotificationTextStyles_Static(type):
|
|
|
140
149
|
@_property
|
|
141
150
|
def title_subtle(cls) -> str: ...
|
|
142
151
|
|
|
152
|
+
@typing.final
|
|
143
153
|
class KnownAdaptiveNotificationTextStyles(winrt.system.Object, metaclass=KnownAdaptiveNotificationTextStyles_Static):
|
|
144
154
|
@staticmethod
|
|
145
155
|
def _from(obj: winrt.system.Object, /) -> KnownAdaptiveNotificationTextStyles: ...
|
|
146
156
|
|
|
157
|
+
@typing.final
|
|
147
158
|
class KnownNotificationBindings_Static(type):
|
|
148
159
|
@_property
|
|
149
160
|
def toast_generic(cls) -> str: ...
|
|
150
161
|
|
|
162
|
+
@typing.final
|
|
151
163
|
class KnownNotificationBindings(winrt.system.Object, metaclass=KnownNotificationBindings_Static):
|
|
152
164
|
@staticmethod
|
|
153
165
|
def _from(obj: winrt.system.Object, /) -> KnownNotificationBindings: ...
|
|
154
166
|
|
|
167
|
+
@typing.final
|
|
155
168
|
class Notification(winrt.system.Object):
|
|
156
169
|
@staticmethod
|
|
157
170
|
def _from(obj: winrt.system.Object, /) -> Notification: ...
|
|
@@ -165,6 +178,7 @@ class Notification(winrt.system.Object):
|
|
|
165
178
|
@expiration_time.setter
|
|
166
179
|
def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
|
|
167
180
|
|
|
181
|
+
@typing.final
|
|
168
182
|
class NotificationBinding(winrt.system.Object):
|
|
169
183
|
@staticmethod
|
|
170
184
|
def _from(obj: winrt.system.Object, /) -> NotificationBinding: ...
|
|
@@ -180,6 +194,7 @@ class NotificationBinding(winrt.system.Object):
|
|
|
180
194
|
@_property
|
|
181
195
|
def hints(self) -> typing.Optional[winrt.windows.foundation.collections.IMap[str, str]]: ...
|
|
182
196
|
|
|
197
|
+
@typing.final
|
|
183
198
|
class NotificationData(winrt.system.Object):
|
|
184
199
|
@staticmethod
|
|
185
200
|
def _from(obj: winrt.system.Object, /) -> NotificationData: ...
|
|
@@ -196,6 +211,7 @@ class NotificationData(winrt.system.Object):
|
|
|
196
211
|
@_property
|
|
197
212
|
def values(self) -> typing.Optional[winrt.windows.foundation.collections.IMap[str, str]]: ...
|
|
198
213
|
|
|
214
|
+
@typing.final
|
|
199
215
|
class NotificationVisual(winrt.system.Object):
|
|
200
216
|
@staticmethod
|
|
201
217
|
def _from(obj: winrt.system.Object, /) -> NotificationVisual: ...
|
|
@@ -207,6 +223,7 @@ class NotificationVisual(winrt.system.Object):
|
|
|
207
223
|
@_property
|
|
208
224
|
def bindings(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[NotificationBinding]]: ...
|
|
209
225
|
|
|
226
|
+
@typing.final
|
|
210
227
|
class ScheduledTileNotification(winrt.system.Object):
|
|
211
228
|
@staticmethod
|
|
212
229
|
def _from(obj: winrt.system.Object, /) -> ScheduledTileNotification: ...
|
|
@@ -228,6 +245,7 @@ class ScheduledTileNotification(winrt.system.Object):
|
|
|
228
245
|
@_property
|
|
229
246
|
def delivery_time(self) -> datetime.datetime: ...
|
|
230
247
|
|
|
248
|
+
@typing.final
|
|
231
249
|
class ScheduledToastNotification(winrt.system.Object):
|
|
232
250
|
@staticmethod
|
|
233
251
|
def _from(obj: winrt.system.Object, /) -> ScheduledToastNotification: ...
|
|
@@ -272,6 +290,7 @@ class ScheduledToastNotification(winrt.system.Object):
|
|
|
272
290
|
@expiration_time.setter
|
|
273
291
|
def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
|
|
274
292
|
|
|
293
|
+
@typing.final
|
|
275
294
|
class ScheduledToastNotificationShowingEventArgs(winrt.system.Object):
|
|
276
295
|
@staticmethod
|
|
277
296
|
def _from(obj: winrt.system.Object, /) -> ScheduledToastNotificationShowingEventArgs: ...
|
|
@@ -283,12 +302,14 @@ class ScheduledToastNotificationShowingEventArgs(winrt.system.Object):
|
|
|
283
302
|
@_property
|
|
284
303
|
def scheduled_toast_notification(self) -> typing.Optional[ScheduledToastNotification]: ...
|
|
285
304
|
|
|
305
|
+
@typing.final
|
|
286
306
|
class ShownTileNotification(winrt.system.Object):
|
|
287
307
|
@staticmethod
|
|
288
308
|
def _from(obj: winrt.system.Object, /) -> ShownTileNotification: ...
|
|
289
309
|
@_property
|
|
290
310
|
def arguments(self) -> str: ...
|
|
291
311
|
|
|
312
|
+
@typing.final
|
|
292
313
|
class TileFlyoutNotification(winrt.system.Object):
|
|
293
314
|
@staticmethod
|
|
294
315
|
def _from(obj: winrt.system.Object, /) -> TileFlyoutNotification: ...
|
|
@@ -300,6 +321,7 @@ class TileFlyoutNotification(winrt.system.Object):
|
|
|
300
321
|
@_property
|
|
301
322
|
def content(self) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
|
|
302
323
|
|
|
324
|
+
@typing.final
|
|
303
325
|
class TileFlyoutUpdateManager_Static(type):
|
|
304
326
|
@typing.overload
|
|
305
327
|
def create_tile_flyout_updater_for_application(cls) -> typing.Optional[TileFlyoutUpdater]: ...
|
|
@@ -308,10 +330,12 @@ class TileFlyoutUpdateManager_Static(type):
|
|
|
308
330
|
def create_tile_flyout_updater_for_secondary_tile(cls, tile_id: str, /) -> typing.Optional[TileFlyoutUpdater]: ...
|
|
309
331
|
def get_template_content(cls, type: TileFlyoutTemplateType, /) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
|
|
310
332
|
|
|
333
|
+
@typing.final
|
|
311
334
|
class TileFlyoutUpdateManager(winrt.system.Object, metaclass=TileFlyoutUpdateManager_Static):
|
|
312
335
|
@staticmethod
|
|
313
336
|
def _from(obj: winrt.system.Object, /) -> TileFlyoutUpdateManager: ...
|
|
314
337
|
|
|
338
|
+
@typing.final
|
|
315
339
|
class TileFlyoutUpdater(winrt.system.Object):
|
|
316
340
|
@staticmethod
|
|
317
341
|
def _from(obj: winrt.system.Object, /) -> TileFlyoutUpdater: ...
|
|
@@ -325,6 +349,7 @@ class TileFlyoutUpdater(winrt.system.Object):
|
|
|
325
349
|
@_property
|
|
326
350
|
def setting(self) -> NotificationSetting: ...
|
|
327
351
|
|
|
352
|
+
@typing.final
|
|
328
353
|
class TileNotification(winrt.system.Object):
|
|
329
354
|
@staticmethod
|
|
330
355
|
def _from(obj: winrt.system.Object, /) -> TileNotification: ...
|
|
@@ -340,6 +365,7 @@ class TileNotification(winrt.system.Object):
|
|
|
340
365
|
@_property
|
|
341
366
|
def content(self) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
|
|
342
367
|
|
|
368
|
+
@typing.final
|
|
343
369
|
class TileUpdateManager_Static(type):
|
|
344
370
|
@typing.overload
|
|
345
371
|
def create_tile_updater_for_application(cls) -> typing.Optional[TileUpdater]: ...
|
|
@@ -349,10 +375,12 @@ class TileUpdateManager_Static(type):
|
|
|
349
375
|
def get_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[TileUpdateManagerForUser]: ...
|
|
350
376
|
def get_template_content(cls, type: TileTemplateType, /) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
|
|
351
377
|
|
|
378
|
+
@typing.final
|
|
352
379
|
class TileUpdateManager(winrt.system.Object, metaclass=TileUpdateManager_Static):
|
|
353
380
|
@staticmethod
|
|
354
381
|
def _from(obj: winrt.system.Object, /) -> TileUpdateManager: ...
|
|
355
382
|
|
|
383
|
+
@typing.final
|
|
356
384
|
class TileUpdateManagerForUser(winrt.system.Object):
|
|
357
385
|
@staticmethod
|
|
358
386
|
def _from(obj: winrt.system.Object, /) -> TileUpdateManagerForUser: ...
|
|
@@ -362,6 +390,7 @@ class TileUpdateManagerForUser(winrt.system.Object):
|
|
|
362
390
|
@_property
|
|
363
391
|
def user(self) -> typing.Optional[winrt.windows.system.User]: ...
|
|
364
392
|
|
|
393
|
+
@typing.final
|
|
365
394
|
class TileUpdater(winrt.system.Object):
|
|
366
395
|
@staticmethod
|
|
367
396
|
def _from(obj: winrt.system.Object, /) -> TileUpdater: ...
|
|
@@ -386,6 +415,7 @@ class TileUpdater(winrt.system.Object):
|
|
|
386
415
|
@_property
|
|
387
416
|
def setting(self) -> NotificationSetting: ...
|
|
388
417
|
|
|
418
|
+
@typing.final
|
|
389
419
|
class ToastActivatedEventArgs(winrt.system.Object):
|
|
390
420
|
@staticmethod
|
|
391
421
|
def _from(obj: winrt.system.Object, /) -> ToastActivatedEventArgs: ...
|
|
@@ -394,6 +424,7 @@ class ToastActivatedEventArgs(winrt.system.Object):
|
|
|
394
424
|
@_property
|
|
395
425
|
def user_input(self) -> typing.Optional[winrt.windows.foundation.collections.ValueSet]: ...
|
|
396
426
|
|
|
427
|
+
@typing.final
|
|
397
428
|
class ToastCollection(winrt.system.Object):
|
|
398
429
|
@staticmethod
|
|
399
430
|
def _from(obj: winrt.system.Object, /) -> ToastCollection: ...
|
|
@@ -413,6 +444,7 @@ class ToastCollection(winrt.system.Object):
|
|
|
413
444
|
@_property
|
|
414
445
|
def id(self) -> str: ...
|
|
415
446
|
|
|
447
|
+
@typing.final
|
|
416
448
|
class ToastCollectionManager(winrt.system.Object):
|
|
417
449
|
@staticmethod
|
|
418
450
|
def _from(obj: winrt.system.Object, /) -> ToastCollectionManager: ...
|
|
@@ -426,18 +458,21 @@ class ToastCollectionManager(winrt.system.Object):
|
|
|
426
458
|
@_property
|
|
427
459
|
def user(self) -> typing.Optional[winrt.windows.system.User]: ...
|
|
428
460
|
|
|
461
|
+
@typing.final
|
|
429
462
|
class ToastDismissedEventArgs(winrt.system.Object):
|
|
430
463
|
@staticmethod
|
|
431
464
|
def _from(obj: winrt.system.Object, /) -> ToastDismissedEventArgs: ...
|
|
432
465
|
@_property
|
|
433
466
|
def reason(self) -> ToastDismissalReason: ...
|
|
434
467
|
|
|
468
|
+
@typing.final
|
|
435
469
|
class ToastFailedEventArgs(winrt.system.Object):
|
|
436
470
|
@staticmethod
|
|
437
471
|
def _from(obj: winrt.system.Object, /) -> ToastFailedEventArgs: ...
|
|
438
472
|
@_property
|
|
439
473
|
def error_code(self) -> winrt.windows.foundation.HResult: ...
|
|
440
474
|
|
|
475
|
+
@typing.final
|
|
441
476
|
class ToastNotification(winrt.system.Object):
|
|
442
477
|
@staticmethod
|
|
443
478
|
def _from(obj: winrt.system.Object, /) -> ToastNotification: ...
|
|
@@ -487,6 +522,7 @@ class ToastNotification(winrt.system.Object):
|
|
|
487
522
|
@expires_on_reboot.setter
|
|
488
523
|
def expires_on_reboot(self, value: bool) -> None: ...
|
|
489
524
|
|
|
525
|
+
@typing.final
|
|
490
526
|
class ToastNotificationActionTriggerDetail(winrt.system.Object):
|
|
491
527
|
@staticmethod
|
|
492
528
|
def _from(obj: winrt.system.Object, /) -> ToastNotificationActionTriggerDetail: ...
|
|
@@ -495,6 +531,7 @@ class ToastNotificationActionTriggerDetail(winrt.system.Object):
|
|
|
495
531
|
@_property
|
|
496
532
|
def user_input(self) -> typing.Optional[winrt.windows.foundation.collections.ValueSet]: ...
|
|
497
533
|
|
|
534
|
+
@typing.final
|
|
498
535
|
class ToastNotificationHistory(winrt.system.Object):
|
|
499
536
|
@staticmethod
|
|
500
537
|
def _from(obj: winrt.system.Object, /) -> ToastNotificationHistory: ...
|
|
@@ -517,6 +554,7 @@ class ToastNotificationHistory(winrt.system.Object):
|
|
|
517
554
|
@typing.overload
|
|
518
555
|
def remove_group(self, group: str, application_id: str, /) -> None: ...
|
|
519
556
|
|
|
557
|
+
@typing.final
|
|
520
558
|
class ToastNotificationHistoryChangedTriggerDetail(winrt.system.Object):
|
|
521
559
|
@staticmethod
|
|
522
560
|
def _from(obj: winrt.system.Object, /) -> ToastNotificationHistoryChangedTriggerDetail: ...
|
|
@@ -525,6 +563,7 @@ class ToastNotificationHistoryChangedTriggerDetail(winrt.system.Object):
|
|
|
525
563
|
@_property
|
|
526
564
|
def collection_id(self) -> str: ...
|
|
527
565
|
|
|
566
|
+
@typing.final
|
|
528
567
|
class ToastNotificationManager_Static(type):
|
|
529
568
|
def configure_notification_mirroring(cls, value: NotificationMirroring, /) -> None: ...
|
|
530
569
|
@typing.overload
|
|
@@ -537,10 +576,12 @@ class ToastNotificationManager_Static(type):
|
|
|
537
576
|
@_property
|
|
538
577
|
def history(cls) -> typing.Optional[ToastNotificationHistory]: ...
|
|
539
578
|
|
|
579
|
+
@typing.final
|
|
540
580
|
class ToastNotificationManager(winrt.system.Object, metaclass=ToastNotificationManager_Static):
|
|
541
581
|
@staticmethod
|
|
542
582
|
def _from(obj: winrt.system.Object, /) -> ToastNotificationManager: ...
|
|
543
583
|
|
|
584
|
+
@typing.final
|
|
544
585
|
class ToastNotificationManagerForUser(winrt.system.Object):
|
|
545
586
|
@staticmethod
|
|
546
587
|
def _from(obj: winrt.system.Object, /) -> ToastNotificationManagerForUser: ...
|
|
@@ -563,6 +604,7 @@ class ToastNotificationManagerForUser(winrt.system.Object):
|
|
|
563
604
|
@_property
|
|
564
605
|
def notification_mode(self) -> ToastNotificationMode: ...
|
|
565
606
|
|
|
607
|
+
@typing.final
|
|
566
608
|
class ToastNotifier(winrt.system.Object):
|
|
567
609
|
@staticmethod
|
|
568
610
|
def _from(obj: winrt.system.Object, /) -> ToastNotifier: ...
|
|
@@ -580,6 +622,7 @@ class ToastNotifier(winrt.system.Object):
|
|
|
580
622
|
@_property
|
|
581
623
|
def setting(self) -> NotificationSetting: ...
|
|
582
624
|
|
|
625
|
+
@typing.final
|
|
583
626
|
class UserNotification(winrt.system.Object):
|
|
584
627
|
@staticmethod
|
|
585
628
|
def _from(obj: winrt.system.Object, /) -> UserNotification: ...
|
|
@@ -592,6 +635,7 @@ class UserNotification(winrt.system.Object):
|
|
|
592
635
|
@_property
|
|
593
636
|
def notification(self) -> typing.Optional[Notification]: ...
|
|
594
637
|
|
|
638
|
+
@typing.final
|
|
595
639
|
class UserNotificationChangedEventArgs(winrt.system.Object):
|
|
596
640
|
@staticmethod
|
|
597
641
|
def _from(obj: winrt.system.Object, /) -> UserNotificationChangedEventArgs: ...
|
|
@@ -600,6 +644,7 @@ class UserNotificationChangedEventArgs(winrt.system.Object):
|
|
|
600
644
|
@_property
|
|
601
645
|
def user_notification_id(self) -> winrt.system.UInt32: ...
|
|
602
646
|
|
|
647
|
+
@typing.final
|
|
603
648
|
class IAdaptiveNotificationContent(winrt.system.Object):
|
|
604
649
|
@staticmethod
|
|
605
650
|
def _from(obj: winrt.system.Object, /) -> IAdaptiveNotificationContent: ...
|
|
File without changes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Notifications
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,13 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Data.Xml.Dom[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
|
|
15
22
|
|
|
16
23
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
24
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_ui_notifications.pyi
|
|
9
9
|
winrt/windows/ui/notifications/__init__.py
|
|
10
|
+
winrt/windows/ui/notifications/py.typed
|
|
10
11
|
winrt_Windows.UI.Notifications.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.UI.Notifications.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.UI.Notifications.egg-info/dependency_links.txt
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
winrt-Windows.ApplicationModel[all]==2.0.0-beta.1
|
|
4
|
-
winrt-Windows.Data.Xml.Dom[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.System[all]==2.0.0-beta.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.1
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
-
|
|
3
|
-
from setuptools import Extension, setup
|
|
4
|
-
from winrt_sdk import get_include_dirs
|
|
5
|
-
|
|
6
|
-
setup(
|
|
7
|
-
ext_modules=[
|
|
8
|
-
Extension(
|
|
9
|
-
"winrt._winrt_windows_ui_notifications",
|
|
10
|
-
sources=["py.Windows.UI.Notifications.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
package_data={"winrt": ["*.pyi"]},
|
|
17
|
-
)
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.ApplicationModel[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Data.Xml.Dom[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
8
|
-
winrt-Windows.System[all]==2.0.0-beta.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|