winrt-Windows.UI.Xaml.Hosting 2.1.0__tar.gz → 2.3.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_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/PKG-INFO +9 -9
- winrt_windows_ui_xaml_hosting-2.3.0/all-requirements.txt +8 -0
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/py.Windows.UI.Xaml.Hosting.cpp +499 -79
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/pyproject.toml +3 -2
- winrt_windows_ui_xaml_hosting-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/requirements.txt +2 -2
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/winrt/_winrt_windows_ui_xaml_hosting.pyi +1 -1
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/winrt/windows/ui/xaml/hosting/__init__.py +1 -1
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/winrt_Windows.UI.Xaml.Hosting.egg-info/PKG-INFO +9 -9
- winrt_windows_ui_xaml_hosting-2.3.0/winrt_Windows.UI.Xaml.Hosting.egg-info/requires.txt +9 -0
- winrt_windows_ui_xaml_hosting-2.1.0/all-requirements.txt +0 -8
- winrt_windows_ui_xaml_hosting-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_ui_xaml_hosting-2.1.0/winrt_Windows.UI.Xaml.Hosting.egg-info/requires.txt +0 -9
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/README.md +0 -0
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/setup.cfg +0 -0
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/setup.py +0 -0
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/winrt/windows/ui/xaml/hosting/py.typed +0 -0
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/winrt_Windows.UI.Xaml.Hosting.egg-info/SOURCES.txt +0 -0
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/winrt_Windows.UI.Xaml.Hosting.egg-info/dependency_links.txt +0 -0
- {winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/winrt_Windows.UI.Xaml.Hosting.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Xaml.Hosting
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.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.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.UI.Composition[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.UI.WindowManagement[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.UI.Xaml[all]==2.
|
|
21
|
-
Requires-Dist: winrt-Windows.UI.Xaml.Controls[all]==2.
|
|
22
|
-
Requires-Dist: winrt-Windows.UI.Xaml.Controls.Primitives[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.UI.Composition[all]==2.3.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.UI.WindowManagement[all]==2.3.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI.Xaml[all]==2.3.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Controls[all]==2.3.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Controls.Primitives[all]==2.3.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.3.0
|
|
2
|
+
|
|
3
|
+
winrt-Windows.Foundation[all]==2.3.0
|
|
4
|
+
winrt-Windows.UI.Composition[all]==2.3.0
|
|
5
|
+
winrt-Windows.UI.WindowManagement[all]==2.3.0
|
|
6
|
+
winrt-Windows.UI.Xaml[all]==2.3.0
|
|
7
|
+
winrt-Windows.UI.Xaml.Controls[all]==2.3.0
|
|
8
|
+
winrt-Windows.UI.Xaml.Controls.Primitives[all]==2.3.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.3.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.UI.Xaml.Hosting.h"
|
|
4
4
|
|
|
@@ -25,7 +25,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
25
25
|
{
|
|
26
26
|
try
|
|
27
27
|
{
|
|
28
|
-
|
|
28
|
+
static std::optional<bool> is_property_present{};
|
|
29
|
+
|
|
30
|
+
if (!is_property_present.has_value())
|
|
31
|
+
{
|
|
32
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.DesignerAppExitedEventArgs", L"ExitCode");
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
if (!is_property_present.value())
|
|
29
36
|
{
|
|
30
37
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
31
38
|
return nullptr;
|
|
@@ -107,7 +114,7 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
107
114
|
{
|
|
108
115
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
109
116
|
|
|
110
|
-
winrt::Windows::UI::Xaml::Hosting::DesignerAppManager instance{
|
|
117
|
+
winrt::Windows::UI::Xaml::Hosting::DesignerAppManager instance{param0};
|
|
111
118
|
return py::wrap(instance, type);
|
|
112
119
|
}
|
|
113
120
|
catch (...)
|
|
@@ -139,7 +146,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
139
146
|
{
|
|
140
147
|
try
|
|
141
148
|
{
|
|
142
|
-
|
|
149
|
+
static std::optional<bool> is_overload_present{};
|
|
150
|
+
|
|
151
|
+
if (!is_overload_present.has_value())
|
|
152
|
+
{
|
|
153
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.DesignerAppManager", L"Close", 0);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
if (!is_overload_present.value())
|
|
143
157
|
{
|
|
144
158
|
py::set_arg_count_version_error(0);
|
|
145
159
|
return nullptr;
|
|
@@ -169,7 +183,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
169
183
|
{
|
|
170
184
|
try
|
|
171
185
|
{
|
|
172
|
-
|
|
186
|
+
static std::optional<bool> is_overload_present{};
|
|
187
|
+
|
|
188
|
+
if (!is_overload_present.has_value())
|
|
189
|
+
{
|
|
190
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.DesignerAppManager", L"CreateNewViewAsync", 2);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
if (!is_overload_present.value())
|
|
173
194
|
{
|
|
174
195
|
py::set_arg_count_version_error(2);
|
|
175
196
|
return nullptr;
|
|
@@ -201,7 +222,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
201
222
|
{
|
|
202
223
|
try
|
|
203
224
|
{
|
|
204
|
-
|
|
225
|
+
static std::optional<bool> is_overload_present{};
|
|
226
|
+
|
|
227
|
+
if (!is_overload_present.has_value())
|
|
228
|
+
{
|
|
229
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.DesignerAppManager", L"LoadObjectIntoAppAsync", 3);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
if (!is_overload_present.value())
|
|
205
233
|
{
|
|
206
234
|
py::set_arg_count_version_error(3);
|
|
207
235
|
return nullptr;
|
|
@@ -230,7 +258,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
230
258
|
{
|
|
231
259
|
try
|
|
232
260
|
{
|
|
233
|
-
|
|
261
|
+
static std::optional<bool> is_property_present{};
|
|
262
|
+
|
|
263
|
+
if (!is_property_present.has_value())
|
|
264
|
+
{
|
|
265
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.DesignerAppManager", L"AppUserModelId");
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
if (!is_property_present.value())
|
|
234
269
|
{
|
|
235
270
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
236
271
|
return nullptr;
|
|
@@ -249,7 +284,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
249
284
|
{
|
|
250
285
|
try
|
|
251
286
|
{
|
|
252
|
-
|
|
287
|
+
static std::optional<bool> is_event_present{};
|
|
288
|
+
|
|
289
|
+
if (!is_event_present.has_value())
|
|
290
|
+
{
|
|
291
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Xaml.Hosting.DesignerAppManager", L"DesignerAppExited");
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
if (!is_event_present.value())
|
|
253
295
|
{
|
|
254
296
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
255
297
|
return nullptr;
|
|
@@ -270,7 +312,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
270
312
|
{
|
|
271
313
|
try
|
|
272
314
|
{
|
|
273
|
-
|
|
315
|
+
static std::optional<bool> is_event_present{};
|
|
316
|
+
|
|
317
|
+
if (!is_event_present.has_value())
|
|
318
|
+
{
|
|
319
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Xaml.Hosting.DesignerAppManager", L"DesignerAppExited");
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
if (!is_event_present.value())
|
|
274
323
|
{
|
|
275
324
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
276
325
|
return nullptr;
|
|
@@ -389,7 +438,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
389
438
|
{
|
|
390
439
|
try
|
|
391
440
|
{
|
|
392
|
-
|
|
441
|
+
static std::optional<bool> is_overload_present{};
|
|
442
|
+
|
|
443
|
+
if (!is_overload_present.has_value())
|
|
444
|
+
{
|
|
445
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.DesignerAppView", L"Close", 0);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
if (!is_overload_present.value())
|
|
393
449
|
{
|
|
394
450
|
py::set_arg_count_version_error(0);
|
|
395
451
|
return nullptr;
|
|
@@ -419,7 +475,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
419
475
|
{
|
|
420
476
|
try
|
|
421
477
|
{
|
|
422
|
-
|
|
478
|
+
static std::optional<bool> is_overload_present{};
|
|
479
|
+
|
|
480
|
+
if (!is_overload_present.has_value())
|
|
481
|
+
{
|
|
482
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.DesignerAppView", L"UpdateViewAsync", 2);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
if (!is_overload_present.value())
|
|
423
486
|
{
|
|
424
487
|
py::set_arg_count_version_error(2);
|
|
425
488
|
return nullptr;
|
|
@@ -447,7 +510,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
447
510
|
{
|
|
448
511
|
try
|
|
449
512
|
{
|
|
450
|
-
|
|
513
|
+
static std::optional<bool> is_property_present{};
|
|
514
|
+
|
|
515
|
+
if (!is_property_present.has_value())
|
|
516
|
+
{
|
|
517
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.DesignerAppView", L"AppUserModelId");
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
if (!is_property_present.value())
|
|
451
521
|
{
|
|
452
522
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
453
523
|
return nullptr;
|
|
@@ -466,7 +536,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
466
536
|
{
|
|
467
537
|
try
|
|
468
538
|
{
|
|
469
|
-
|
|
539
|
+
static std::optional<bool> is_property_present{};
|
|
540
|
+
|
|
541
|
+
if (!is_property_present.has_value())
|
|
542
|
+
{
|
|
543
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.DesignerAppView", L"ApplicationViewId");
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
if (!is_property_present.value())
|
|
470
547
|
{
|
|
471
548
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
472
549
|
return nullptr;
|
|
@@ -485,7 +562,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
485
562
|
{
|
|
486
563
|
try
|
|
487
564
|
{
|
|
488
|
-
|
|
565
|
+
static std::optional<bool> is_property_present{};
|
|
566
|
+
|
|
567
|
+
if (!is_property_present.has_value())
|
|
568
|
+
{
|
|
569
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.DesignerAppView", L"ViewSize");
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
if (!is_property_present.value())
|
|
489
573
|
{
|
|
490
574
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
491
575
|
return nullptr;
|
|
@@ -504,7 +588,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
504
588
|
{
|
|
505
589
|
try
|
|
506
590
|
{
|
|
507
|
-
|
|
591
|
+
static std::optional<bool> is_property_present{};
|
|
592
|
+
|
|
593
|
+
if (!is_property_present.has_value())
|
|
594
|
+
{
|
|
595
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.DesignerAppView", L"ViewState");
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
if (!is_property_present.value())
|
|
508
599
|
{
|
|
509
600
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
510
601
|
return nullptr;
|
|
@@ -610,7 +701,7 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
610
701
|
{
|
|
611
702
|
try
|
|
612
703
|
{
|
|
613
|
-
winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource instance{
|
|
704
|
+
winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource instance{};
|
|
614
705
|
return py::wrap(instance, type);
|
|
615
706
|
}
|
|
616
707
|
catch (...)
|
|
@@ -642,7 +733,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
642
733
|
{
|
|
643
734
|
try
|
|
644
735
|
{
|
|
645
|
-
|
|
736
|
+
static std::optional<bool> is_overload_present{};
|
|
737
|
+
|
|
738
|
+
if (!is_overload_present.has_value())
|
|
739
|
+
{
|
|
740
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSource", L"Close", 0);
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
if (!is_overload_present.value())
|
|
646
744
|
{
|
|
647
745
|
py::set_arg_count_version_error(0);
|
|
648
746
|
return nullptr;
|
|
@@ -672,7 +770,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
672
770
|
{
|
|
673
771
|
try
|
|
674
772
|
{
|
|
675
|
-
|
|
773
|
+
static std::optional<bool> is_overload_present{};
|
|
774
|
+
|
|
775
|
+
if (!is_overload_present.has_value())
|
|
776
|
+
{
|
|
777
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSource", L"NavigateFocus", 1);
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
if (!is_overload_present.value())
|
|
676
781
|
{
|
|
677
782
|
py::set_arg_count_version_error(1);
|
|
678
783
|
return nullptr;
|
|
@@ -699,7 +804,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
699
804
|
{
|
|
700
805
|
try
|
|
701
806
|
{
|
|
702
|
-
|
|
807
|
+
static std::optional<bool> is_property_present{};
|
|
808
|
+
|
|
809
|
+
if (!is_property_present.has_value())
|
|
810
|
+
{
|
|
811
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSource", L"Content");
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
if (!is_property_present.value())
|
|
703
815
|
{
|
|
704
816
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
705
817
|
return nullptr;
|
|
@@ -724,7 +836,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
724
836
|
|
|
725
837
|
try
|
|
726
838
|
{
|
|
727
|
-
|
|
839
|
+
static std::optional<bool> is_property_present{};
|
|
840
|
+
|
|
841
|
+
if (!is_property_present.has_value())
|
|
842
|
+
{
|
|
843
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSource", L"Content");
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
if (!is_property_present.value())
|
|
728
847
|
{
|
|
729
848
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
730
849
|
return -1;
|
|
@@ -746,7 +865,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
746
865
|
{
|
|
747
866
|
try
|
|
748
867
|
{
|
|
749
|
-
|
|
868
|
+
static std::optional<bool> is_property_present{};
|
|
869
|
+
|
|
870
|
+
if (!is_property_present.has_value())
|
|
871
|
+
{
|
|
872
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSource", L"HasFocus");
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
if (!is_property_present.value())
|
|
750
876
|
{
|
|
751
877
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
752
878
|
return nullptr;
|
|
@@ -765,7 +891,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
765
891
|
{
|
|
766
892
|
try
|
|
767
893
|
{
|
|
768
|
-
|
|
894
|
+
static std::optional<bool> is_event_present{};
|
|
895
|
+
|
|
896
|
+
if (!is_event_present.has_value())
|
|
897
|
+
{
|
|
898
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSource", L"GotFocus");
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
if (!is_event_present.value())
|
|
769
902
|
{
|
|
770
903
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
771
904
|
return nullptr;
|
|
@@ -786,7 +919,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
786
919
|
{
|
|
787
920
|
try
|
|
788
921
|
{
|
|
789
|
-
|
|
922
|
+
static std::optional<bool> is_event_present{};
|
|
923
|
+
|
|
924
|
+
if (!is_event_present.has_value())
|
|
925
|
+
{
|
|
926
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSource", L"GotFocus");
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
if (!is_event_present.value())
|
|
790
930
|
{
|
|
791
931
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
792
932
|
return nullptr;
|
|
@@ -808,7 +948,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
808
948
|
{
|
|
809
949
|
try
|
|
810
950
|
{
|
|
811
|
-
|
|
951
|
+
static std::optional<bool> is_event_present{};
|
|
952
|
+
|
|
953
|
+
if (!is_event_present.has_value())
|
|
954
|
+
{
|
|
955
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSource", L"TakeFocusRequested");
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
if (!is_event_present.value())
|
|
812
959
|
{
|
|
813
960
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
814
961
|
return nullptr;
|
|
@@ -829,7 +976,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
829
976
|
{
|
|
830
977
|
try
|
|
831
978
|
{
|
|
832
|
-
|
|
979
|
+
static std::optional<bool> is_event_present{};
|
|
980
|
+
|
|
981
|
+
if (!is_event_present.has_value())
|
|
982
|
+
{
|
|
983
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSource", L"TakeFocusRequested");
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
if (!is_event_present.value())
|
|
833
987
|
{
|
|
834
988
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
835
989
|
return nullptr;
|
|
@@ -946,7 +1100,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
946
1100
|
{
|
|
947
1101
|
try
|
|
948
1102
|
{
|
|
949
|
-
|
|
1103
|
+
static std::optional<bool> is_property_present{};
|
|
1104
|
+
|
|
1105
|
+
if (!is_property_present.has_value())
|
|
1106
|
+
{
|
|
1107
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSourceGotFocusEventArgs", L"Request");
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
if (!is_property_present.value())
|
|
950
1111
|
{
|
|
951
1112
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
952
1113
|
return nullptr;
|
|
@@ -1032,7 +1193,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1032
1193
|
{
|
|
1033
1194
|
try
|
|
1034
1195
|
{
|
|
1035
|
-
|
|
1196
|
+
static std::optional<bool> is_property_present{};
|
|
1197
|
+
|
|
1198
|
+
if (!is_property_present.has_value())
|
|
1199
|
+
{
|
|
1200
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSourceTakeFocusRequestedEventArgs", L"Request");
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
if (!is_property_present.value())
|
|
1036
1204
|
{
|
|
1037
1205
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1038
1206
|
return nullptr;
|
|
@@ -1122,7 +1290,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1122
1290
|
{
|
|
1123
1291
|
try
|
|
1124
1292
|
{
|
|
1125
|
-
|
|
1293
|
+
static std::optional<bool> is_overload_present{};
|
|
1294
|
+
|
|
1295
|
+
if (!is_overload_present.has_value())
|
|
1296
|
+
{
|
|
1297
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.ElementCompositionPreview", L"GetAppWindowContent", 1);
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
if (!is_overload_present.value())
|
|
1126
1301
|
{
|
|
1127
1302
|
py::set_arg_count_version_error(1);
|
|
1128
1303
|
return nullptr;
|
|
@@ -1153,7 +1328,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1153
1328
|
{
|
|
1154
1329
|
try
|
|
1155
1330
|
{
|
|
1156
|
-
|
|
1331
|
+
static std::optional<bool> is_overload_present{};
|
|
1332
|
+
|
|
1333
|
+
if (!is_overload_present.has_value())
|
|
1334
|
+
{
|
|
1335
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.ElementCompositionPreview", L"GetElementChildVisual", 1);
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
if (!is_overload_present.value())
|
|
1157
1339
|
{
|
|
1158
1340
|
py::set_arg_count_version_error(1);
|
|
1159
1341
|
return nullptr;
|
|
@@ -1184,7 +1366,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1184
1366
|
{
|
|
1185
1367
|
try
|
|
1186
1368
|
{
|
|
1187
|
-
|
|
1369
|
+
static std::optional<bool> is_overload_present{};
|
|
1370
|
+
|
|
1371
|
+
if (!is_overload_present.has_value())
|
|
1372
|
+
{
|
|
1373
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.ElementCompositionPreview", L"GetElementVisual", 1);
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
if (!is_overload_present.value())
|
|
1188
1377
|
{
|
|
1189
1378
|
py::set_arg_count_version_error(1);
|
|
1190
1379
|
return nullptr;
|
|
@@ -1215,7 +1404,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1215
1404
|
{
|
|
1216
1405
|
try
|
|
1217
1406
|
{
|
|
1218
|
-
|
|
1407
|
+
static std::optional<bool> is_overload_present{};
|
|
1408
|
+
|
|
1409
|
+
if (!is_overload_present.has_value())
|
|
1410
|
+
{
|
|
1411
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.ElementCompositionPreview", L"GetPointerPositionPropertySet", 1);
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
if (!is_overload_present.value())
|
|
1219
1415
|
{
|
|
1220
1416
|
py::set_arg_count_version_error(1);
|
|
1221
1417
|
return nullptr;
|
|
@@ -1246,7 +1442,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1246
1442
|
{
|
|
1247
1443
|
try
|
|
1248
1444
|
{
|
|
1249
|
-
|
|
1445
|
+
static std::optional<bool> is_overload_present{};
|
|
1446
|
+
|
|
1447
|
+
if (!is_overload_present.has_value())
|
|
1448
|
+
{
|
|
1449
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.ElementCompositionPreview", L"GetScrollViewerManipulationPropertySet", 1);
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
if (!is_overload_present.value())
|
|
1250
1453
|
{
|
|
1251
1454
|
py::set_arg_count_version_error(1);
|
|
1252
1455
|
return nullptr;
|
|
@@ -1277,7 +1480,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1277
1480
|
{
|
|
1278
1481
|
try
|
|
1279
1482
|
{
|
|
1280
|
-
|
|
1483
|
+
static std::optional<bool> is_overload_present{};
|
|
1484
|
+
|
|
1485
|
+
if (!is_overload_present.has_value())
|
|
1486
|
+
{
|
|
1487
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.ElementCompositionPreview", L"SetAppWindowContent", 2);
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
if (!is_overload_present.value())
|
|
1281
1491
|
{
|
|
1282
1492
|
py::set_arg_count_version_error(2);
|
|
1283
1493
|
return nullptr;
|
|
@@ -1310,7 +1520,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1310
1520
|
{
|
|
1311
1521
|
try
|
|
1312
1522
|
{
|
|
1313
|
-
|
|
1523
|
+
static std::optional<bool> is_overload_present{};
|
|
1524
|
+
|
|
1525
|
+
if (!is_overload_present.has_value())
|
|
1526
|
+
{
|
|
1527
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.ElementCompositionPreview", L"SetElementChildVisual", 2);
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
if (!is_overload_present.value())
|
|
1314
1531
|
{
|
|
1315
1532
|
py::set_arg_count_version_error(2);
|
|
1316
1533
|
return nullptr;
|
|
@@ -1343,7 +1560,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1343
1560
|
{
|
|
1344
1561
|
try
|
|
1345
1562
|
{
|
|
1346
|
-
|
|
1563
|
+
static std::optional<bool> is_overload_present{};
|
|
1564
|
+
|
|
1565
|
+
if (!is_overload_present.has_value())
|
|
1566
|
+
{
|
|
1567
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.ElementCompositionPreview", L"SetImplicitHideAnimation", 2);
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
if (!is_overload_present.value())
|
|
1347
1571
|
{
|
|
1348
1572
|
py::set_arg_count_version_error(2);
|
|
1349
1573
|
return nullptr;
|
|
@@ -1376,7 +1600,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1376
1600
|
{
|
|
1377
1601
|
try
|
|
1378
1602
|
{
|
|
1379
|
-
|
|
1603
|
+
static std::optional<bool> is_overload_present{};
|
|
1604
|
+
|
|
1605
|
+
if (!is_overload_present.has_value())
|
|
1606
|
+
{
|
|
1607
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.ElementCompositionPreview", L"SetImplicitShowAnimation", 2);
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
if (!is_overload_present.value())
|
|
1380
1611
|
{
|
|
1381
1612
|
py::set_arg_count_version_error(2);
|
|
1382
1613
|
return nullptr;
|
|
@@ -1409,7 +1640,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1409
1640
|
{
|
|
1410
1641
|
try
|
|
1411
1642
|
{
|
|
1412
|
-
|
|
1643
|
+
static std::optional<bool> is_overload_present{};
|
|
1644
|
+
|
|
1645
|
+
if (!is_overload_present.has_value())
|
|
1646
|
+
{
|
|
1647
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.ElementCompositionPreview", L"SetIsTranslationEnabled", 2);
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
if (!is_overload_present.value())
|
|
1413
1651
|
{
|
|
1414
1652
|
py::set_arg_count_version_error(2);
|
|
1415
1653
|
return nullptr;
|
|
@@ -1543,7 +1781,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1543
1781
|
{
|
|
1544
1782
|
try
|
|
1545
1783
|
{
|
|
1546
|
-
|
|
1784
|
+
static std::optional<bool> is_overload_present{};
|
|
1785
|
+
|
|
1786
|
+
if (!is_overload_present.has_value())
|
|
1787
|
+
{
|
|
1788
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.WindowsXamlManager", L"Close", 0);
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
if (!is_overload_present.value())
|
|
1547
1792
|
{
|
|
1548
1793
|
py::set_arg_count_version_error(0);
|
|
1549
1794
|
return nullptr;
|
|
@@ -1573,7 +1818,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1573
1818
|
{
|
|
1574
1819
|
try
|
|
1575
1820
|
{
|
|
1576
|
-
|
|
1821
|
+
static std::optional<bool> is_overload_present{};
|
|
1822
|
+
|
|
1823
|
+
if (!is_overload_present.has_value())
|
|
1824
|
+
{
|
|
1825
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.WindowsXamlManager", L"InitializeForCurrentThread", 0);
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
if (!is_overload_present.value())
|
|
1577
1829
|
{
|
|
1578
1830
|
py::set_arg_count_version_error(0);
|
|
1579
1831
|
return nullptr;
|
|
@@ -1708,7 +1960,7 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1708
1960
|
{
|
|
1709
1961
|
auto param0 = py::convert_to<winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason>(args, 0);
|
|
1710
1962
|
|
|
1711
|
-
winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest instance{
|
|
1963
|
+
winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest instance{param0};
|
|
1712
1964
|
return py::wrap(instance, type);
|
|
1713
1965
|
}
|
|
1714
1966
|
catch (...)
|
|
@@ -1724,7 +1976,7 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1724
1976
|
auto param0 = py::convert_to<winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason>(args, 0);
|
|
1725
1977
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Rect>(args, 1);
|
|
1726
1978
|
|
|
1727
|
-
winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest instance{
|
|
1979
|
+
winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest instance{param0, param1};
|
|
1728
1980
|
return py::wrap(instance, type);
|
|
1729
1981
|
}
|
|
1730
1982
|
catch (...)
|
|
@@ -1741,7 +1993,7 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1741
1993
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Rect>(args, 1);
|
|
1742
1994
|
auto param2 = py::convert_to<winrt::guid>(args, 2);
|
|
1743
1995
|
|
|
1744
|
-
winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest instance{
|
|
1996
|
+
winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest instance{param0, param1, param2};
|
|
1745
1997
|
return py::wrap(instance, type);
|
|
1746
1998
|
}
|
|
1747
1999
|
catch (...)
|
|
@@ -1769,7 +2021,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1769
2021
|
{
|
|
1770
2022
|
try
|
|
1771
2023
|
{
|
|
1772
|
-
|
|
2024
|
+
static std::optional<bool> is_property_present{};
|
|
2025
|
+
|
|
2026
|
+
if (!is_property_present.has_value())
|
|
2027
|
+
{
|
|
2028
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest", L"CorrelationId");
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
if (!is_property_present.value())
|
|
1773
2032
|
{
|
|
1774
2033
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1775
2034
|
return nullptr;
|
|
@@ -1788,7 +2047,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1788
2047
|
{
|
|
1789
2048
|
try
|
|
1790
2049
|
{
|
|
1791
|
-
|
|
2050
|
+
static std::optional<bool> is_property_present{};
|
|
2051
|
+
|
|
2052
|
+
if (!is_property_present.has_value())
|
|
2053
|
+
{
|
|
2054
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest", L"HintRect");
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
if (!is_property_present.value())
|
|
1792
2058
|
{
|
|
1793
2059
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1794
2060
|
return nullptr;
|
|
@@ -1807,7 +2073,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1807
2073
|
{
|
|
1808
2074
|
try
|
|
1809
2075
|
{
|
|
1810
|
-
|
|
2076
|
+
static std::optional<bool> is_property_present{};
|
|
2077
|
+
|
|
2078
|
+
if (!is_property_present.has_value())
|
|
2079
|
+
{
|
|
2080
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest", L"Reason");
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
if (!is_property_present.value())
|
|
1811
2084
|
{
|
|
1812
2085
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1813
2086
|
return nullptr;
|
|
@@ -1891,7 +2164,7 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1891
2164
|
{
|
|
1892
2165
|
auto param0 = py::convert_to<bool>(args, 0);
|
|
1893
2166
|
|
|
1894
|
-
winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationResult instance{
|
|
2167
|
+
winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationResult instance{param0};
|
|
1895
2168
|
return py::wrap(instance, type);
|
|
1896
2169
|
}
|
|
1897
2170
|
catch (...)
|
|
@@ -1919,7 +2192,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
1919
2192
|
{
|
|
1920
2193
|
try
|
|
1921
2194
|
{
|
|
1922
|
-
|
|
2195
|
+
static std::optional<bool> is_property_present{};
|
|
2196
|
+
|
|
2197
|
+
if (!is_property_present.has_value())
|
|
2198
|
+
{
|
|
2199
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationResult", L"WasFocusMoved");
|
|
2200
|
+
}
|
|
2201
|
+
|
|
2202
|
+
if (!is_property_present.value())
|
|
1923
2203
|
{
|
|
1924
2204
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1925
2205
|
return nullptr;
|
|
@@ -2009,7 +2289,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2009
2289
|
{
|
|
2010
2290
|
try
|
|
2011
2291
|
{
|
|
2012
|
-
|
|
2292
|
+
static std::optional<bool> is_overload_present{};
|
|
2293
|
+
|
|
2294
|
+
if (!is_overload_present.has_value())
|
|
2295
|
+
{
|
|
2296
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"GetFlyoutPlacement", 6);
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
if (!is_overload_present.value())
|
|
2013
2300
|
{
|
|
2014
2301
|
py::set_arg_count_version_error(6);
|
|
2015
2302
|
return nullptr;
|
|
@@ -2058,7 +2345,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2058
2345
|
{
|
|
2059
2346
|
try
|
|
2060
2347
|
{
|
|
2061
|
-
|
|
2348
|
+
static std::optional<bool> is_overload_present{};
|
|
2349
|
+
|
|
2350
|
+
if (!is_overload_present.has_value())
|
|
2351
|
+
{
|
|
2352
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"GetFlyoutPlacementTargetInfo", 2);
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
if (!is_overload_present.value())
|
|
2062
2356
|
{
|
|
2063
2357
|
py::set_arg_count_version_error(2);
|
|
2064
2358
|
return nullptr;
|
|
@@ -2109,7 +2403,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2109
2403
|
{
|
|
2110
2404
|
try
|
|
2111
2405
|
{
|
|
2112
|
-
|
|
2406
|
+
static std::optional<bool> is_overload_present{};
|
|
2407
|
+
|
|
2408
|
+
if (!is_overload_present.has_value())
|
|
2409
|
+
{
|
|
2410
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"NotifyWindowSizeChanged", 0);
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2413
|
+
if (!is_overload_present.value())
|
|
2113
2414
|
{
|
|
2114
2415
|
py::set_arg_count_version_error(0);
|
|
2115
2416
|
return nullptr;
|
|
@@ -2139,7 +2440,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2139
2440
|
{
|
|
2140
2441
|
try
|
|
2141
2442
|
{
|
|
2142
|
-
|
|
2443
|
+
static std::optional<bool> is_overload_present{};
|
|
2444
|
+
|
|
2445
|
+
if (!is_overload_present.has_value())
|
|
2446
|
+
{
|
|
2447
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"Present", 0);
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
if (!is_overload_present.value())
|
|
2143
2451
|
{
|
|
2144
2452
|
py::set_arg_count_version_error(0);
|
|
2145
2453
|
return nullptr;
|
|
@@ -2169,7 +2477,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2169
2477
|
{
|
|
2170
2478
|
try
|
|
2171
2479
|
{
|
|
2172
|
-
|
|
2480
|
+
static std::optional<bool> is_overload_present{};
|
|
2481
|
+
|
|
2482
|
+
if (!is_overload_present.has_value())
|
|
2483
|
+
{
|
|
2484
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"Render", 0);
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
if (!is_overload_present.value())
|
|
2173
2488
|
{
|
|
2174
2489
|
py::set_arg_count_version_error(0);
|
|
2175
2490
|
return nullptr;
|
|
@@ -2199,7 +2514,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2199
2514
|
{
|
|
2200
2515
|
try
|
|
2201
2516
|
{
|
|
2202
|
-
|
|
2517
|
+
static std::optional<bool> is_overload_present{};
|
|
2518
|
+
|
|
2519
|
+
if (!is_overload_present.has_value())
|
|
2520
|
+
{
|
|
2521
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"SetHost", 1);
|
|
2522
|
+
}
|
|
2523
|
+
|
|
2524
|
+
if (!is_overload_present.value())
|
|
2203
2525
|
{
|
|
2204
2526
|
py::set_arg_count_version_error(1);
|
|
2205
2527
|
return nullptr;
|
|
@@ -2231,7 +2553,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2231
2553
|
{
|
|
2232
2554
|
try
|
|
2233
2555
|
{
|
|
2234
|
-
|
|
2556
|
+
static std::optional<bool> is_overload_present{};
|
|
2557
|
+
|
|
2558
|
+
if (!is_overload_present.has_value())
|
|
2559
|
+
{
|
|
2560
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"SetSize", 2);
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
if (!is_overload_present.value())
|
|
2235
2564
|
{
|
|
2236
2565
|
py::set_arg_count_version_error(2);
|
|
2237
2566
|
return nullptr;
|
|
@@ -2260,7 +2589,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2260
2589
|
{
|
|
2261
2590
|
try
|
|
2262
2591
|
{
|
|
2263
|
-
|
|
2592
|
+
static std::optional<bool> is_property_present{};
|
|
2593
|
+
|
|
2594
|
+
if (!is_property_present.has_value())
|
|
2595
|
+
{
|
|
2596
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"ThemeResourcesXaml");
|
|
2597
|
+
}
|
|
2598
|
+
|
|
2599
|
+
if (!is_property_present.value())
|
|
2264
2600
|
{
|
|
2265
2601
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2266
2602
|
return nullptr;
|
|
@@ -2285,7 +2621,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2285
2621
|
|
|
2286
2622
|
try
|
|
2287
2623
|
{
|
|
2288
|
-
|
|
2624
|
+
static std::optional<bool> is_property_present{};
|
|
2625
|
+
|
|
2626
|
+
if (!is_property_present.has_value())
|
|
2627
|
+
{
|
|
2628
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"ThemeResourcesXaml");
|
|
2629
|
+
}
|
|
2630
|
+
|
|
2631
|
+
if (!is_property_present.value())
|
|
2289
2632
|
{
|
|
2290
2633
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2291
2634
|
return -1;
|
|
@@ -2307,7 +2650,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2307
2650
|
{
|
|
2308
2651
|
try
|
|
2309
2652
|
{
|
|
2310
|
-
|
|
2653
|
+
static std::optional<bool> is_property_present{};
|
|
2654
|
+
|
|
2655
|
+
if (!is_property_present.has_value())
|
|
2656
|
+
{
|
|
2657
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"ThemeKey");
|
|
2658
|
+
}
|
|
2659
|
+
|
|
2660
|
+
if (!is_property_present.value())
|
|
2311
2661
|
{
|
|
2312
2662
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2313
2663
|
return nullptr;
|
|
@@ -2332,7 +2682,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2332
2682
|
|
|
2333
2683
|
try
|
|
2334
2684
|
{
|
|
2335
|
-
|
|
2685
|
+
static std::optional<bool> is_property_present{};
|
|
2686
|
+
|
|
2687
|
+
if (!is_property_present.has_value())
|
|
2688
|
+
{
|
|
2689
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"ThemeKey");
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
if (!is_property_present.value())
|
|
2336
2693
|
{
|
|
2337
2694
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2338
2695
|
return -1;
|
|
@@ -2354,7 +2711,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2354
2711
|
{
|
|
2355
2712
|
try
|
|
2356
2713
|
{
|
|
2357
|
-
|
|
2714
|
+
static std::optional<bool> is_property_present{};
|
|
2715
|
+
|
|
2716
|
+
if (!is_property_present.has_value())
|
|
2717
|
+
{
|
|
2718
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"RootElement");
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
if (!is_property_present.value())
|
|
2358
2722
|
{
|
|
2359
2723
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2360
2724
|
return nullptr;
|
|
@@ -2379,7 +2743,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2379
2743
|
|
|
2380
2744
|
try
|
|
2381
2745
|
{
|
|
2382
|
-
|
|
2746
|
+
static std::optional<bool> is_property_present{};
|
|
2747
|
+
|
|
2748
|
+
if (!is_property_present.has_value())
|
|
2749
|
+
{
|
|
2750
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"RootElement");
|
|
2751
|
+
}
|
|
2752
|
+
|
|
2753
|
+
if (!is_property_present.value())
|
|
2383
2754
|
{
|
|
2384
2755
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2385
2756
|
return -1;
|
|
@@ -2401,7 +2772,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2401
2772
|
{
|
|
2402
2773
|
try
|
|
2403
2774
|
{
|
|
2404
|
-
|
|
2775
|
+
static std::optional<bool> is_property_present{};
|
|
2776
|
+
|
|
2777
|
+
if (!is_property_present.has_value())
|
|
2778
|
+
{
|
|
2779
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"CompleteTimelinesAutomatically");
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
if (!is_property_present.value())
|
|
2405
2783
|
{
|
|
2406
2784
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2407
2785
|
return nullptr;
|
|
@@ -2426,7 +2804,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2426
2804
|
|
|
2427
2805
|
try
|
|
2428
2806
|
{
|
|
2429
|
-
|
|
2807
|
+
static std::optional<bool> is_property_present{};
|
|
2808
|
+
|
|
2809
|
+
if (!is_property_present.has_value())
|
|
2810
|
+
{
|
|
2811
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Hosting.XamlUIPresenter", L"CompleteTimelinesAutomatically");
|
|
2812
|
+
}
|
|
2813
|
+
|
|
2814
|
+
if (!is_property_present.value())
|
|
2430
2815
|
{
|
|
2431
2816
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2432
2817
|
return -1;
|
|
@@ -2554,7 +2939,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2554
2939
|
{
|
|
2555
2940
|
try
|
|
2556
2941
|
{
|
|
2557
|
-
|
|
2942
|
+
static std::optional<bool> is_overload_present{};
|
|
2943
|
+
|
|
2944
|
+
if (!is_overload_present.has_value())
|
|
2945
|
+
{
|
|
2946
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.IXamlUIPresenterHost", L"ResolveFileResource", 1);
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2949
|
+
if (!is_overload_present.value())
|
|
2558
2950
|
{
|
|
2559
2951
|
py::set_arg_count_version_error(1);
|
|
2560
2952
|
return nullptr;
|
|
@@ -2652,7 +3044,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2652
3044
|
{
|
|
2653
3045
|
try
|
|
2654
3046
|
{
|
|
2655
|
-
|
|
3047
|
+
static std::optional<bool> is_overload_present{};
|
|
3048
|
+
|
|
3049
|
+
if (!is_overload_present.has_value())
|
|
3050
|
+
{
|
|
3051
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.IXamlUIPresenterHost2", L"GetGenericXamlFilePath", 0);
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
if (!is_overload_present.value())
|
|
2656
3055
|
{
|
|
2657
3056
|
py::set_arg_count_version_error(0);
|
|
2658
3057
|
return nullptr;
|
|
@@ -2748,7 +3147,14 @@ namespace py::cpp::Windows::UI::Xaml::Hosting
|
|
|
2748
3147
|
{
|
|
2749
3148
|
try
|
|
2750
3149
|
{
|
|
2751
|
-
|
|
3150
|
+
static std::optional<bool> is_overload_present{};
|
|
3151
|
+
|
|
3152
|
+
if (!is_overload_present.has_value())
|
|
3153
|
+
{
|
|
3154
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Hosting.IXamlUIPresenterHost3", L"ResolveDictionaryResource", 3);
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
if (!is_overload_present.value())
|
|
2752
3158
|
{
|
|
2753
3159
|
py::set_arg_count_version_error(3);
|
|
2754
3160
|
return nullptr;
|
|
@@ -2868,32 +3274,38 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_xaml_hosting(void) noexcept
|
|
|
2868
3274
|
return nullptr;
|
|
2869
3275
|
}
|
|
2870
3276
|
|
|
2871
|
-
|
|
3277
|
+
py::pytype_handle DesignerAppExitedEventArgs_type{py::register_python_type(module.get(), &type_spec_DesignerAppExitedEventArgs, object_bases.get(), nullptr)};
|
|
3278
|
+
if (!DesignerAppExitedEventArgs_type)
|
|
2872
3279
|
{
|
|
2873
3280
|
return nullptr;
|
|
2874
3281
|
}
|
|
2875
3282
|
|
|
2876
|
-
|
|
3283
|
+
py::pytype_handle DesignerAppManager_type{py::register_python_type(module.get(), &type_spec_DesignerAppManager, object_bases.get(), nullptr)};
|
|
3284
|
+
if (!DesignerAppManager_type)
|
|
2877
3285
|
{
|
|
2878
3286
|
return nullptr;
|
|
2879
3287
|
}
|
|
2880
3288
|
|
|
2881
|
-
|
|
3289
|
+
py::pytype_handle DesignerAppView_type{py::register_python_type(module.get(), &type_spec_DesignerAppView, object_bases.get(), nullptr)};
|
|
3290
|
+
if (!DesignerAppView_type)
|
|
2882
3291
|
{
|
|
2883
3292
|
return nullptr;
|
|
2884
3293
|
}
|
|
2885
3294
|
|
|
2886
|
-
|
|
3295
|
+
py::pytype_handle DesktopWindowXamlSource_type{py::register_python_type(module.get(), &type_spec_DesktopWindowXamlSource, object_bases.get(), nullptr)};
|
|
3296
|
+
if (!DesktopWindowXamlSource_type)
|
|
2887
3297
|
{
|
|
2888
3298
|
return nullptr;
|
|
2889
3299
|
}
|
|
2890
3300
|
|
|
2891
|
-
|
|
3301
|
+
py::pytype_handle DesktopWindowXamlSourceGotFocusEventArgs_type{py::register_python_type(module.get(), &type_spec_DesktopWindowXamlSourceGotFocusEventArgs, object_bases.get(), nullptr)};
|
|
3302
|
+
if (!DesktopWindowXamlSourceGotFocusEventArgs_type)
|
|
2892
3303
|
{
|
|
2893
3304
|
return nullptr;
|
|
2894
3305
|
}
|
|
2895
3306
|
|
|
2896
|
-
|
|
3307
|
+
py::pytype_handle DesktopWindowXamlSourceTakeFocusRequestedEventArgs_type{py::register_python_type(module.get(), &type_spec_DesktopWindowXamlSourceTakeFocusRequestedEventArgs, object_bases.get(), nullptr)};
|
|
3308
|
+
if (!DesktopWindowXamlSourceTakeFocusRequestedEventArgs_type)
|
|
2897
3309
|
{
|
|
2898
3310
|
return nullptr;
|
|
2899
3311
|
}
|
|
@@ -2904,7 +3316,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_xaml_hosting(void) noexcept
|
|
|
2904
3316
|
return nullptr;
|
|
2905
3317
|
}
|
|
2906
3318
|
|
|
2907
|
-
|
|
3319
|
+
py::pytype_handle ElementCompositionPreview_type{py::register_python_type(module.get(), &type_spec_ElementCompositionPreview, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_ElementCompositionPreview_Static.get()))};
|
|
3320
|
+
if (!ElementCompositionPreview_type)
|
|
2908
3321
|
{
|
|
2909
3322
|
return nullptr;
|
|
2910
3323
|
}
|
|
@@ -2915,17 +3328,20 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_xaml_hosting(void) noexcept
|
|
|
2915
3328
|
return nullptr;
|
|
2916
3329
|
}
|
|
2917
3330
|
|
|
2918
|
-
|
|
3331
|
+
py::pytype_handle WindowsXamlManager_type{py::register_python_type(module.get(), &type_spec_WindowsXamlManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_WindowsXamlManager_Static.get()))};
|
|
3332
|
+
if (!WindowsXamlManager_type)
|
|
2919
3333
|
{
|
|
2920
3334
|
return nullptr;
|
|
2921
3335
|
}
|
|
2922
3336
|
|
|
2923
|
-
|
|
3337
|
+
py::pytype_handle XamlSourceFocusNavigationRequest_type{py::register_python_type(module.get(), &type_spec_XamlSourceFocusNavigationRequest, object_bases.get(), nullptr)};
|
|
3338
|
+
if (!XamlSourceFocusNavigationRequest_type)
|
|
2924
3339
|
{
|
|
2925
3340
|
return nullptr;
|
|
2926
3341
|
}
|
|
2927
3342
|
|
|
2928
|
-
|
|
3343
|
+
py::pytype_handle XamlSourceFocusNavigationResult_type{py::register_python_type(module.get(), &type_spec_XamlSourceFocusNavigationResult, object_bases.get(), nullptr)};
|
|
3344
|
+
if (!XamlSourceFocusNavigationResult_type)
|
|
2929
3345
|
{
|
|
2930
3346
|
return nullptr;
|
|
2931
3347
|
}
|
|
@@ -2936,22 +3352,26 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_xaml_hosting(void) noexcept
|
|
|
2936
3352
|
return nullptr;
|
|
2937
3353
|
}
|
|
2938
3354
|
|
|
2939
|
-
|
|
3355
|
+
py::pytype_handle XamlUIPresenter_type{py::register_python_type(module.get(), &type_spec_XamlUIPresenter, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_XamlUIPresenter_Static.get()))};
|
|
3356
|
+
if (!XamlUIPresenter_type)
|
|
2940
3357
|
{
|
|
2941
3358
|
return nullptr;
|
|
2942
3359
|
}
|
|
2943
3360
|
|
|
2944
|
-
|
|
3361
|
+
py::pytype_handle IXamlUIPresenterHost_type{py::register_python_type(module.get(), &type_spec_IXamlUIPresenterHost, object_bases.get(), nullptr)};
|
|
3362
|
+
if (!IXamlUIPresenterHost_type)
|
|
2945
3363
|
{
|
|
2946
3364
|
return nullptr;
|
|
2947
3365
|
}
|
|
2948
3366
|
|
|
2949
|
-
|
|
3367
|
+
py::pytype_handle IXamlUIPresenterHost2_type{py::register_python_type(module.get(), &type_spec_IXamlUIPresenterHost2, object_bases.get(), nullptr)};
|
|
3368
|
+
if (!IXamlUIPresenterHost2_type)
|
|
2950
3369
|
{
|
|
2951
3370
|
return nullptr;
|
|
2952
3371
|
}
|
|
2953
3372
|
|
|
2954
|
-
|
|
3373
|
+
py::pytype_handle IXamlUIPresenterHost3_type{py::register_python_type(module.get(), &type_spec_IXamlUIPresenterHost3, object_bases.get(), nullptr)};
|
|
3374
|
+
if (!IXamlUIPresenterHost3_type)
|
|
2955
3375
|
{
|
|
2956
3376
|
return nullptr;
|
|
2957
3377
|
}
|
|
@@ -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.3.0
|
{winrt_windows_ui_xaml_hosting-2.1.0 → winrt_windows_ui_xaml_hosting-2.3.0}/requirements.txt
RENAMED
|
@@ -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.3.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.3.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Xaml.Hosting
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.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.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.UI.Composition[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.UI.WindowManagement[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.UI.Xaml[all]==2.
|
|
21
|
-
Requires-Dist: winrt-Windows.UI.Xaml.Controls[all]==2.
|
|
22
|
-
Requires-Dist: winrt-Windows.UI.Xaml.Controls.Primitives[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.UI.Composition[all]==2.3.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.UI.WindowManagement[all]==2.3.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI.Xaml[all]==2.3.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Controls[all]==2.3.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Controls.Primitives[all]==2.3.0; extra == "all"
|
|
23
23
|
|
|
24
24
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
25
25
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
winrt-runtime==2.3.0
|
|
2
|
+
|
|
3
|
+
[all]
|
|
4
|
+
winrt-Windows.Foundation[all]==2.3.0
|
|
5
|
+
winrt-Windows.UI.Composition[all]==2.3.0
|
|
6
|
+
winrt-Windows.UI.WindowManagement[all]==2.3.0
|
|
7
|
+
winrt-Windows.UI.Xaml[all]==2.3.0
|
|
8
|
+
winrt-Windows.UI.Xaml.Controls[all]==2.3.0
|
|
9
|
+
winrt-Windows.UI.Xaml.Controls.Primitives[all]==2.3.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.UI.Composition[all]==2.1.0
|
|
5
|
-
winrt-Windows.UI.WindowManagement[all]==2.1.0
|
|
6
|
-
winrt-Windows.UI.Xaml[all]==2.1.0
|
|
7
|
-
winrt-Windows.UI.Xaml.Controls[all]==2.1.0
|
|
8
|
-
winrt-Windows.UI.Xaml.Controls.Primitives[all]==2.1.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.1.0
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.Foundation[all]==2.1.0
|
|
5
|
-
winrt-Windows.UI.Composition[all]==2.1.0
|
|
6
|
-
winrt-Windows.UI.WindowManagement[all]==2.1.0
|
|
7
|
-
winrt-Windows.UI.Xaml[all]==2.1.0
|
|
8
|
-
winrt-Windows.UI.Xaml.Controls[all]==2.1.0
|
|
9
|
-
winrt-Windows.UI.Xaml.Controls.Primitives[all]==2.1.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|