winrt-Windows.UI.Input 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.
Files changed (21) hide show
  1. {winrt-Windows.UI.Input-2.0.0b1 → winrt_windows_ui_input-2.0.1}/PKG-INFO +11 -2
  2. winrt_windows_ui_input-2.0.1/all-requirements.txt +9 -0
  3. {winrt-Windows.UI.Input-2.0.0b1 → winrt_windows_ui_input-2.0.1}/py.Windows.UI.Input.cpp +1 -1
  4. {winrt-Windows.UI.Input-2.0.0b1 → winrt_windows_ui_input-2.0.1}/pyproject.toml +7 -4
  5. winrt_windows_ui_input-2.0.1/pywinrt-version.txt +1 -0
  6. {winrt-Windows.UI.Input-2.0.0b1 → winrt_windows_ui_input-2.0.1}/requirements.txt +2 -2
  7. winrt_windows_ui_input-2.0.1/setup.py +31 -0
  8. {winrt-Windows.UI.Input-2.0.0b1 → winrt_windows_ui_input-2.0.1}/winrt/_winrt_windows_ui_input.pyi +51 -1
  9. {winrt-Windows.UI.Input-2.0.0b1 → winrt_windows_ui_input-2.0.1}/winrt/windows/ui/input/__init__.py +1 -1
  10. winrt_windows_ui_input-2.0.1/winrt/windows/ui/input/py.typed +0 -0
  11. {winrt-Windows.UI.Input-2.0.0b1 → winrt_windows_ui_input-2.0.1}/winrt_Windows.UI.Input.egg-info/PKG-INFO +11 -2
  12. {winrt-Windows.UI.Input-2.0.0b1 → winrt_windows_ui_input-2.0.1}/winrt_Windows.UI.Input.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_ui_input-2.0.1/winrt_Windows.UI.Input.egg-info/requires.txt +10 -0
  14. winrt-Windows.UI.Input-2.0.0b1/all-requirements.txt +0 -9
  15. winrt-Windows.UI.Input-2.0.0b1/pywinrt-version.txt +0 -1
  16. winrt-Windows.UI.Input-2.0.0b1/setup.py +0 -17
  17. winrt-Windows.UI.Input-2.0.0b1/winrt_Windows.UI.Input.egg-info/requires.txt +0 -10
  18. {winrt-Windows.UI.Input-2.0.0b1 → winrt_windows_ui_input-2.0.1}/README.md +0 -0
  19. {winrt-Windows.UI.Input-2.0.0b1 → winrt_windows_ui_input-2.0.1}/setup.cfg +0 -0
  20. {winrt-Windows.UI.Input-2.0.0b1 → winrt_windows_ui_input-2.0.1}/winrt_Windows.UI.Input.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.UI.Input-2.0.0b1 → winrt_windows_ui_input-2.0.1}/winrt_Windows.UI.Input.egg-info/top_level.txt +0 -0
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.UI.Input
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
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.Devices.Haptics[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Devices.Input[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.Storage.Streams[all]==2.0.1; extra == "all"
22
+ Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
23
+ Requires-Dist: winrt-Windows.UI.Core[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.Devices.Haptics[all]==2.0.1
4
+ winrt-Windows.Devices.Input[all]==2.0.1
5
+ winrt-Windows.Foundation[all]==2.0.1
6
+ winrt-Windows.Foundation.Collections[all]==2.0.1
7
+ winrt-Windows.Storage.Streams[all]==2.0.1
8
+ winrt-Windows.System[all]==2.0.1
9
+ winrt-Windows.UI.Core[all]==2.0.1
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  #include "py.Windows.UI.Input.h"
4
4
 
@@ -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", "setuptools-scm", "winrt-sdk"]
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/pywrint/pywrinrt"
23
- # Documentation = "https://readthedocs.org"
24
- Repository = "https://github.com/pywrint/pywrinrt"
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.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
- winrt-runtime==2.0.0-beta.1
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_input",
26
+ sources=["py.Windows.UI.Input.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.0-beta.1
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
@@ -21,6 +21,7 @@ from winrt.windows.ui.input import CrossSlidingState, DraggingState, EdgeGesture
21
21
 
22
22
  Self = typing.TypeVar('Self')
23
23
 
24
+ @typing.final
24
25
  class CrossSlideThresholds:
25
26
  selection_start: winrt.system.Single
26
27
  speed_bump_start: winrt.system.Single
@@ -28,6 +29,7 @@ class CrossSlideThresholds:
28
29
  rearrange_start: winrt.system.Single
29
30
  def __init__(self, selection_start: winrt.system.Single, speed_bump_start: winrt.system.Single, speed_bump_end: winrt.system.Single, rearrange_start: winrt.system.Single) -> None: ...
30
31
 
32
+ @typing.final
31
33
  class ManipulationDelta:
32
34
  translation: winrt.windows.foundation.Point
33
35
  scale: winrt.system.Single
@@ -35,12 +37,14 @@ class ManipulationDelta:
35
37
  expansion: winrt.system.Single
36
38
  def __init__(self, translation: winrt.windows.foundation.Point, scale: winrt.system.Single, rotation: winrt.system.Single, expansion: winrt.system.Single) -> None: ...
37
39
 
40
+ @typing.final
38
41
  class ManipulationVelocities:
39
42
  linear: winrt.windows.foundation.Point
40
43
  angular: winrt.system.Single
41
44
  expansion: winrt.system.Single
42
45
  def __init__(self, linear: winrt.windows.foundation.Point, angular: winrt.system.Single, expansion: winrt.system.Single) -> None: ...
43
46
 
47
+ @typing.final
44
48
  class AttachableInputObject(winrt.system.Object):
45
49
  def __enter__(self: Self) -> Self: ...
46
50
  def __exit__(self, *args) -> None: ...
@@ -48,6 +52,7 @@ class AttachableInputObject(winrt.system.Object):
48
52
  def _from(obj: winrt.system.Object, /) -> AttachableInputObject: ...
49
53
  def close(self) -> None: ...
50
54
 
55
+ @typing.final
51
56
  class CrossSlidingEventArgs(winrt.system.Object):
52
57
  @staticmethod
53
58
  def _from(obj: winrt.system.Object, /) -> CrossSlidingEventArgs: ...
@@ -60,6 +65,7 @@ class CrossSlidingEventArgs(winrt.system.Object):
60
65
  @_property
61
66
  def contact_count(self) -> winrt.system.UInt32: ...
62
67
 
68
+ @typing.final
63
69
  class DraggingEventArgs(winrt.system.Object):
64
70
  @staticmethod
65
71
  def _from(obj: winrt.system.Object, /) -> DraggingEventArgs: ...
@@ -72,9 +78,11 @@ class DraggingEventArgs(winrt.system.Object):
72
78
  @_property
73
79
  def contact_count(self) -> winrt.system.UInt32: ...
74
80
 
81
+ @typing.final
75
82
  class EdgeGesture_Static(type):
76
83
  def get_for_current_view(cls) -> typing.Optional[EdgeGesture]: ...
77
84
 
85
+ @typing.final
78
86
  class EdgeGesture(winrt.system.Object, metaclass=EdgeGesture_Static):
79
87
  @staticmethod
80
88
  def _from(obj: winrt.system.Object, /) -> EdgeGesture: ...
@@ -85,12 +93,14 @@ class EdgeGesture(winrt.system.Object, metaclass=EdgeGesture_Static):
85
93
  def add_starting(self, handler: winrt.windows.foundation.TypedEventHandler[EdgeGesture, EdgeGestureEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
86
94
  def remove_starting(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
87
95
 
96
+ @typing.final
88
97
  class EdgeGestureEventArgs(winrt.system.Object):
89
98
  @staticmethod
90
99
  def _from(obj: winrt.system.Object, /) -> EdgeGestureEventArgs: ...
91
100
  @_property
92
101
  def kind(self) -> EdgeGestureKind: ...
93
102
 
103
+ @typing.final
94
104
  class GestureRecognizer(winrt.system.Object):
95
105
  @staticmethod
96
106
  def _from(obj: winrt.system.Object, /) -> GestureRecognizer: ...
@@ -219,6 +229,7 @@ class GestureRecognizer(winrt.system.Object):
219
229
  @hold_max_contact_count.setter
220
230
  def hold_max_contact_count(self, value: winrt.system.UInt32) -> None: ...
221
231
 
232
+ @typing.final
222
233
  class HoldingEventArgs(winrt.system.Object):
223
234
  @staticmethod
224
235
  def _from(obj: winrt.system.Object, /) -> HoldingEventArgs: ...
@@ -233,6 +244,7 @@ class HoldingEventArgs(winrt.system.Object):
233
244
  @_property
234
245
  def current_contact_count(self) -> winrt.system.UInt32: ...
235
246
 
247
+ @typing.final
236
248
  class InputActivationListener(winrt.system.Object):
237
249
  @staticmethod
238
250
  def _from(obj: winrt.system.Object, /) -> InputActivationListener: ...
@@ -241,15 +253,18 @@ class InputActivationListener(winrt.system.Object):
241
253
  @_property
242
254
  def state(self) -> InputActivationState: ...
243
255
 
256
+ @typing.final
244
257
  class InputActivationListenerActivationChangedEventArgs(winrt.system.Object):
245
258
  @staticmethod
246
259
  def _from(obj: winrt.system.Object, /) -> InputActivationListenerActivationChangedEventArgs: ...
247
260
  @_property
248
261
  def state(self) -> InputActivationState: ...
249
262
 
263
+ @typing.final
250
264
  class KeyboardDeliveryInterceptor_Static(type):
251
265
  def get_for_current_view(cls) -> typing.Optional[KeyboardDeliveryInterceptor]: ...
252
266
 
267
+ @typing.final
253
268
  class KeyboardDeliveryInterceptor(winrt.system.Object, metaclass=KeyboardDeliveryInterceptor_Static):
254
269
  @staticmethod
255
270
  def _from(obj: winrt.system.Object, /) -> KeyboardDeliveryInterceptor: ...
@@ -262,6 +277,7 @@ class KeyboardDeliveryInterceptor(winrt.system.Object, metaclass=KeyboardDeliver
262
277
  @is_interception_enabled_when_in_foreground.setter
263
278
  def is_interception_enabled_when_in_foreground(self, value: bool) -> None: ...
264
279
 
280
+ @typing.final
265
281
  class ManipulationCompletedEventArgs(winrt.system.Object):
266
282
  @staticmethod
267
283
  def _from(obj: winrt.system.Object, /) -> ManipulationCompletedEventArgs: ...
@@ -278,6 +294,7 @@ class ManipulationCompletedEventArgs(winrt.system.Object):
278
294
  @_property
279
295
  def current_contact_count(self) -> winrt.system.UInt32: ...
280
296
 
297
+ @typing.final
281
298
  class ManipulationInertiaStartingEventArgs(winrt.system.Object):
282
299
  @staticmethod
283
300
  def _from(obj: winrt.system.Object, /) -> ManipulationInertiaStartingEventArgs: ...
@@ -294,6 +311,7 @@ class ManipulationInertiaStartingEventArgs(winrt.system.Object):
294
311
  @_property
295
312
  def contact_count(self) -> winrt.system.UInt32: ...
296
313
 
314
+ @typing.final
297
315
  class ManipulationStartedEventArgs(winrt.system.Object):
298
316
  @staticmethod
299
317
  def _from(obj: winrt.system.Object, /) -> ManipulationStartedEventArgs: ...
@@ -306,6 +324,7 @@ class ManipulationStartedEventArgs(winrt.system.Object):
306
324
  @_property
307
325
  def contact_count(self) -> winrt.system.UInt32: ...
308
326
 
327
+ @typing.final
309
328
  class ManipulationUpdatedEventArgs(winrt.system.Object):
310
329
  @staticmethod
311
330
  def _from(obj: winrt.system.Object, /) -> ManipulationUpdatedEventArgs: ...
@@ -324,6 +343,7 @@ class ManipulationUpdatedEventArgs(winrt.system.Object):
324
343
  @_property
325
344
  def current_contact_count(self) -> winrt.system.UInt32: ...
326
345
 
346
+ @typing.final
327
347
  class MouseWheelParameters(winrt.system.Object):
328
348
  @staticmethod
329
349
  def _from(obj: winrt.system.Object, /) -> MouseWheelParameters: ...
@@ -344,6 +364,7 @@ class MouseWheelParameters(winrt.system.Object):
344
364
  @char_translation.setter
345
365
  def char_translation(self, value: winrt.windows.foundation.Point) -> None: ...
346
366
 
367
+ @typing.final
347
368
  class PointerPoint_Static(type):
348
369
  @typing.overload
349
370
  def get_current_point(cls, pointer_id: winrt.system.UInt32, /) -> typing.Optional[PointerPoint]: ...
@@ -354,6 +375,7 @@ class PointerPoint_Static(type):
354
375
  @typing.overload
355
376
  def get_intermediate_points(cls, pointer_id: winrt.system.UInt32, transform: typing.Optional[IPointerPointTransform], /) -> typing.Optional[winrt.windows.foundation.collections.IVector[PointerPoint]]: ...
356
377
 
378
+ @typing.final
357
379
  class PointerPoint(winrt.system.Object, metaclass=PointerPoint_Static):
358
380
  @staticmethod
359
381
  def _from(obj: winrt.system.Object, /) -> PointerPoint: ...
@@ -374,6 +396,7 @@ class PointerPoint(winrt.system.Object, metaclass=PointerPoint_Static):
374
396
  @_property
375
397
  def timestamp(self) -> winrt.system.UInt64: ...
376
398
 
399
+ @typing.final
377
400
  class PointerPointProperties(winrt.system.Object):
378
401
  @staticmethod
379
402
  def _from(obj: winrt.system.Object, /) -> PointerPointProperties: ...
@@ -426,9 +449,11 @@ class PointerPointProperties(winrt.system.Object):
426
449
  @_property
427
450
  def z_distance(self) -> typing.Optional[typing.Optional[winrt.system.Single]]: ...
428
451
 
452
+ @typing.final
429
453
  class PointerVisualizationSettings_Static(type):
430
454
  def get_for_current_view(cls) -> typing.Optional[PointerVisualizationSettings]: ...
431
455
 
456
+ @typing.final
432
457
  class PointerVisualizationSettings(winrt.system.Object, metaclass=PointerVisualizationSettings_Static):
433
458
  @staticmethod
434
459
  def _from(obj: winrt.system.Object, /) -> PointerVisualizationSettings: ...
@@ -441,10 +466,12 @@ class PointerVisualizationSettings(winrt.system.Object, metaclass=PointerVisuali
441
466
  @is_barrel_button_feedback_enabled.setter
442
467
  def is_barrel_button_feedback_enabled(self, value: bool) -> None: ...
443
468
 
469
+ @typing.final
444
470
  class RadialController_Static(type):
445
471
  def create_for_current_view(cls) -> typing.Optional[RadialController]: ...
446
472
  def is_supported(cls) -> bool: ...
447
473
 
474
+ @typing.final
448
475
  class RadialController(winrt.system.Object, metaclass=RadialController_Static):
449
476
  @staticmethod
450
477
  def _from(obj: winrt.system.Object, /) -> RadialController: ...
@@ -479,6 +506,7 @@ class RadialController(winrt.system.Object, metaclass=RadialController_Static):
479
506
  @_property
480
507
  def menu(self) -> typing.Optional[RadialControllerMenu]: ...
481
508
 
509
+ @typing.final
482
510
  class RadialControllerButtonClickedEventArgs(winrt.system.Object):
483
511
  @staticmethod
484
512
  def _from(obj: winrt.system.Object, /) -> RadialControllerButtonClickedEventArgs: ...
@@ -487,6 +515,7 @@ class RadialControllerButtonClickedEventArgs(winrt.system.Object):
487
515
  @_property
488
516
  def simple_haptics_controller(self) -> typing.Optional[winrt.windows.devices.haptics.SimpleHapticsController]: ...
489
517
 
518
+ @typing.final
490
519
  class RadialControllerButtonHoldingEventArgs(winrt.system.Object):
491
520
  @staticmethod
492
521
  def _from(obj: winrt.system.Object, /) -> RadialControllerButtonHoldingEventArgs: ...
@@ -495,6 +524,7 @@ class RadialControllerButtonHoldingEventArgs(winrt.system.Object):
495
524
  @_property
496
525
  def simple_haptics_controller(self) -> typing.Optional[winrt.windows.devices.haptics.SimpleHapticsController]: ...
497
526
 
527
+ @typing.final
498
528
  class RadialControllerButtonPressedEventArgs(winrt.system.Object):
499
529
  @staticmethod
500
530
  def _from(obj: winrt.system.Object, /) -> RadialControllerButtonPressedEventArgs: ...
@@ -503,6 +533,7 @@ class RadialControllerButtonPressedEventArgs(winrt.system.Object):
503
533
  @_property
504
534
  def simple_haptics_controller(self) -> typing.Optional[winrt.windows.devices.haptics.SimpleHapticsController]: ...
505
535
 
536
+ @typing.final
506
537
  class RadialControllerButtonReleasedEventArgs(winrt.system.Object):
507
538
  @staticmethod
508
539
  def _from(obj: winrt.system.Object, /) -> RadialControllerButtonReleasedEventArgs: ...
@@ -511,6 +542,7 @@ class RadialControllerButtonReleasedEventArgs(winrt.system.Object):
511
542
  @_property
512
543
  def simple_haptics_controller(self) -> typing.Optional[winrt.windows.devices.haptics.SimpleHapticsController]: ...
513
544
 
545
+ @typing.final
514
546
  class RadialControllerConfiguration_Static(type):
515
547
  def get_for_current_view(cls) -> typing.Optional[RadialControllerConfiguration]: ...
516
548
  @_property
@@ -522,6 +554,7 @@ class RadialControllerConfiguration_Static(type):
522
554
  @app_controller.setter
523
555
  def app_controller(cls, value: typing.Optional[RadialController]) -> None: ...
524
556
 
557
+ @typing.final
525
558
  class RadialControllerConfiguration(winrt.system.Object, metaclass=RadialControllerConfiguration_Static):
526
559
  @staticmethod
527
560
  def _from(obj: winrt.system.Object, /) -> RadialControllerConfiguration: ...
@@ -537,6 +570,7 @@ class RadialControllerConfiguration(winrt.system.Object, metaclass=RadialControl
537
570
  @active_controller_when_menu_is_suppressed.setter
538
571
  def active_controller_when_menu_is_suppressed(self, value: typing.Optional[RadialController]) -> None: ...
539
572
 
573
+ @typing.final
540
574
  class RadialControllerControlAcquiredEventArgs(winrt.system.Object):
541
575
  @staticmethod
542
576
  def _from(obj: winrt.system.Object, /) -> RadialControllerControlAcquiredEventArgs: ...
@@ -547,6 +581,7 @@ class RadialControllerControlAcquiredEventArgs(winrt.system.Object):
547
581
  @_property
548
582
  def simple_haptics_controller(self) -> typing.Optional[winrt.windows.devices.haptics.SimpleHapticsController]: ...
549
583
 
584
+ @typing.final
550
585
  class RadialControllerMenu(winrt.system.Object):
551
586
  @staticmethod
552
587
  def _from(obj: winrt.system.Object, /) -> RadialControllerMenu: ...
@@ -560,6 +595,7 @@ class RadialControllerMenu(winrt.system.Object):
560
595
  @_property
561
596
  def items(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[RadialControllerMenuItem]]: ...
562
597
 
598
+ @typing.final
563
599
  class RadialControllerMenuItem_Static(type):
564
600
  @typing.overload
565
601
  def create_from_font_glyph(cls, display_text: str, glyph: str, font_family: str, /) -> typing.Optional[RadialControllerMenuItem]: ...
@@ -568,6 +604,7 @@ class RadialControllerMenuItem_Static(type):
568
604
  def create_from_icon(cls, display_text: str, icon: typing.Optional[winrt.windows.storage.streams.RandomAccessStreamReference], /) -> typing.Optional[RadialControllerMenuItem]: ...
569
605
  def create_from_known_icon(cls, display_text: str, value: RadialControllerMenuKnownIcon, /) -> typing.Optional[RadialControllerMenuItem]: ...
570
606
 
607
+ @typing.final
571
608
  class RadialControllerMenuItem(winrt.system.Object, metaclass=RadialControllerMenuItem_Static):
572
609
  @staticmethod
573
610
  def _from(obj: winrt.system.Object, /) -> RadialControllerMenuItem: ...
@@ -580,6 +617,7 @@ class RadialControllerMenuItem(winrt.system.Object, metaclass=RadialControllerMe
580
617
  @_property
581
618
  def display_text(self) -> str: ...
582
619
 
620
+ @typing.final
583
621
  class RadialControllerRotationChangedEventArgs(winrt.system.Object):
584
622
  @staticmethod
585
623
  def _from(obj: winrt.system.Object, /) -> RadialControllerRotationChangedEventArgs: ...
@@ -592,6 +630,7 @@ class RadialControllerRotationChangedEventArgs(winrt.system.Object):
592
630
  @_property
593
631
  def simple_haptics_controller(self) -> typing.Optional[winrt.windows.devices.haptics.SimpleHapticsController]: ...
594
632
 
633
+ @typing.final
595
634
  class RadialControllerScreenContact(winrt.system.Object):
596
635
  @staticmethod
597
636
  def _from(obj: winrt.system.Object, /) -> RadialControllerScreenContact: ...
@@ -600,6 +639,7 @@ class RadialControllerScreenContact(winrt.system.Object):
600
639
  @_property
601
640
  def position(self) -> winrt.windows.foundation.Point: ...
602
641
 
642
+ @typing.final
603
643
  class RadialControllerScreenContactContinuedEventArgs(winrt.system.Object):
604
644
  @staticmethod
605
645
  def _from(obj: winrt.system.Object, /) -> RadialControllerScreenContactContinuedEventArgs: ...
@@ -610,6 +650,7 @@ class RadialControllerScreenContactContinuedEventArgs(winrt.system.Object):
610
650
  @_property
611
651
  def simple_haptics_controller(self) -> typing.Optional[winrt.windows.devices.haptics.SimpleHapticsController]: ...
612
652
 
653
+ @typing.final
613
654
  class RadialControllerScreenContactEndedEventArgs(winrt.system.Object):
614
655
  @staticmethod
615
656
  def _from(obj: winrt.system.Object, /) -> RadialControllerScreenContactEndedEventArgs: ...
@@ -618,6 +659,7 @@ class RadialControllerScreenContactEndedEventArgs(winrt.system.Object):
618
659
  @_property
619
660
  def simple_haptics_controller(self) -> typing.Optional[winrt.windows.devices.haptics.SimpleHapticsController]: ...
620
661
 
662
+ @typing.final
621
663
  class RadialControllerScreenContactStartedEventArgs(winrt.system.Object):
622
664
  @staticmethod
623
665
  def _from(obj: winrt.system.Object, /) -> RadialControllerScreenContactStartedEventArgs: ...
@@ -628,6 +670,7 @@ class RadialControllerScreenContactStartedEventArgs(winrt.system.Object):
628
670
  @_property
629
671
  def simple_haptics_controller(self) -> typing.Optional[winrt.windows.devices.haptics.SimpleHapticsController]: ...
630
672
 
673
+ @typing.final
631
674
  class RightTappedEventArgs(winrt.system.Object):
632
675
  @staticmethod
633
676
  def _from(obj: winrt.system.Object, /) -> RightTappedEventArgs: ...
@@ -638,9 +681,11 @@ class RightTappedEventArgs(winrt.system.Object):
638
681
  @_property
639
682
  def contact_count(self) -> winrt.system.UInt32: ...
640
683
 
684
+ @typing.final
641
685
  class SystemButtonEventController_Static(type):
642
686
  def create_for_dispatcher_queue(cls, queue: typing.Optional[winrt.windows.system.DispatcherQueue], /) -> typing.Optional[SystemButtonEventController]: ...
643
687
 
688
+ @typing.final
644
689
  class SystemButtonEventController(winrt.system.Object, metaclass=SystemButtonEventController_Static):
645
690
  @staticmethod
646
691
  def _from(obj: winrt.system.Object, /) -> SystemButtonEventController: ...
@@ -653,6 +698,7 @@ class SystemButtonEventController(winrt.system.Object, metaclass=SystemButtonEve
653
698
  def add_system_function_lock_indicator_changed(self, handler: winrt.windows.foundation.TypedEventHandler[SystemButtonEventController, SystemFunctionLockIndicatorChangedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
654
699
  def remove_system_function_lock_indicator_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
655
700
 
701
+ @typing.final
656
702
  class SystemFunctionButtonEventArgs(winrt.system.Object):
657
703
  @staticmethod
658
704
  def _from(obj: winrt.system.Object, /) -> SystemFunctionButtonEventArgs: ...
@@ -663,6 +709,7 @@ class SystemFunctionButtonEventArgs(winrt.system.Object):
663
709
  @_property
664
710
  def timestamp(self) -> winrt.system.UInt64: ...
665
711
 
712
+ @typing.final
666
713
  class SystemFunctionLockChangedEventArgs(winrt.system.Object):
667
714
  @staticmethod
668
715
  def _from(obj: winrt.system.Object, /) -> SystemFunctionLockChangedEventArgs: ...
@@ -675,6 +722,7 @@ class SystemFunctionLockChangedEventArgs(winrt.system.Object):
675
722
  @_property
676
723
  def timestamp(self) -> winrt.system.UInt64: ...
677
724
 
725
+ @typing.final
678
726
  class SystemFunctionLockIndicatorChangedEventArgs(winrt.system.Object):
679
727
  @staticmethod
680
728
  def _from(obj: winrt.system.Object, /) -> SystemFunctionLockIndicatorChangedEventArgs: ...
@@ -687,6 +735,7 @@ class SystemFunctionLockIndicatorChangedEventArgs(winrt.system.Object):
687
735
  @_property
688
736
  def timestamp(self) -> winrt.system.UInt64: ...
689
737
 
738
+ @typing.final
690
739
  class TappedEventArgs(winrt.system.Object):
691
740
  @staticmethod
692
741
  def _from(obj: winrt.system.Object, /) -> TappedEventArgs: ...
@@ -699,6 +748,7 @@ class TappedEventArgs(winrt.system.Object):
699
748
  @_property
700
749
  def contact_count(self) -> winrt.system.UInt32: ...
701
750
 
751
+ @typing.final
702
752
  class IPointerPointTransform(winrt.system.Object):
703
753
  @staticmethod
704
754
  def _from(obj: winrt.system.Object, /) -> IPointerPointTransform: ...
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  import enum
4
4
 
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.UI.Input
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
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.Devices.Haptics[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Devices.Input[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.Storage.Streams[all]==2.0.1; extra == "all"
22
+ Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
23
+ Requires-Dist: winrt-Windows.UI.Core[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_input.pyi
9
9
  winrt/windows/ui/input/__init__.py
10
+ winrt/windows/ui/input/py.typed
10
11
  winrt_Windows.UI.Input.egg-info/PKG-INFO
11
12
  winrt_Windows.UI.Input.egg-info/SOURCES.txt
12
13
  winrt_Windows.UI.Input.egg-info/dependency_links.txt
@@ -0,0 +1,10 @@
1
+ winrt-runtime==2.0.1
2
+
3
+ [all]
4
+ winrt-Windows.Devices.Haptics[all]==2.0.1
5
+ winrt-Windows.Devices.Input[all]==2.0.1
6
+ winrt-Windows.Foundation[all]==2.0.1
7
+ winrt-Windows.Foundation.Collections[all]==2.0.1
8
+ winrt-Windows.Storage.Streams[all]==2.0.1
9
+ winrt-Windows.System[all]==2.0.1
10
+ winrt-Windows.UI.Core[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.Devices.Haptics[all]==2.0.0-beta.1
4
- winrt-Windows.Devices.Input[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.Storage.Streams[all]==2.0.0-beta.1
8
- winrt-Windows.System[all]==2.0.0-beta.1
9
- winrt-Windows.UI.Core[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_input",
10
- sources=["py.Windows.UI.Input.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.Devices.Haptics[all]==2.0.0-beta.1
5
- winrt-Windows.Devices.Input[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.Storage.Streams[all]==2.0.0-beta.1
9
- winrt-Windows.System[all]==2.0.0-beta.1
10
- winrt-Windows.UI.Core[all]==2.0.0-beta.1