winrt-Windows.UI.Input.Inking.Core 2.1.0__tar.gz → 2.2.0__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_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/PKG-INFO +9 -9
- winrt_windows_ui_input_inking_core-2.2.0/all-requirements.txt +8 -0
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/py.Windows.UI.Input.Inking.Core.cpp +349 -50
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/pyproject.toml +3 -2
- winrt_windows_ui_input_inking_core-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/requirements.txt +2 -2
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/winrt/_winrt_windows_ui_input_inking_core.pyi +1 -1
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/winrt/windows/ui/input/inking/core/__init__.py +1 -1
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/winrt_Windows.UI.Input.Inking.Core.egg-info/PKG-INFO +9 -9
- winrt_windows_ui_input_inking_core-2.2.0/winrt_Windows.UI.Input.Inking.Core.egg-info/requires.txt +9 -0
- winrt_windows_ui_input_inking_core-2.1.0/all-requirements.txt +0 -8
- winrt_windows_ui_input_inking_core-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_ui_input_inking_core-2.1.0/winrt_Windows.UI.Input.Inking.Core.egg-info/requires.txt +0 -9
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/README.md +0 -0
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/setup.cfg +0 -0
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/setup.py +0 -0
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/winrt/windows/ui/input/inking/core/py.typed +0 -0
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/winrt_Windows.UI.Input.Inking.Core.egg-info/SOURCES.txt +0 -0
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/winrt_Windows.UI.Input.Inking.Core.egg-info/dependency_links.txt +0 -0
- {winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/winrt_Windows.UI.Input.Inking.Core.egg-info/top_level.txt +0 -0
{winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Input.Inking.Core
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,16 +10,16 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.UI.Composition[all]==2.
|
|
21
|
-
Requires-Dist: winrt-Windows.UI.Core[all]==2.
|
|
22
|
-
Requires-Dist: winrt-Windows.UI.Input.Inking[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI.Composition[all]==2.2.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Core[all]==2.2.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI.Input.Inking[all]==2.2.0; extra == "all"
|
|
23
23
|
|
|
24
24
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
25
25
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
winrt-Windows.Foundation[all]==2.2.0
|
|
4
|
+
winrt-Windows.Foundation.Collections[all]==2.2.0
|
|
5
|
+
winrt-Windows.Foundation.Numerics[all]==2.2.0
|
|
6
|
+
winrt-Windows.UI.Composition[all]==2.2.0
|
|
7
|
+
winrt-Windows.UI.Core[all]==2.2.0
|
|
8
|
+
winrt-Windows.UI.Input.Inking[all]==2.2.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.UI.Input.Inking.Core.h"
|
|
4
4
|
|
|
@@ -22,7 +22,7 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
22
22
|
auto param0 = py::convert_to<winrt::Windows::UI::Input::Inking::InkDrawingAttributes>(args, 0);
|
|
23
23
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Numerics::float3x2>(args, 1);
|
|
24
24
|
|
|
25
|
-
winrt::Windows::UI::Input::Inking::Core::CoreIncrementalInkStroke instance{
|
|
25
|
+
winrt::Windows::UI::Input::Inking::Core::CoreIncrementalInkStroke instance{param0, param1};
|
|
26
26
|
return py::wrap(instance, type);
|
|
27
27
|
}
|
|
28
28
|
catch (...)
|
|
@@ -54,7 +54,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
54
54
|
{
|
|
55
55
|
try
|
|
56
56
|
{
|
|
57
|
-
|
|
57
|
+
static std::optional<bool> is_overload_present{};
|
|
58
|
+
|
|
59
|
+
if (!is_overload_present.has_value())
|
|
60
|
+
{
|
|
61
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Input.Inking.Core.CoreIncrementalInkStroke", L"AppendInkPoints", 1);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (!is_overload_present.value())
|
|
58
65
|
{
|
|
59
66
|
py::set_arg_count_version_error(1);
|
|
60
67
|
return nullptr;
|
|
@@ -85,7 +92,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
85
92
|
{
|
|
86
93
|
try
|
|
87
94
|
{
|
|
88
|
-
|
|
95
|
+
static std::optional<bool> is_overload_present{};
|
|
96
|
+
|
|
97
|
+
if (!is_overload_present.has_value())
|
|
98
|
+
{
|
|
99
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Input.Inking.Core.CoreIncrementalInkStroke", L"CreateInkStroke", 0);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if (!is_overload_present.value())
|
|
89
103
|
{
|
|
90
104
|
py::set_arg_count_version_error(0);
|
|
91
105
|
return nullptr;
|
|
@@ -110,7 +124,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
110
124
|
{
|
|
111
125
|
try
|
|
112
126
|
{
|
|
113
|
-
|
|
127
|
+
static std::optional<bool> is_property_present{};
|
|
128
|
+
|
|
129
|
+
if (!is_property_present.has_value())
|
|
130
|
+
{
|
|
131
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreIncrementalInkStroke", L"BoundingRect");
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (!is_property_present.value())
|
|
114
135
|
{
|
|
115
136
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
116
137
|
return nullptr;
|
|
@@ -129,7 +150,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
129
150
|
{
|
|
130
151
|
try
|
|
131
152
|
{
|
|
132
|
-
|
|
153
|
+
static std::optional<bool> is_property_present{};
|
|
154
|
+
|
|
155
|
+
if (!is_property_present.has_value())
|
|
156
|
+
{
|
|
157
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreIncrementalInkStroke", L"DrawingAttributes");
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
if (!is_property_present.value())
|
|
133
161
|
{
|
|
134
162
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
135
163
|
return nullptr;
|
|
@@ -148,7 +176,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
148
176
|
{
|
|
149
177
|
try
|
|
150
178
|
{
|
|
151
|
-
|
|
179
|
+
static std::optional<bool> is_property_present{};
|
|
180
|
+
|
|
181
|
+
if (!is_property_present.has_value())
|
|
182
|
+
{
|
|
183
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreIncrementalInkStroke", L"PointTransform");
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
if (!is_property_present.value())
|
|
152
187
|
{
|
|
153
188
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
154
189
|
return nullptr;
|
|
@@ -242,7 +277,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
242
277
|
{
|
|
243
278
|
try
|
|
244
279
|
{
|
|
245
|
-
|
|
280
|
+
static std::optional<bool> is_overload_present{};
|
|
281
|
+
|
|
282
|
+
if (!is_overload_present.has_value())
|
|
283
|
+
{
|
|
284
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"Create", 1);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
if (!is_overload_present.value())
|
|
246
288
|
{
|
|
247
289
|
py::set_arg_count_version_error(1);
|
|
248
290
|
return nullptr;
|
|
@@ -269,7 +311,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
269
311
|
{
|
|
270
312
|
try
|
|
271
313
|
{
|
|
272
|
-
|
|
314
|
+
static std::optional<bool> is_property_present{};
|
|
315
|
+
|
|
316
|
+
if (!is_property_present.has_value())
|
|
317
|
+
{
|
|
318
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"InkPresenter");
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
if (!is_property_present.value())
|
|
273
322
|
{
|
|
274
323
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
275
324
|
return nullptr;
|
|
@@ -288,7 +337,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
288
337
|
{
|
|
289
338
|
try
|
|
290
339
|
{
|
|
291
|
-
|
|
340
|
+
static std::optional<bool> is_property_present{};
|
|
341
|
+
|
|
342
|
+
if (!is_property_present.has_value())
|
|
343
|
+
{
|
|
344
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerCursor");
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
if (!is_property_present.value())
|
|
292
348
|
{
|
|
293
349
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
294
350
|
return nullptr;
|
|
@@ -313,7 +369,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
313
369
|
|
|
314
370
|
try
|
|
315
371
|
{
|
|
316
|
-
|
|
372
|
+
static std::optional<bool> is_property_present{};
|
|
373
|
+
|
|
374
|
+
if (!is_property_present.has_value())
|
|
375
|
+
{
|
|
376
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerCursor");
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
if (!is_property_present.value())
|
|
317
380
|
{
|
|
318
381
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
319
382
|
return -1;
|
|
@@ -335,7 +398,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
335
398
|
{
|
|
336
399
|
try
|
|
337
400
|
{
|
|
338
|
-
|
|
401
|
+
static std::optional<bool> is_event_present{};
|
|
402
|
+
|
|
403
|
+
if (!is_event_present.has_value())
|
|
404
|
+
{
|
|
405
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerEntering");
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
if (!is_event_present.value())
|
|
339
409
|
{
|
|
340
410
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
341
411
|
return nullptr;
|
|
@@ -356,7 +426,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
356
426
|
{
|
|
357
427
|
try
|
|
358
428
|
{
|
|
359
|
-
|
|
429
|
+
static std::optional<bool> is_event_present{};
|
|
430
|
+
|
|
431
|
+
if (!is_event_present.has_value())
|
|
432
|
+
{
|
|
433
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerEntering");
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
if (!is_event_present.value())
|
|
360
437
|
{
|
|
361
438
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
362
439
|
return nullptr;
|
|
@@ -378,7 +455,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
378
455
|
{
|
|
379
456
|
try
|
|
380
457
|
{
|
|
381
|
-
|
|
458
|
+
static std::optional<bool> is_event_present{};
|
|
459
|
+
|
|
460
|
+
if (!is_event_present.has_value())
|
|
461
|
+
{
|
|
462
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerExiting");
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
if (!is_event_present.value())
|
|
382
466
|
{
|
|
383
467
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
384
468
|
return nullptr;
|
|
@@ -399,7 +483,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
399
483
|
{
|
|
400
484
|
try
|
|
401
485
|
{
|
|
402
|
-
|
|
486
|
+
static std::optional<bool> is_event_present{};
|
|
487
|
+
|
|
488
|
+
if (!is_event_present.has_value())
|
|
489
|
+
{
|
|
490
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerExiting");
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
if (!is_event_present.value())
|
|
403
494
|
{
|
|
404
495
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
405
496
|
return nullptr;
|
|
@@ -421,7 +512,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
421
512
|
{
|
|
422
513
|
try
|
|
423
514
|
{
|
|
424
|
-
|
|
515
|
+
static std::optional<bool> is_event_present{};
|
|
516
|
+
|
|
517
|
+
if (!is_event_present.has_value())
|
|
518
|
+
{
|
|
519
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerHovering");
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
if (!is_event_present.value())
|
|
425
523
|
{
|
|
426
524
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
427
525
|
return nullptr;
|
|
@@ -442,7 +540,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
442
540
|
{
|
|
443
541
|
try
|
|
444
542
|
{
|
|
445
|
-
|
|
543
|
+
static std::optional<bool> is_event_present{};
|
|
544
|
+
|
|
545
|
+
if (!is_event_present.has_value())
|
|
546
|
+
{
|
|
547
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerHovering");
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
if (!is_event_present.value())
|
|
446
551
|
{
|
|
447
552
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
448
553
|
return nullptr;
|
|
@@ -464,7 +569,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
464
569
|
{
|
|
465
570
|
try
|
|
466
571
|
{
|
|
467
|
-
|
|
572
|
+
static std::optional<bool> is_event_present{};
|
|
573
|
+
|
|
574
|
+
if (!is_event_present.has_value())
|
|
575
|
+
{
|
|
576
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerLost");
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
if (!is_event_present.value())
|
|
468
580
|
{
|
|
469
581
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
470
582
|
return nullptr;
|
|
@@ -485,7 +597,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
485
597
|
{
|
|
486
598
|
try
|
|
487
599
|
{
|
|
488
|
-
|
|
600
|
+
static std::optional<bool> is_event_present{};
|
|
601
|
+
|
|
602
|
+
if (!is_event_present.has_value())
|
|
603
|
+
{
|
|
604
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerLost");
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
if (!is_event_present.value())
|
|
489
608
|
{
|
|
490
609
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
491
610
|
return nullptr;
|
|
@@ -507,7 +626,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
507
626
|
{
|
|
508
627
|
try
|
|
509
628
|
{
|
|
510
|
-
|
|
629
|
+
static std::optional<bool> is_event_present{};
|
|
630
|
+
|
|
631
|
+
if (!is_event_present.has_value())
|
|
632
|
+
{
|
|
633
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerMoving");
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
if (!is_event_present.value())
|
|
511
637
|
{
|
|
512
638
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
513
639
|
return nullptr;
|
|
@@ -528,7 +654,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
528
654
|
{
|
|
529
655
|
try
|
|
530
656
|
{
|
|
531
|
-
|
|
657
|
+
static std::optional<bool> is_event_present{};
|
|
658
|
+
|
|
659
|
+
if (!is_event_present.has_value())
|
|
660
|
+
{
|
|
661
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerMoving");
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
if (!is_event_present.value())
|
|
532
665
|
{
|
|
533
666
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
534
667
|
return nullptr;
|
|
@@ -550,7 +683,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
550
683
|
{
|
|
551
684
|
try
|
|
552
685
|
{
|
|
553
|
-
|
|
686
|
+
static std::optional<bool> is_event_present{};
|
|
687
|
+
|
|
688
|
+
if (!is_event_present.has_value())
|
|
689
|
+
{
|
|
690
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerPressing");
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
if (!is_event_present.value())
|
|
554
694
|
{
|
|
555
695
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
556
696
|
return nullptr;
|
|
@@ -571,7 +711,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
571
711
|
{
|
|
572
712
|
try
|
|
573
713
|
{
|
|
574
|
-
|
|
714
|
+
static std::optional<bool> is_event_present{};
|
|
715
|
+
|
|
716
|
+
if (!is_event_present.has_value())
|
|
717
|
+
{
|
|
718
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerPressing");
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
if (!is_event_present.value())
|
|
575
722
|
{
|
|
576
723
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
577
724
|
return nullptr;
|
|
@@ -593,7 +740,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
593
740
|
{
|
|
594
741
|
try
|
|
595
742
|
{
|
|
596
|
-
|
|
743
|
+
static std::optional<bool> is_event_present{};
|
|
744
|
+
|
|
745
|
+
if (!is_event_present.has_value())
|
|
746
|
+
{
|
|
747
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerReleasing");
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
if (!is_event_present.value())
|
|
597
751
|
{
|
|
598
752
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
599
753
|
return nullptr;
|
|
@@ -614,7 +768,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
614
768
|
{
|
|
615
769
|
try
|
|
616
770
|
{
|
|
617
|
-
|
|
771
|
+
static std::optional<bool> is_event_present{};
|
|
772
|
+
|
|
773
|
+
if (!is_event_present.has_value())
|
|
774
|
+
{
|
|
775
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource", L"PointerReleasing");
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
if (!is_event_present.value())
|
|
618
779
|
{
|
|
619
780
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
620
781
|
return nullptr;
|
|
@@ -738,7 +899,7 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
738
899
|
{
|
|
739
900
|
try
|
|
740
901
|
{
|
|
741
|
-
winrt::Windows::UI::Input::Inking::Core::CoreInkPresenterHost instance{
|
|
902
|
+
winrt::Windows::UI::Input::Inking::Core::CoreInkPresenterHost instance{};
|
|
742
903
|
return py::wrap(instance, type);
|
|
743
904
|
}
|
|
744
905
|
catch (...)
|
|
@@ -766,7 +927,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
766
927
|
{
|
|
767
928
|
try
|
|
768
929
|
{
|
|
769
|
-
|
|
930
|
+
static std::optional<bool> is_property_present{};
|
|
931
|
+
|
|
932
|
+
if (!is_property_present.has_value())
|
|
933
|
+
{
|
|
934
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreInkPresenterHost", L"RootVisual");
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
if (!is_property_present.value())
|
|
770
938
|
{
|
|
771
939
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
772
940
|
return nullptr;
|
|
@@ -791,7 +959,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
791
959
|
|
|
792
960
|
try
|
|
793
961
|
{
|
|
794
|
-
|
|
962
|
+
static std::optional<bool> is_property_present{};
|
|
963
|
+
|
|
964
|
+
if (!is_property_present.has_value())
|
|
965
|
+
{
|
|
966
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreInkPresenterHost", L"RootVisual");
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
if (!is_property_present.value())
|
|
795
970
|
{
|
|
796
971
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
797
972
|
return -1;
|
|
@@ -813,7 +988,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
813
988
|
{
|
|
814
989
|
try
|
|
815
990
|
{
|
|
816
|
-
|
|
991
|
+
static std::optional<bool> is_property_present{};
|
|
992
|
+
|
|
993
|
+
if (!is_property_present.has_value())
|
|
994
|
+
{
|
|
995
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreInkPresenterHost", L"InkPresenter");
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
if (!is_property_present.value())
|
|
817
999
|
{
|
|
818
1000
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
819
1001
|
return nullptr;
|
|
@@ -900,7 +1082,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
900
1082
|
{
|
|
901
1083
|
try
|
|
902
1084
|
{
|
|
903
|
-
|
|
1085
|
+
static std::optional<bool> is_property_present{};
|
|
1086
|
+
|
|
1087
|
+
if (!is_property_present.has_value())
|
|
1088
|
+
{
|
|
1089
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateEventArgs", L"Disposition");
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
if (!is_property_present.value())
|
|
904
1093
|
{
|
|
905
1094
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
906
1095
|
return nullptr;
|
|
@@ -925,7 +1114,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
925
1114
|
|
|
926
1115
|
try
|
|
927
1116
|
{
|
|
928
|
-
|
|
1117
|
+
static std::optional<bool> is_property_present{};
|
|
1118
|
+
|
|
1119
|
+
if (!is_property_present.has_value())
|
|
1120
|
+
{
|
|
1121
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateEventArgs", L"Disposition");
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
if (!is_property_present.value())
|
|
929
1125
|
{
|
|
930
1126
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
931
1127
|
return -1;
|
|
@@ -947,7 +1143,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
947
1143
|
{
|
|
948
1144
|
try
|
|
949
1145
|
{
|
|
950
|
-
|
|
1146
|
+
static std::optional<bool> is_property_present{};
|
|
1147
|
+
|
|
1148
|
+
if (!is_property_present.has_value())
|
|
1149
|
+
{
|
|
1150
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateEventArgs", L"NewInkPoints");
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
if (!is_property_present.value())
|
|
951
1154
|
{
|
|
952
1155
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
953
1156
|
return nullptr;
|
|
@@ -966,7 +1169,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
966
1169
|
{
|
|
967
1170
|
try
|
|
968
1171
|
{
|
|
969
|
-
|
|
1172
|
+
static std::optional<bool> is_property_present{};
|
|
1173
|
+
|
|
1174
|
+
if (!is_property_present.has_value())
|
|
1175
|
+
{
|
|
1176
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateEventArgs", L"PointerId");
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
if (!is_property_present.value())
|
|
970
1180
|
{
|
|
971
1181
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
972
1182
|
return nullptr;
|
|
@@ -1058,7 +1268,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
1058
1268
|
{
|
|
1059
1269
|
try
|
|
1060
1270
|
{
|
|
1061
|
-
|
|
1271
|
+
static std::optional<bool> is_overload_present{};
|
|
1272
|
+
|
|
1273
|
+
if (!is_overload_present.has_value())
|
|
1274
|
+
{
|
|
1275
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource", L"Create", 1);
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
if (!is_overload_present.value())
|
|
1062
1279
|
{
|
|
1063
1280
|
py::set_arg_count_version_error(1);
|
|
1064
1281
|
return nullptr;
|
|
@@ -1085,7 +1302,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
1085
1302
|
{
|
|
1086
1303
|
try
|
|
1087
1304
|
{
|
|
1088
|
-
|
|
1305
|
+
static std::optional<bool> is_property_present{};
|
|
1306
|
+
|
|
1307
|
+
if (!is_property_present.has_value())
|
|
1308
|
+
{
|
|
1309
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource", L"InkPresenter");
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
if (!is_property_present.value())
|
|
1089
1313
|
{
|
|
1090
1314
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1091
1315
|
return nullptr;
|
|
@@ -1104,7 +1328,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
1104
1328
|
{
|
|
1105
1329
|
try
|
|
1106
1330
|
{
|
|
1107
|
-
|
|
1331
|
+
static std::optional<bool> is_event_present{};
|
|
1332
|
+
|
|
1333
|
+
if (!is_event_present.has_value())
|
|
1334
|
+
{
|
|
1335
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource", L"WetStrokeCanceled");
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
if (!is_event_present.value())
|
|
1108
1339
|
{
|
|
1109
1340
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1110
1341
|
return nullptr;
|
|
@@ -1125,7 +1356,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
1125
1356
|
{
|
|
1126
1357
|
try
|
|
1127
1358
|
{
|
|
1128
|
-
|
|
1359
|
+
static std::optional<bool> is_event_present{};
|
|
1360
|
+
|
|
1361
|
+
if (!is_event_present.has_value())
|
|
1362
|
+
{
|
|
1363
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource", L"WetStrokeCanceled");
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
if (!is_event_present.value())
|
|
1129
1367
|
{
|
|
1130
1368
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1131
1369
|
return nullptr;
|
|
@@ -1147,7 +1385,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
1147
1385
|
{
|
|
1148
1386
|
try
|
|
1149
1387
|
{
|
|
1150
|
-
|
|
1388
|
+
static std::optional<bool> is_event_present{};
|
|
1389
|
+
|
|
1390
|
+
if (!is_event_present.has_value())
|
|
1391
|
+
{
|
|
1392
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource", L"WetStrokeCompleted");
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
if (!is_event_present.value())
|
|
1151
1396
|
{
|
|
1152
1397
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1153
1398
|
return nullptr;
|
|
@@ -1168,7 +1413,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
1168
1413
|
{
|
|
1169
1414
|
try
|
|
1170
1415
|
{
|
|
1171
|
-
|
|
1416
|
+
static std::optional<bool> is_event_present{};
|
|
1417
|
+
|
|
1418
|
+
if (!is_event_present.has_value())
|
|
1419
|
+
{
|
|
1420
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource", L"WetStrokeCompleted");
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
if (!is_event_present.value())
|
|
1172
1424
|
{
|
|
1173
1425
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1174
1426
|
return nullptr;
|
|
@@ -1190,7 +1442,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
1190
1442
|
{
|
|
1191
1443
|
try
|
|
1192
1444
|
{
|
|
1193
|
-
|
|
1445
|
+
static std::optional<bool> is_event_present{};
|
|
1446
|
+
|
|
1447
|
+
if (!is_event_present.has_value())
|
|
1448
|
+
{
|
|
1449
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource", L"WetStrokeContinuing");
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
if (!is_event_present.value())
|
|
1194
1453
|
{
|
|
1195
1454
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1196
1455
|
return nullptr;
|
|
@@ -1211,7 +1470,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
1211
1470
|
{
|
|
1212
1471
|
try
|
|
1213
1472
|
{
|
|
1214
|
-
|
|
1473
|
+
static std::optional<bool> is_event_present{};
|
|
1474
|
+
|
|
1475
|
+
if (!is_event_present.has_value())
|
|
1476
|
+
{
|
|
1477
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource", L"WetStrokeContinuing");
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
if (!is_event_present.value())
|
|
1215
1481
|
{
|
|
1216
1482
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1217
1483
|
return nullptr;
|
|
@@ -1233,7 +1499,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
1233
1499
|
{
|
|
1234
1500
|
try
|
|
1235
1501
|
{
|
|
1236
|
-
|
|
1502
|
+
static std::optional<bool> is_event_present{};
|
|
1503
|
+
|
|
1504
|
+
if (!is_event_present.has_value())
|
|
1505
|
+
{
|
|
1506
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource", L"WetStrokeStarting");
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
if (!is_event_present.value())
|
|
1237
1510
|
{
|
|
1238
1511
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1239
1512
|
return nullptr;
|
|
@@ -1254,7 +1527,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
1254
1527
|
{
|
|
1255
1528
|
try
|
|
1256
1529
|
{
|
|
1257
|
-
|
|
1530
|
+
static std::optional<bool> is_event_present{};
|
|
1531
|
+
|
|
1532
|
+
if (!is_event_present.has_value())
|
|
1533
|
+
{
|
|
1534
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource", L"WetStrokeStarting");
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
if (!is_event_present.value())
|
|
1258
1538
|
{
|
|
1259
1539
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1260
1540
|
return nullptr;
|
|
@@ -1276,7 +1556,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
1276
1556
|
{
|
|
1277
1557
|
try
|
|
1278
1558
|
{
|
|
1279
|
-
|
|
1559
|
+
static std::optional<bool> is_event_present{};
|
|
1560
|
+
|
|
1561
|
+
if (!is_event_present.has_value())
|
|
1562
|
+
{
|
|
1563
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource", L"WetStrokeStopping");
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
if (!is_event_present.value())
|
|
1280
1567
|
{
|
|
1281
1568
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1282
1569
|
return nullptr;
|
|
@@ -1297,7 +1584,14 @@ namespace py::cpp::Windows::UI::Input::Inking::Core
|
|
|
1297
1584
|
{
|
|
1298
1585
|
try
|
|
1299
1586
|
{
|
|
1300
|
-
|
|
1587
|
+
static std::optional<bool> is_event_present{};
|
|
1588
|
+
|
|
1589
|
+
if (!is_event_present.has_value())
|
|
1590
|
+
{
|
|
1591
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource", L"WetStrokeStopping");
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
if (!is_event_present.value())
|
|
1301
1595
|
{
|
|
1302
1596
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1303
1597
|
return nullptr;
|
|
@@ -1446,7 +1740,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_input_inking_core(void) noexcept
|
|
|
1446
1740
|
return nullptr;
|
|
1447
1741
|
}
|
|
1448
1742
|
|
|
1449
|
-
|
|
1743
|
+
py::pytype_handle CoreIncrementalInkStroke_type{py::register_python_type(module.get(), &type_spec_CoreIncrementalInkStroke, object_bases.get(), nullptr)};
|
|
1744
|
+
if (!CoreIncrementalInkStroke_type)
|
|
1450
1745
|
{
|
|
1451
1746
|
return nullptr;
|
|
1452
1747
|
}
|
|
@@ -1457,17 +1752,20 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_input_inking_core(void) noexcept
|
|
|
1457
1752
|
return nullptr;
|
|
1458
1753
|
}
|
|
1459
1754
|
|
|
1460
|
-
|
|
1755
|
+
py::pytype_handle CoreInkIndependentInputSource_type{py::register_python_type(module.get(), &type_spec_CoreInkIndependentInputSource, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_CoreInkIndependentInputSource_Static.get()))};
|
|
1756
|
+
if (!CoreInkIndependentInputSource_type)
|
|
1461
1757
|
{
|
|
1462
1758
|
return nullptr;
|
|
1463
1759
|
}
|
|
1464
1760
|
|
|
1465
|
-
|
|
1761
|
+
py::pytype_handle CoreInkPresenterHost_type{py::register_python_type(module.get(), &type_spec_CoreInkPresenterHost, object_bases.get(), nullptr)};
|
|
1762
|
+
if (!CoreInkPresenterHost_type)
|
|
1466
1763
|
{
|
|
1467
1764
|
return nullptr;
|
|
1468
1765
|
}
|
|
1469
1766
|
|
|
1470
|
-
|
|
1767
|
+
py::pytype_handle CoreWetStrokeUpdateEventArgs_type{py::register_python_type(module.get(), &type_spec_CoreWetStrokeUpdateEventArgs, object_bases.get(), nullptr)};
|
|
1768
|
+
if (!CoreWetStrokeUpdateEventArgs_type)
|
|
1471
1769
|
{
|
|
1472
1770
|
return nullptr;
|
|
1473
1771
|
}
|
|
@@ -1478,7 +1776,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_input_inking_core(void) noexcept
|
|
|
1478
1776
|
return nullptr;
|
|
1479
1777
|
}
|
|
1480
1778
|
|
|
1481
|
-
|
|
1779
|
+
py::pytype_handle CoreWetStrokeUpdateSource_type{py::register_python_type(module.get(), &type_spec_CoreWetStrokeUpdateSource, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_CoreWetStrokeUpdateSource_Static.get()))};
|
|
1780
|
+
if (!CoreWetStrokeUpdateSource_type)
|
|
1482
1781
|
{
|
|
1483
1782
|
return nullptr;
|
|
1484
1783
|
}
|
{winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/pyproject.toml
RENAMED
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9,<3.
|
|
19
|
+
requires-python = ">=3.9,<3.14"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
|
+
before-build = "uv pip install setuptools"
|
|
40
41
|
# don't build for PyPy
|
|
41
42
|
skip = "pp*"
|
|
42
43
|
# suppress warnings about ARM64 testing
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.2.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.2.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Input.Inking.Core
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,16 +10,16 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.UI.Composition[all]==2.
|
|
21
|
-
Requires-Dist: winrt-Windows.UI.Core[all]==2.
|
|
22
|
-
Requires-Dist: winrt-Windows.UI.Input.Inking[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI.Composition[all]==2.2.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Core[all]==2.2.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI.Input.Inking[all]==2.2.0; extra == "all"
|
|
23
23
|
|
|
24
24
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
25
25
|
|
winrt_windows_ui_input_inking_core-2.2.0/winrt_Windows.UI.Input.Inking.Core.egg-info/requires.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
winrt-runtime==2.2.0
|
|
2
|
+
|
|
3
|
+
[all]
|
|
4
|
+
winrt-Windows.Foundation[all]==2.2.0
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==2.2.0
|
|
6
|
+
winrt-Windows.Foundation.Numerics[all]==2.2.0
|
|
7
|
+
winrt-Windows.UI.Composition[all]==2.2.0
|
|
8
|
+
winrt-Windows.UI.Core[all]==2.2.0
|
|
9
|
+
winrt-Windows.UI.Input.Inking[all]==2.2.0
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
|
-
|
|
3
|
-
winrt-Windows.Foundation[all]==2.1.0
|
|
4
|
-
winrt-Windows.Foundation.Collections[all]==2.1.0
|
|
5
|
-
winrt-Windows.Foundation.Numerics[all]==2.1.0
|
|
6
|
-
winrt-Windows.UI.Composition[all]==2.1.0
|
|
7
|
-
winrt-Windows.UI.Core[all]==2.1.0
|
|
8
|
-
winrt-Windows.UI.Input.Inking[all]==2.1.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
winrt_windows_ui_input_inking_core-2.1.0/winrt_Windows.UI.Input.Inking.Core.egg-info/requires.txt
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.1.0
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.Foundation[all]==2.1.0
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.1.0
|
|
6
|
-
winrt-Windows.Foundation.Numerics[all]==2.1.0
|
|
7
|
-
winrt-Windows.UI.Composition[all]==2.1.0
|
|
8
|
-
winrt-Windows.UI.Core[all]==2.1.0
|
|
9
|
-
winrt-Windows.UI.Input.Inking[all]==2.1.0
|
{winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/README.md
RENAMED
|
File without changes
|
{winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/setup.cfg
RENAMED
|
File without changes
|
{winrt_windows_ui_input_inking_core-2.1.0 → winrt_windows_ui_input_inking_core-2.2.0}/setup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|