winrt-Windows.UI.Core 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.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/PKG-INFO +11 -2
- winrt_windows_ui_core-2.0.1/all-requirements.txt +9 -0
- {winrt-Windows.UI.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/py.Windows.UI.Core.cpp +1 -1
- {winrt-Windows.UI.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/pyproject.toml +7 -4
- winrt_windows_ui_core-2.0.1/pywinrt-version.txt +1 -0
- {winrt-Windows.UI.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/requirements.txt +2 -2
- winrt_windows_ui_core-2.0.1/setup.py +31 -0
- {winrt-Windows.UI.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/winrt/_winrt_windows_ui_core.pyi +41 -1
- {winrt-Windows.UI.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/winrt/windows/ui/core/__init__.py +1 -1
- winrt_windows_ui_core-2.0.1/winrt/windows/ui/core/py.typed +0 -0
- {winrt-Windows.UI.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/winrt_Windows.UI.Core.egg-info/PKG-INFO +11 -2
- {winrt-Windows.UI.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/winrt_Windows.UI.Core.egg-info/SOURCES.txt +1 -0
- winrt_windows_ui_core-2.0.1/winrt_Windows.UI.Core.egg-info/requires.txt +10 -0
- winrt-Windows.UI.Core-2.0.0b1/all-requirements.txt +0 -9
- winrt-Windows.UI.Core-2.0.0b1/pywinrt-version.txt +0 -1
- winrt-Windows.UI.Core-2.0.0b1/setup.py +0 -17
- winrt-Windows.UI.Core-2.0.0b1/winrt_Windows.UI.Core.egg-info/requires.txt +0 -10
- {winrt-Windows.UI.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/README.md +0 -0
- {winrt-Windows.UI.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/setup.cfg +0 -0
- {winrt-Windows.UI.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/winrt_Windows.UI.Core.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.UI.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/winrt_Windows.UI.Core.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Core
|
|
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,15 @@ 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.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Composition[all]==2.0.1; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI.Input[all]==2.0.1; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.UI.Popups[all]==2.0.1; extra == "all"
|
|
15
24
|
|
|
16
25
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
26
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
|
+
|
|
3
|
+
winrt-Windows.Foundation[all]==2.0.1
|
|
4
|
+
winrt-Windows.Foundation.Collections[all]==2.0.1
|
|
5
|
+
winrt-Windows.System[all]==2.0.1
|
|
6
|
+
winrt-Windows.UI[all]==2.0.1
|
|
7
|
+
winrt-Windows.UI.Composition[all]==2.0.1
|
|
8
|
+
winrt-Windows.UI.Input[all]==2.0.1
|
|
9
|
+
winrt-Windows.UI.Popups[all]==2.0.1
|
|
@@ -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
|
|
@@ -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_core",
|
|
26
|
+
sources=["py.Windows.UI.Core.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
{winrt-Windows.UI.Core-2.0.0b1 → winrt_windows_ui_core-2.0.1}/winrt/_winrt_windows_ui_core.pyi
RENAMED
|
@@ -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
|
|
@@ -22,6 +22,7 @@ from winrt.windows.ui.core import DispatchedHandler, IdleDispatchedHandler
|
|
|
22
22
|
|
|
23
23
|
Self = typing.TypeVar('Self')
|
|
24
24
|
|
|
25
|
+
@typing.final
|
|
25
26
|
class CorePhysicalKeyStatus:
|
|
26
27
|
repeat_count: winrt.system.UInt32
|
|
27
28
|
scan_code: winrt.system.UInt32
|
|
@@ -31,11 +32,13 @@ class CorePhysicalKeyStatus:
|
|
|
31
32
|
is_key_released: bool
|
|
32
33
|
def __init__(self, repeat_count: winrt.system.UInt32, scan_code: winrt.system.UInt32, is_extended_key: bool, is_menu_key_down: bool, was_key_down: bool, is_key_released: bool) -> None: ...
|
|
33
34
|
|
|
35
|
+
@typing.final
|
|
34
36
|
class CoreProximityEvaluation:
|
|
35
37
|
score: winrt.system.Int32
|
|
36
38
|
adjusted_point: winrt.windows.foundation.Point
|
|
37
39
|
def __init__(self, score: winrt.system.Int32, adjusted_point: winrt.windows.foundation.Point) -> None: ...
|
|
38
40
|
|
|
41
|
+
@typing.final
|
|
39
42
|
class AcceleratorKeyEventArgs(winrt.system.Object):
|
|
40
43
|
@staticmethod
|
|
41
44
|
def _from(obj: winrt.system.Object, /) -> AcceleratorKeyEventArgs: ...
|
|
@@ -52,6 +55,7 @@ class AcceleratorKeyEventArgs(winrt.system.Object):
|
|
|
52
55
|
@handled.setter
|
|
53
56
|
def handled(self, value: bool) -> None: ...
|
|
54
57
|
|
|
58
|
+
@typing.final
|
|
55
59
|
class AutomationProviderRequestedEventArgs(winrt.system.Object):
|
|
56
60
|
@staticmethod
|
|
57
61
|
def _from(obj: winrt.system.Object, /) -> AutomationProviderRequestedEventArgs: ...
|
|
@@ -64,6 +68,7 @@ class AutomationProviderRequestedEventArgs(winrt.system.Object):
|
|
|
64
68
|
@handled.setter
|
|
65
69
|
def handled(self, value: bool) -> None: ...
|
|
66
70
|
|
|
71
|
+
@typing.final
|
|
67
72
|
class BackRequestedEventArgs(winrt.system.Object):
|
|
68
73
|
@staticmethod
|
|
69
74
|
def _from(obj: winrt.system.Object, /) -> BackRequestedEventArgs: ...
|
|
@@ -72,6 +77,7 @@ class BackRequestedEventArgs(winrt.system.Object):
|
|
|
72
77
|
@handled.setter
|
|
73
78
|
def handled(self, value: bool) -> None: ...
|
|
74
79
|
|
|
80
|
+
@typing.final
|
|
75
81
|
class CharacterReceivedEventArgs(winrt.system.Object):
|
|
76
82
|
@staticmethod
|
|
77
83
|
def _from(obj: winrt.system.Object, /) -> CharacterReceivedEventArgs: ...
|
|
@@ -84,6 +90,7 @@ class CharacterReceivedEventArgs(winrt.system.Object):
|
|
|
84
90
|
@handled.setter
|
|
85
91
|
def handled(self, value: bool) -> None: ...
|
|
86
92
|
|
|
93
|
+
@typing.final
|
|
87
94
|
class ClosestInteractiveBoundsRequestedEventArgs(winrt.system.Object):
|
|
88
95
|
@staticmethod
|
|
89
96
|
def _from(obj: winrt.system.Object, /) -> ClosestInteractiveBoundsRequestedEventArgs: ...
|
|
@@ -96,12 +103,14 @@ class ClosestInteractiveBoundsRequestedEventArgs(winrt.system.Object):
|
|
|
96
103
|
@_property
|
|
97
104
|
def search_bounds(self) -> winrt.windows.foundation.Rect: ...
|
|
98
105
|
|
|
106
|
+
@typing.final
|
|
99
107
|
class CoreAcceleratorKeys(winrt.system.Object):
|
|
100
108
|
@staticmethod
|
|
101
109
|
def _from(obj: winrt.system.Object, /) -> CoreAcceleratorKeys: ...
|
|
102
110
|
def add_accelerator_key_activated(self, handler: winrt.windows.foundation.TypedEventHandler[CoreDispatcher, AcceleratorKeyEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
103
111
|
def remove_accelerator_key_activated(self, cookie: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
104
112
|
|
|
113
|
+
@typing.final
|
|
105
114
|
class CoreComponentInputSource(winrt.system.Object):
|
|
106
115
|
@staticmethod
|
|
107
116
|
def _from(obj: winrt.system.Object, /) -> CoreComponentInputSource: ...
|
|
@@ -158,6 +167,7 @@ class CoreComponentInputSource(winrt.system.Object):
|
|
|
158
167
|
@_property
|
|
159
168
|
def dispatcher_queue(self) -> typing.Optional[winrt.windows.system.DispatcherQueue]: ...
|
|
160
169
|
|
|
170
|
+
@typing.final
|
|
161
171
|
class CoreCursor(winrt.system.Object):
|
|
162
172
|
@staticmethod
|
|
163
173
|
def _from(obj: winrt.system.Object, /) -> CoreCursor: ...
|
|
@@ -167,6 +177,7 @@ class CoreCursor(winrt.system.Object):
|
|
|
167
177
|
@_property
|
|
168
178
|
def type(self) -> CoreCursorType: ...
|
|
169
179
|
|
|
180
|
+
@typing.final
|
|
170
181
|
class CoreDispatcher(winrt.system.Object):
|
|
171
182
|
@staticmethod
|
|
172
183
|
def _from(obj: winrt.system.Object, /) -> CoreDispatcher: ...
|
|
@@ -189,6 +200,7 @@ class CoreDispatcher(winrt.system.Object):
|
|
|
189
200
|
@current_priority.setter
|
|
190
201
|
def current_priority(self, value: CoreDispatcherPriority) -> None: ...
|
|
191
202
|
|
|
203
|
+
@typing.final
|
|
192
204
|
class CoreIndependentInputSource(winrt.system.Object):
|
|
193
205
|
@staticmethod
|
|
194
206
|
def _from(obj: winrt.system.Object, /) -> CoreIndependentInputSource: ...
|
|
@@ -233,10 +245,12 @@ class CoreIndependentInputSource(winrt.system.Object):
|
|
|
233
245
|
@_property
|
|
234
246
|
def dispatcher_queue(self) -> typing.Optional[winrt.windows.system.DispatcherQueue]: ...
|
|
235
247
|
|
|
248
|
+
@typing.final
|
|
236
249
|
class CoreIndependentInputSourceController_Static(type):
|
|
237
250
|
def create_for_i_visual_element(cls, visual_element: typing.Optional[winrt.windows.ui.composition.IVisualElement], /) -> typing.Optional[CoreIndependentInputSourceController]: ...
|
|
238
251
|
def create_for_visual(cls, visual: typing.Optional[winrt.windows.ui.composition.Visual], /) -> typing.Optional[CoreIndependentInputSourceController]: ...
|
|
239
252
|
|
|
253
|
+
@typing.final
|
|
240
254
|
class CoreIndependentInputSourceController(winrt.system.Object, metaclass=CoreIndependentInputSourceController_Static):
|
|
241
255
|
def __enter__(self: Self) -> Self: ...
|
|
242
256
|
def __exit__(self, *args) -> None: ...
|
|
@@ -258,9 +272,11 @@ class CoreIndependentInputSourceController(winrt.system.Object, metaclass=CoreIn
|
|
|
258
272
|
@_property
|
|
259
273
|
def source(self) -> typing.Optional[CoreIndependentInputSource]: ...
|
|
260
274
|
|
|
275
|
+
@typing.final
|
|
261
276
|
class CoreWindow_Static(type):
|
|
262
277
|
def get_for_current_thread(cls) -> typing.Optional[CoreWindow]: ...
|
|
263
278
|
|
|
279
|
+
@typing.final
|
|
264
280
|
class CoreWindow(winrt.system.Object, metaclass=CoreWindow_Static):
|
|
265
281
|
@staticmethod
|
|
266
282
|
def _from(obj: winrt.system.Object, /) -> CoreWindow: ...
|
|
@@ -350,6 +366,7 @@ class CoreWindow(winrt.system.Object, metaclass=CoreWindow_Static):
|
|
|
350
366
|
@_property
|
|
351
367
|
def u_i_context(self) -> typing.Optional[winrt.windows.ui.UIContext]: ...
|
|
352
368
|
|
|
369
|
+
@typing.final
|
|
353
370
|
class CoreWindowDialog(winrt.system.Object):
|
|
354
371
|
@staticmethod
|
|
355
372
|
def _from(obj: winrt.system.Object, /) -> CoreWindowDialog: ...
|
|
@@ -387,6 +404,7 @@ class CoreWindowDialog(winrt.system.Object):
|
|
|
387
404
|
@_property
|
|
388
405
|
def min_size(self) -> winrt.windows.foundation.Size: ...
|
|
389
406
|
|
|
407
|
+
@typing.final
|
|
390
408
|
class CoreWindowEventArgs(winrt.system.Object):
|
|
391
409
|
@staticmethod
|
|
392
410
|
def _from(obj: winrt.system.Object, /) -> CoreWindowEventArgs: ...
|
|
@@ -395,6 +413,7 @@ class CoreWindowEventArgs(winrt.system.Object):
|
|
|
395
413
|
@handled.setter
|
|
396
414
|
def handled(self, value: bool) -> None: ...
|
|
397
415
|
|
|
416
|
+
@typing.final
|
|
398
417
|
class CoreWindowFlyout(winrt.system.Object):
|
|
399
418
|
@staticmethod
|
|
400
419
|
def _from(obj: winrt.system.Object, /) -> CoreWindowFlyout: ...
|
|
@@ -428,14 +447,17 @@ class CoreWindowFlyout(winrt.system.Object):
|
|
|
428
447
|
@_property
|
|
429
448
|
def min_size(self) -> winrt.windows.foundation.Size: ...
|
|
430
449
|
|
|
450
|
+
@typing.final
|
|
431
451
|
class CoreWindowPopupShowingEventArgs(winrt.system.Object):
|
|
432
452
|
@staticmethod
|
|
433
453
|
def _from(obj: winrt.system.Object, /) -> CoreWindowPopupShowingEventArgs: ...
|
|
434
454
|
def set_desired_size(self, value: winrt.windows.foundation.Size, /) -> None: ...
|
|
435
455
|
|
|
456
|
+
@typing.final
|
|
436
457
|
class CoreWindowResizeManager_Static(type):
|
|
437
458
|
def get_for_current_view(cls) -> typing.Optional[CoreWindowResizeManager]: ...
|
|
438
459
|
|
|
460
|
+
@typing.final
|
|
439
461
|
class CoreWindowResizeManager(winrt.system.Object, metaclass=CoreWindowResizeManager_Static):
|
|
440
462
|
@staticmethod
|
|
441
463
|
def _from(obj: winrt.system.Object, /) -> CoreWindowResizeManager: ...
|
|
@@ -445,12 +467,14 @@ class CoreWindowResizeManager(winrt.system.Object, metaclass=CoreWindowResizeMan
|
|
|
445
467
|
@should_wait_for_layout_completion.setter
|
|
446
468
|
def should_wait_for_layout_completion(self, value: bool) -> None: ...
|
|
447
469
|
|
|
470
|
+
@typing.final
|
|
448
471
|
class IdleDispatchedHandlerArgs(winrt.system.Object):
|
|
449
472
|
@staticmethod
|
|
450
473
|
def _from(obj: winrt.system.Object, /) -> IdleDispatchedHandlerArgs: ...
|
|
451
474
|
@_property
|
|
452
475
|
def is_dispatcher_idle(self) -> bool: ...
|
|
453
476
|
|
|
477
|
+
@typing.final
|
|
454
478
|
class InputEnabledEventArgs(winrt.system.Object):
|
|
455
479
|
@staticmethod
|
|
456
480
|
def _from(obj: winrt.system.Object, /) -> InputEnabledEventArgs: ...
|
|
@@ -461,6 +485,7 @@ class InputEnabledEventArgs(winrt.system.Object):
|
|
|
461
485
|
@_property
|
|
462
486
|
def input_enabled(self) -> bool: ...
|
|
463
487
|
|
|
488
|
+
@typing.final
|
|
464
489
|
class KeyEventArgs(winrt.system.Object):
|
|
465
490
|
@staticmethod
|
|
466
491
|
def _from(obj: winrt.system.Object, /) -> KeyEventArgs: ...
|
|
@@ -475,6 +500,7 @@ class KeyEventArgs(winrt.system.Object):
|
|
|
475
500
|
@_property
|
|
476
501
|
def device_id(self) -> str: ...
|
|
477
502
|
|
|
503
|
+
@typing.final
|
|
478
504
|
class PointerEventArgs(winrt.system.Object):
|
|
479
505
|
@staticmethod
|
|
480
506
|
def _from(obj: winrt.system.Object, /) -> PointerEventArgs: ...
|
|
@@ -488,9 +514,11 @@ class PointerEventArgs(winrt.system.Object):
|
|
|
488
514
|
@_property
|
|
489
515
|
def key_modifiers(self) -> winrt.windows.system.VirtualKeyModifiers: ...
|
|
490
516
|
|
|
517
|
+
@typing.final
|
|
491
518
|
class SystemNavigationManager_Static(type):
|
|
492
519
|
def get_for_current_view(cls) -> typing.Optional[SystemNavigationManager]: ...
|
|
493
520
|
|
|
521
|
+
@typing.final
|
|
494
522
|
class SystemNavigationManager(winrt.system.Object, metaclass=SystemNavigationManager_Static):
|
|
495
523
|
@staticmethod
|
|
496
524
|
def _from(obj: winrt.system.Object, /) -> SystemNavigationManager: ...
|
|
@@ -501,6 +529,7 @@ class SystemNavigationManager(winrt.system.Object, metaclass=SystemNavigationMan
|
|
|
501
529
|
@app_view_back_button_visibility.setter
|
|
502
530
|
def app_view_back_button_visibility(self, value: AppViewBackButtonVisibility) -> None: ...
|
|
503
531
|
|
|
532
|
+
@typing.final
|
|
504
533
|
class TouchHitTestingEventArgs(winrt.system.Object):
|
|
505
534
|
@staticmethod
|
|
506
535
|
def _from(obj: winrt.system.Object, /) -> TouchHitTestingEventArgs: ...
|
|
@@ -518,6 +547,7 @@ class TouchHitTestingEventArgs(winrt.system.Object):
|
|
|
518
547
|
@_property
|
|
519
548
|
def point(self) -> winrt.windows.foundation.Point: ...
|
|
520
549
|
|
|
550
|
+
@typing.final
|
|
521
551
|
class VisibilityChangedEventArgs(winrt.system.Object):
|
|
522
552
|
@staticmethod
|
|
523
553
|
def _from(obj: winrt.system.Object, /) -> VisibilityChangedEventArgs: ...
|
|
@@ -528,6 +558,7 @@ class VisibilityChangedEventArgs(winrt.system.Object):
|
|
|
528
558
|
@_property
|
|
529
559
|
def visible(self) -> bool: ...
|
|
530
560
|
|
|
561
|
+
@typing.final
|
|
531
562
|
class WindowActivatedEventArgs(winrt.system.Object):
|
|
532
563
|
@staticmethod
|
|
533
564
|
def _from(obj: winrt.system.Object, /) -> WindowActivatedEventArgs: ...
|
|
@@ -538,6 +569,7 @@ class WindowActivatedEventArgs(winrt.system.Object):
|
|
|
538
569
|
@_property
|
|
539
570
|
def window_activation_state(self) -> CoreWindowActivationState: ...
|
|
540
571
|
|
|
572
|
+
@typing.final
|
|
541
573
|
class WindowSizeChangedEventArgs(winrt.system.Object):
|
|
542
574
|
@staticmethod
|
|
543
575
|
def _from(obj: winrt.system.Object, /) -> WindowSizeChangedEventArgs: ...
|
|
@@ -548,12 +580,14 @@ class WindowSizeChangedEventArgs(winrt.system.Object):
|
|
|
548
580
|
@_property
|
|
549
581
|
def size(self) -> winrt.windows.foundation.Size: ...
|
|
550
582
|
|
|
583
|
+
@typing.final
|
|
551
584
|
class ICoreAcceleratorKeys(winrt.system.Object):
|
|
552
585
|
@staticmethod
|
|
553
586
|
def _from(obj: winrt.system.Object, /) -> ICoreAcceleratorKeys: ...
|
|
554
587
|
def add_accelerator_key_activated(self, handler: winrt.windows.foundation.TypedEventHandler[CoreDispatcher, AcceleratorKeyEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
555
588
|
def remove_accelerator_key_activated(self, cookie: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
556
589
|
|
|
590
|
+
@typing.final
|
|
557
591
|
class ICoreInputSourceBase(winrt.system.Object):
|
|
558
592
|
@staticmethod
|
|
559
593
|
def _from(obj: winrt.system.Object, /) -> ICoreInputSourceBase: ...
|
|
@@ -566,6 +600,7 @@ class ICoreInputSourceBase(winrt.system.Object):
|
|
|
566
600
|
@is_input_enabled.setter
|
|
567
601
|
def is_input_enabled(self, value: bool) -> None: ...
|
|
568
602
|
|
|
603
|
+
@typing.final
|
|
569
604
|
class ICorePointerInputSource(winrt.system.Object):
|
|
570
605
|
@staticmethod
|
|
571
606
|
def _from(obj: winrt.system.Object, /) -> ICorePointerInputSource: ...
|
|
@@ -594,6 +629,7 @@ class ICorePointerInputSource(winrt.system.Object):
|
|
|
594
629
|
@_property
|
|
595
630
|
def pointer_position(self) -> winrt.windows.foundation.Point: ...
|
|
596
631
|
|
|
632
|
+
@typing.final
|
|
597
633
|
class ICorePointerInputSource2(winrt.system.Object):
|
|
598
634
|
@staticmethod
|
|
599
635
|
def _from(obj: winrt.system.Object, /) -> ICorePointerInputSource2: ...
|
|
@@ -624,6 +660,7 @@ class ICorePointerInputSource2(winrt.system.Object):
|
|
|
624
660
|
@_property
|
|
625
661
|
def pointer_position(self) -> winrt.windows.foundation.Point: ...
|
|
626
662
|
|
|
663
|
+
@typing.final
|
|
627
664
|
class ICorePointerRedirector(winrt.system.Object):
|
|
628
665
|
@staticmethod
|
|
629
666
|
def _from(obj: winrt.system.Object, /) -> ICorePointerRedirector: ...
|
|
@@ -634,6 +671,7 @@ class ICorePointerRedirector(winrt.system.Object):
|
|
|
634
671
|
def add_pointer_routed_to(self, handler: winrt.windows.foundation.TypedEventHandler[ICorePointerRedirector, PointerEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
635
672
|
def remove_pointer_routed_to(self, cookie: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
636
673
|
|
|
674
|
+
@typing.final
|
|
637
675
|
class ICoreWindow(winrt.system.Object):
|
|
638
676
|
@staticmethod
|
|
639
677
|
def _from(obj: winrt.system.Object, /) -> ICoreWindow: ...
|
|
@@ -702,6 +740,7 @@ class ICoreWindow(winrt.system.Object):
|
|
|
702
740
|
@_property
|
|
703
741
|
def visible(self) -> bool: ...
|
|
704
742
|
|
|
743
|
+
@typing.final
|
|
705
744
|
class ICoreWindowEventArgs(winrt.system.Object):
|
|
706
745
|
@staticmethod
|
|
707
746
|
def _from(obj: winrt.system.Object, /) -> ICoreWindowEventArgs: ...
|
|
@@ -710,6 +749,7 @@ class ICoreWindowEventArgs(winrt.system.Object):
|
|
|
710
749
|
@handled.setter
|
|
711
750
|
def handled(self, value: bool) -> None: ...
|
|
712
751
|
|
|
752
|
+
@typing.final
|
|
713
753
|
class IInitializeWithCoreWindow(winrt.system.Object):
|
|
714
754
|
@staticmethod
|
|
715
755
|
def _from(obj: winrt.system.Object, /) -> IInitializeWithCoreWindow: ...
|
|
File without changes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Core
|
|
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,15 @@ 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.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Composition[all]==2.0.1; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI.Input[all]==2.0.1; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.UI.Popups[all]==2.0.1; extra == "all"
|
|
15
24
|
|
|
16
25
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
26
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_ui_core.pyi
|
|
9
9
|
winrt/windows/ui/core/__init__.py
|
|
10
|
+
winrt/windows/ui/core/py.typed
|
|
10
11
|
winrt_Windows.UI.Core.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.UI.Core.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.UI.Core.egg-info/dependency_links.txt
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
winrt-runtime==2.0.1
|
|
2
|
+
|
|
3
|
+
[all]
|
|
4
|
+
winrt-Windows.Foundation[all]==2.0.1
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==2.0.1
|
|
6
|
+
winrt-Windows.System[all]==2.0.1
|
|
7
|
+
winrt-Windows.UI[all]==2.0.1
|
|
8
|
+
winrt-Windows.UI.Composition[all]==2.0.1
|
|
9
|
+
winrt-Windows.UI.Input[all]==2.0.1
|
|
10
|
+
winrt-Windows.UI.Popups[all]==2.0.1
|
|
@@ -1,9 +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.Foundation[all]==2.0.0-beta.1
|
|
4
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.System[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.UI[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.UI.Composition[all]==2.0.0-beta.1
|
|
8
|
-
winrt-Windows.UI.Input[all]==2.0.0-beta.1
|
|
9
|
-
winrt-Windows.UI.Popups[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_core",
|
|
10
|
-
sources=["py.Windows.UI.Core.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,10 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.System[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.UI[all]==2.0.0-beta.1
|
|
8
|
-
winrt-Windows.UI.Composition[all]==2.0.0-beta.1
|
|
9
|
-
winrt-Windows.UI.Input[all]==2.0.0-beta.1
|
|
10
|
-
winrt-Windows.UI.Popups[all]==2.0.0-beta.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|