winrt-Windows.UI.Composition.Desktop 2.3.0__tar.gz → 3.0.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.
Files changed (23) hide show
  1. {winrt_windows_ui_composition_desktop-2.3.0 → winrt_windows_ui_composition_desktop-3.0.0}/PKG-INFO +5 -6
  2. winrt_windows_ui_composition_desktop-2.3.0/requirements.txt → winrt_windows_ui_composition_desktop-3.0.0/all-requirements.txt +2 -2
  3. winrt_windows_ui_composition_desktop-3.0.0/py.Windows.UI.Composition.Desktop.cpp +178 -0
  4. {winrt_windows_ui_composition_desktop-2.3.0 → winrt_windows_ui_composition_desktop-3.0.0}/pyproject.toml +2 -2
  5. winrt_windows_ui_composition_desktop-3.0.0/pywinrt-version.txt +1 -0
  6. winrt_windows_ui_composition_desktop-3.0.0/requirements.txt +4 -0
  7. {winrt_windows_ui_composition_desktop-2.3.0 → winrt_windows_ui_composition_desktop-3.0.0}/setup.py +1 -1
  8. winrt_windows_ui_composition_desktop-3.0.0/winrt/_winrt_windows_ui_composition_desktop.pyi +21 -0
  9. winrt_windows_ui_composition_desktop-3.0.0/winrt/windows/ui/composition/desktop/__init__.py +11 -0
  10. {winrt_windows_ui_composition_desktop-2.3.0 → winrt_windows_ui_composition_desktop-3.0.0}/winrt_Windows.UI.Composition.Desktop.egg-info/PKG-INFO +5 -6
  11. winrt_windows_ui_composition_desktop-3.0.0/winrt_Windows.UI.Composition.Desktop.egg-info/requires.txt +5 -0
  12. winrt_windows_ui_composition_desktop-2.3.0/all-requirements.txt +0 -5
  13. winrt_windows_ui_composition_desktop-2.3.0/py.Windows.UI.Composition.Desktop.cpp +0 -756
  14. winrt_windows_ui_composition_desktop-2.3.0/pywinrt-version.txt +0 -1
  15. winrt_windows_ui_composition_desktop-2.3.0/winrt/_winrt_windows_ui_composition_desktop.pyi +0 -54
  16. winrt_windows_ui_composition_desktop-2.3.0/winrt/windows/ui/composition/desktop/__init__.py +0 -10
  17. winrt_windows_ui_composition_desktop-2.3.0/winrt_Windows.UI.Composition.Desktop.egg-info/requires.txt +0 -6
  18. {winrt_windows_ui_composition_desktop-2.3.0 → winrt_windows_ui_composition_desktop-3.0.0}/README.md +0 -0
  19. {winrt_windows_ui_composition_desktop-2.3.0 → winrt_windows_ui_composition_desktop-3.0.0}/setup.cfg +0 -0
  20. {winrt_windows_ui_composition_desktop-2.3.0 → winrt_windows_ui_composition_desktop-3.0.0}/winrt/windows/ui/composition/desktop/py.typed +0 -0
  21. {winrt_windows_ui_composition_desktop-2.3.0 → winrt_windows_ui_composition_desktop-3.0.0}/winrt_Windows.UI.Composition.Desktop.egg-info/SOURCES.txt +0 -0
  22. {winrt_windows_ui_composition_desktop-2.3.0 → winrt_windows_ui_composition_desktop-3.0.0}/winrt_Windows.UI.Composition.Desktop.egg-info/dependency_links.txt +0 -0
  23. {winrt_windows_ui_composition_desktop-2.3.0 → winrt_windows_ui_composition_desktop-3.0.0}/winrt_Windows.UI.Composition.Desktop.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.UI.Composition.Desktop
3
- Version: 2.3.0
3
+ Version: 3.0.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,13 +10,12 @@ 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.14,>=3.9
13
+ Requires-Python: >=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.3.0
15
+ Requires-Dist: winrt-runtime==3.0.0
16
+ Requires-Dist: winrt-Windows.UI.Composition==3.0.0
16
17
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.System[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.Core[all]==2.3.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.UI.Composition[all]==3.0.0; extra == "all"
20
19
 
21
20
  <!-- warning: Please don't edit this file. It was automatically generated. -->
22
21
 
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
2
2
 
3
- winrt-runtime==2.3.0
3
+ winrt-Windows.UI.Composition[all]==3.0.0
@@ -0,0 +1,178 @@
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
2
+
3
+ #include "py.Windows.UI.Composition.Desktop.h"
4
+
5
+ namespace py::cpp::Windows::UI::Composition::Desktop
6
+ {
7
+ // ----- DesktopWindowTarget class --------------------
8
+
9
+ static PyObject* _new_DesktopWindowTarget(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
10
+ {
11
+ static_assert(py::py_type<winrt::Windows::UI::Composition::Desktop::DesktopWindowTarget>::type_name);
12
+ py::set_invalid_activation_error(py::py_type<winrt::Windows::UI::Composition::Desktop::DesktopWindowTarget>::type_name);
13
+ return nullptr;
14
+ }
15
+
16
+ static void _dealloc_DesktopWindowTarget(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self) noexcept
17
+ {
18
+ auto tp = Py_TYPE(self);
19
+ std::destroy_at(&self->obj);
20
+ tp->tp_free(self);
21
+ Py_DECREF(tp);
22
+ }
23
+
24
+ static PyObject* DesktopWindowTarget_get_IsTopmost(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, void* /*unused*/) noexcept
25
+ {
26
+ try
27
+ {
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.Composition.Desktop.DesktopWindowTarget", L"IsTopmost");
33
+ }
34
+
35
+ if (!is_property_present.value())
36
+ {
37
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
38
+ return nullptr;
39
+ }
40
+
41
+ return py::convert([&]()
42
+ {
43
+ auto _gil = release_gil();
44
+ return self->obj.IsTopmost();
45
+ }());
46
+ }
47
+ catch (...)
48
+ {
49
+ py::to_PyErr();
50
+ return nullptr;
51
+ }
52
+ }
53
+
54
+ static PyObject* _assign_array_DesktopWindowTarget(PyObject* /*unused*/, PyObject* arg) noexcept
55
+ {
56
+ auto array = std::make_unique<py::ComArray<winrt::Windows::UI::Composition::Desktop::DesktopWindowTarget>>();
57
+ if (!py::cpp::_winrt::Array_Assign(arg, std::move(array)))
58
+ {
59
+ return nullptr;
60
+ }
61
+ Py_RETURN_NONE;
62
+ }
63
+
64
+ static PyObject* _from_DesktopWindowTarget(PyObject* /*unused*/, PyObject* arg) noexcept
65
+ {
66
+ try
67
+ {
68
+ auto return_value = py::convert_to<winrt::Windows::Foundation::IInspectable>(arg);
69
+ return py::convert(return_value.as<winrt::Windows::UI::Composition::Desktop::DesktopWindowTarget>());
70
+ }
71
+ catch (...)
72
+ {
73
+ py::to_PyErr();
74
+ return nullptr;
75
+ }
76
+ }
77
+
78
+ static PyMethodDef _methods_DesktopWindowTarget[] = {
79
+ { "_assign_array_", _assign_array_DesktopWindowTarget, METH_O | METH_STATIC, nullptr },
80
+ { "_from", reinterpret_cast<PyCFunction>(_from_DesktopWindowTarget), METH_O | METH_STATIC, nullptr },
81
+ { }};
82
+
83
+ static PyGetSetDef _getset_DesktopWindowTarget[] = {
84
+ { "is_topmost", reinterpret_cast<getter>(DesktopWindowTarget_get_IsTopmost), nullptr, nullptr, nullptr },
85
+ { }};
86
+
87
+ static PyType_Slot _type_slots_DesktopWindowTarget[] = {
88
+ { Py_tp_new, reinterpret_cast<void*>(_new_DesktopWindowTarget) },
89
+ { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_DesktopWindowTarget) },
90
+ { Py_tp_methods, reinterpret_cast<void*>(_methods_DesktopWindowTarget) },
91
+ { Py_tp_getset, reinterpret_cast<void*>(_getset_DesktopWindowTarget) },
92
+ { }};
93
+
94
+ static PyType_Spec type_spec_DesktopWindowTarget = {
95
+ "winrt._winrt_windows_ui_composition_desktop.DesktopWindowTarget",
96
+ sizeof(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget),
97
+ 0,
98
+ Py_TPFLAGS_DEFAULT,
99
+ _type_slots_DesktopWindowTarget};
100
+
101
+ // ----- Windows.UI.Composition.Desktop Initialization --------------------
102
+
103
+ PyDoc_STRVAR(module_doc, "Windows.UI.Composition.Desktop");
104
+
105
+ static PyModuleDef module_def = {
106
+ PyModuleDef_HEAD_INIT,
107
+ "_winrt_windows_ui_composition_desktop",
108
+ module_doc,
109
+ 0,
110
+ nullptr,
111
+ nullptr,
112
+ nullptr,
113
+ nullptr,
114
+ nullptr};
115
+ } // py::cpp::Windows::UI::Composition::Desktop
116
+
117
+ PyMODINIT_FUNC PyInit__winrt_windows_ui_composition_desktop(void) noexcept
118
+ {
119
+ using namespace py::cpp::Windows::UI::Composition::Desktop;
120
+
121
+ if (py::import_winrt_runtime() == -1)
122
+ {
123
+ return nullptr;
124
+ }
125
+
126
+ py::pyobj_handle module{PyModule_Create(&module_def)};
127
+
128
+ if (!module)
129
+ {
130
+ return nullptr;
131
+ }
132
+
133
+ auto inspectable_meta_type = py::get_inspectable_meta_type();
134
+ if (!inspectable_meta_type)
135
+ {
136
+ return nullptr;
137
+ }
138
+
139
+ auto object_type = py::get_object_type();
140
+ if (!object_type)
141
+ {
142
+ return nullptr;
143
+ }
144
+
145
+ py::pyobj_handle object_bases{PyTuple_Pack(1, object_type)};
146
+
147
+ if (!object_bases)
148
+ {
149
+ return nullptr;
150
+ }
151
+
152
+ py::pyobj_handle windows_ui_composition_module{PyImport_ImportModule("winrt._winrt_windows_ui_composition")};
153
+ if (!windows_ui_composition_module)
154
+ {
155
+ return nullptr;
156
+ }
157
+
158
+ py::pyobj_handle windows_ui_composition_CompositionTarget_type{PyObject_GetAttrString(windows_ui_composition_module.get(), "CompositionTarget")};
159
+ if (!windows_ui_composition_CompositionTarget_type)
160
+ {
161
+ return nullptr;
162
+ }
163
+
164
+ py::pyobj_handle DesktopWindowTarget_bases{PyTuple_Pack(1, windows_ui_composition_CompositionTarget_type.get())};
165
+ if (!DesktopWindowTarget_bases)
166
+ {
167
+ return nullptr;
168
+ }
169
+
170
+ py::pytype_handle DesktopWindowTarget_type{py::register_python_type(module.get(), &type_spec_DesktopWindowTarget, DesktopWindowTarget_bases.get(), inspectable_meta_type)};
171
+ if (!DesktopWindowTarget_type)
172
+ {
173
+ return nullptr;
174
+ }
175
+
176
+
177
+ return module.detach();
178
+ }
@@ -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.14"
19
+ requires-python = ">=3.9"
20
20
 
21
21
  [project.urls]
22
22
  # Homepage = "https://github.com/pywinrt/pywinrt"
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
34
34
 
35
35
  [tool.cibuildwheel]
36
36
  # use local winrt-sdk build dependency
37
- environment = { PYTHONPATH="../winrt-sdk/src" }
37
+ environment = { PYTHONPATH="../../winrt-sdk/src" }
38
38
  # don't install winrt-sdk from PyPI
39
39
  build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
40
40
  before-build = "uv pip install setuptools"
@@ -0,0 +1,4 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
2
+
3
+ winrt-runtime==3.0.0
4
+ winrt-Windows.UI.Composition==3.0.0
@@ -19,7 +19,7 @@ class build_ext_ex(build_ext):
19
19
 
20
20
 
21
21
  setup(
22
- cmdclass = {'build_ext': build_ext_ex},
22
+ cmdclass={"build_ext": build_ext_ex},
23
23
  ext_modules=[
24
24
  Extension(
25
25
  "winrt._winrt_windows_ui_composition_desktop",
@@ -0,0 +1,21 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.ui.composition as windows_ui_composition
13
+
14
+ Self = typing.TypeVar('Self')
15
+
16
+ @typing.final
17
+ class DesktopWindowTarget(windows_ui_composition.CompositionTarget):
18
+ # System.Boolean Windows.UI.Composition.Desktop.DesktopWindowTarget::get_IsTopmost()
19
+ @_property
20
+ def is_topmost(self) -> bool: ...
21
+
@@ -0,0 +1,11 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
2
+
3
+ import winrt.system
4
+ from winrt._winrt_windows_ui_composition_desktop import (
5
+ DesktopWindowTarget,
6
+ )
7
+
8
+ __all__ = [
9
+ "DesktopWindowTarget",
10
+ ]
11
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.UI.Composition.Desktop
3
- Version: 2.3.0
3
+ Version: 3.0.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,13 +10,12 @@ 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.14,>=3.9
13
+ Requires-Python: >=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.3.0
15
+ Requires-Dist: winrt-runtime==3.0.0
16
+ Requires-Dist: winrt-Windows.UI.Composition==3.0.0
16
17
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.System[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.Core[all]==2.3.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.UI.Composition[all]==3.0.0; extra == "all"
20
19
 
21
20
  <!-- warning: Please don't edit this file. It was automatically generated. -->
22
21
 
@@ -0,0 +1,5 @@
1
+ winrt-runtime==3.0.0
2
+ winrt-Windows.UI.Composition==3.0.0
3
+
4
+ [all]
5
+ winrt-Windows.UI.Composition[all]==3.0.0
@@ -1,5 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
-
3
- winrt-Windows.System[all]==2.3.0
4
- winrt-Windows.UI.Composition[all]==2.3.0
5
- winrt-Windows.UI.Core[all]==2.3.0
@@ -1,756 +0,0 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
-
3
- #include "py.Windows.UI.Composition.Desktop.h"
4
-
5
- namespace py::cpp::Windows::UI::Composition::Desktop
6
- {
7
- // ----- DesktopWindowTarget class --------------------
8
-
9
- static PyObject* _new_DesktopWindowTarget(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
10
- {
11
- static_assert(py::py_type<winrt::Windows::UI::Composition::Desktop::DesktopWindowTarget>::type_name);
12
- py::set_invalid_activation_error(py::py_type<winrt::Windows::UI::Composition::Desktop::DesktopWindowTarget>::type_name);
13
- return nullptr;
14
- }
15
-
16
- static void _dealloc_DesktopWindowTarget(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self) noexcept
17
- {
18
- auto tp = Py_TYPE(self);
19
- std::destroy_at(&self->obj);
20
- tp->tp_free(self);
21
- Py_DECREF(tp);
22
- }
23
-
24
- static PyObject* DesktopWindowTarget_Close(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, PyObject* args) noexcept
25
- {
26
- auto arg_count = PyTuple_Size(args);
27
-
28
- if (arg_count == 0)
29
- {
30
- try
31
- {
32
- static std::optional<bool> is_overload_present{};
33
-
34
- if (!is_overload_present.has_value())
35
- {
36
- is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Composition.CompositionObject", L"Close", 0);
37
- }
38
-
39
- if (!is_overload_present.value())
40
- {
41
- py::set_arg_count_version_error(0);
42
- return nullptr;
43
- }
44
-
45
- self->obj.Close();
46
- Py_RETURN_NONE;
47
- }
48
- catch (...)
49
- {
50
- py::to_PyErr();
51
- return nullptr;
52
- }
53
- }
54
- else
55
- {
56
- py::set_invalid_arg_count_error(arg_count);
57
- return nullptr;
58
- }
59
- }
60
-
61
- static PyObject* DesktopWindowTarget_PopulatePropertyInfo(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, PyObject* args) noexcept
62
- {
63
- auto arg_count = PyTuple_Size(args);
64
-
65
- if (arg_count == 2)
66
- {
67
- try
68
- {
69
- static std::optional<bool> is_overload_present{};
70
-
71
- if (!is_overload_present.has_value())
72
- {
73
- is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Composition.CompositionObject", L"PopulatePropertyInfo", 2);
74
- }
75
-
76
- if (!is_overload_present.value())
77
- {
78
- py::set_arg_count_version_error(2);
79
- return nullptr;
80
- }
81
-
82
- auto param0 = py::convert_to<winrt::hstring>(args, 0);
83
- auto param1 = py::convert_to<winrt::Windows::UI::Composition::AnimationPropertyInfo>(args, 1);
84
-
85
- self->obj.PopulatePropertyInfo(param0, param1);
86
- Py_RETURN_NONE;
87
- }
88
- catch (...)
89
- {
90
- py::to_PyErr();
91
- return nullptr;
92
- }
93
- }
94
- else
95
- {
96
- py::set_invalid_arg_count_error(arg_count);
97
- return nullptr;
98
- }
99
- }
100
-
101
- static PyObject* DesktopWindowTarget_StartAnimation(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, PyObject* args) noexcept
102
- {
103
- auto arg_count = PyTuple_Size(args);
104
-
105
- if (arg_count == 2)
106
- {
107
- try
108
- {
109
- static std::optional<bool> is_overload_present{};
110
-
111
- if (!is_overload_present.has_value())
112
- {
113
- is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Composition.CompositionObject", L"StartAnimation", 2);
114
- }
115
-
116
- if (!is_overload_present.value())
117
- {
118
- py::set_arg_count_version_error(2);
119
- return nullptr;
120
- }
121
-
122
- auto param0 = py::convert_to<winrt::hstring>(args, 0);
123
- auto param1 = py::convert_to<winrt::Windows::UI::Composition::CompositionAnimation>(args, 1);
124
-
125
- self->obj.StartAnimation(param0, param1);
126
- Py_RETURN_NONE;
127
- }
128
- catch (...)
129
- {
130
- py::to_PyErr();
131
- return nullptr;
132
- }
133
- }
134
- else if (arg_count == 3)
135
- {
136
- try
137
- {
138
- static std::optional<bool> is_overload_present{};
139
-
140
- if (!is_overload_present.has_value())
141
- {
142
- is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Composition.CompositionObject", L"StartAnimation", 3);
143
- }
144
-
145
- if (!is_overload_present.value())
146
- {
147
- py::set_arg_count_version_error(3);
148
- return nullptr;
149
- }
150
-
151
- auto param0 = py::convert_to<winrt::hstring>(args, 0);
152
- auto param1 = py::convert_to<winrt::Windows::UI::Composition::CompositionAnimation>(args, 1);
153
- auto param2 = py::convert_to<winrt::Windows::UI::Composition::AnimationController>(args, 2);
154
-
155
- self->obj.StartAnimation(param0, param1, param2);
156
- Py_RETURN_NONE;
157
- }
158
- catch (...)
159
- {
160
- py::to_PyErr();
161
- return nullptr;
162
- }
163
- }
164
- else
165
- {
166
- py::set_invalid_arg_count_error(arg_count);
167
- return nullptr;
168
- }
169
- }
170
-
171
- static PyObject* DesktopWindowTarget_StartAnimationGroup(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, PyObject* args) noexcept
172
- {
173
- auto arg_count = PyTuple_Size(args);
174
-
175
- if (arg_count == 1)
176
- {
177
- try
178
- {
179
- static std::optional<bool> is_overload_present{};
180
-
181
- if (!is_overload_present.has_value())
182
- {
183
- is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Composition.CompositionObject", L"StartAnimationGroup", 1);
184
- }
185
-
186
- if (!is_overload_present.value())
187
- {
188
- py::set_arg_count_version_error(1);
189
- return nullptr;
190
- }
191
-
192
- auto param0 = py::convert_to<winrt::Windows::UI::Composition::ICompositionAnimationBase>(args, 0);
193
-
194
- self->obj.StartAnimationGroup(param0);
195
- Py_RETURN_NONE;
196
- }
197
- catch (...)
198
- {
199
- py::to_PyErr();
200
- return nullptr;
201
- }
202
- }
203
- else
204
- {
205
- py::set_invalid_arg_count_error(arg_count);
206
- return nullptr;
207
- }
208
- }
209
-
210
- static PyObject* DesktopWindowTarget_StopAnimation(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, PyObject* args) noexcept
211
- {
212
- auto arg_count = PyTuple_Size(args);
213
-
214
- if (arg_count == 1)
215
- {
216
- try
217
- {
218
- static std::optional<bool> is_overload_present{};
219
-
220
- if (!is_overload_present.has_value())
221
- {
222
- is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Composition.CompositionObject", L"StopAnimation", 1);
223
- }
224
-
225
- if (!is_overload_present.value())
226
- {
227
- py::set_arg_count_version_error(1);
228
- return nullptr;
229
- }
230
-
231
- auto param0 = py::convert_to<winrt::hstring>(args, 0);
232
-
233
- self->obj.StopAnimation(param0);
234
- Py_RETURN_NONE;
235
- }
236
- catch (...)
237
- {
238
- py::to_PyErr();
239
- return nullptr;
240
- }
241
- }
242
- else
243
- {
244
- py::set_invalid_arg_count_error(arg_count);
245
- return nullptr;
246
- }
247
- }
248
-
249
- static PyObject* DesktopWindowTarget_StopAnimationGroup(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, PyObject* args) noexcept
250
- {
251
- auto arg_count = PyTuple_Size(args);
252
-
253
- if (arg_count == 1)
254
- {
255
- try
256
- {
257
- static std::optional<bool> is_overload_present{};
258
-
259
- if (!is_overload_present.has_value())
260
- {
261
- is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Composition.CompositionObject", L"StopAnimationGroup", 1);
262
- }
263
-
264
- if (!is_overload_present.value())
265
- {
266
- py::set_arg_count_version_error(1);
267
- return nullptr;
268
- }
269
-
270
- auto param0 = py::convert_to<winrt::Windows::UI::Composition::ICompositionAnimationBase>(args, 0);
271
-
272
- self->obj.StopAnimationGroup(param0);
273
- Py_RETURN_NONE;
274
- }
275
- catch (...)
276
- {
277
- py::to_PyErr();
278
- return nullptr;
279
- }
280
- }
281
- else
282
- {
283
- py::set_invalid_arg_count_error(arg_count);
284
- return nullptr;
285
- }
286
- }
287
-
288
- static PyObject* DesktopWindowTarget_TryGetAnimationController(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, PyObject* args) noexcept
289
- {
290
- auto arg_count = PyTuple_Size(args);
291
-
292
- if (arg_count == 1)
293
- {
294
- try
295
- {
296
- static std::optional<bool> is_overload_present{};
297
-
298
- if (!is_overload_present.has_value())
299
- {
300
- is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Composition.CompositionObject", L"TryGetAnimationController", 1);
301
- }
302
-
303
- if (!is_overload_present.value())
304
- {
305
- py::set_arg_count_version_error(1);
306
- return nullptr;
307
- }
308
-
309
- auto param0 = py::convert_to<winrt::hstring>(args, 0);
310
-
311
- return py::convert(self->obj.TryGetAnimationController(param0));
312
- }
313
- catch (...)
314
- {
315
- py::to_PyErr();
316
- return nullptr;
317
- }
318
- }
319
- else
320
- {
321
- py::set_invalid_arg_count_error(arg_count);
322
- return nullptr;
323
- }
324
- }
325
-
326
- static PyObject* DesktopWindowTarget_get_IsTopmost(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, void* /*unused*/) noexcept
327
- {
328
- try
329
- {
330
- static std::optional<bool> is_property_present{};
331
-
332
- if (!is_property_present.has_value())
333
- {
334
- is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Desktop.DesktopWindowTarget", L"IsTopmost");
335
- }
336
-
337
- if (!is_property_present.value())
338
- {
339
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
340
- return nullptr;
341
- }
342
-
343
- return py::convert(self->obj.IsTopmost());
344
- }
345
- catch (...)
346
- {
347
- py::to_PyErr();
348
- return nullptr;
349
- }
350
- }
351
-
352
- static PyObject* DesktopWindowTarget_get_Root(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, void* /*unused*/) noexcept
353
- {
354
- try
355
- {
356
- static std::optional<bool> is_property_present{};
357
-
358
- if (!is_property_present.has_value())
359
- {
360
- is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.CompositionTarget", L"Root");
361
- }
362
-
363
- if (!is_property_present.value())
364
- {
365
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
366
- return nullptr;
367
- }
368
-
369
- return py::convert(self->obj.Root());
370
- }
371
- catch (...)
372
- {
373
- py::to_PyErr();
374
- return nullptr;
375
- }
376
- }
377
-
378
- static int DesktopWindowTarget_put_Root(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, PyObject* arg, void* /*unused*/) noexcept
379
- {
380
- if (arg == nullptr)
381
- {
382
- PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
383
- return -1;
384
- }
385
-
386
- try
387
- {
388
- static std::optional<bool> is_property_present{};
389
-
390
- if (!is_property_present.has_value())
391
- {
392
- is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.CompositionTarget", L"Root");
393
- }
394
-
395
- if (!is_property_present.value())
396
- {
397
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
398
- return -1;
399
- }
400
-
401
- auto param0 = py::convert_to<winrt::Windows::UI::Composition::Visual>(arg);
402
-
403
- self->obj.Root(param0);
404
- return 0;
405
- }
406
- catch (...)
407
- {
408
- py::to_PyErr();
409
- return -1;
410
- }
411
- }
412
-
413
- static PyObject* DesktopWindowTarget_get_Compositor(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, void* /*unused*/) noexcept
414
- {
415
- try
416
- {
417
- static std::optional<bool> is_property_present{};
418
-
419
- if (!is_property_present.has_value())
420
- {
421
- is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.CompositionObject", L"Compositor");
422
- }
423
-
424
- if (!is_property_present.value())
425
- {
426
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
427
- return nullptr;
428
- }
429
-
430
- return py::convert(self->obj.Compositor());
431
- }
432
- catch (...)
433
- {
434
- py::to_PyErr();
435
- return nullptr;
436
- }
437
- }
438
-
439
- static PyObject* DesktopWindowTarget_get_Dispatcher(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, void* /*unused*/) noexcept
440
- {
441
- try
442
- {
443
- static std::optional<bool> is_property_present{};
444
-
445
- if (!is_property_present.has_value())
446
- {
447
- is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.CompositionObject", L"Dispatcher");
448
- }
449
-
450
- if (!is_property_present.value())
451
- {
452
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
453
- return nullptr;
454
- }
455
-
456
- return py::convert(self->obj.Dispatcher());
457
- }
458
- catch (...)
459
- {
460
- py::to_PyErr();
461
- return nullptr;
462
- }
463
- }
464
-
465
- static PyObject* DesktopWindowTarget_get_Properties(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, void* /*unused*/) noexcept
466
- {
467
- try
468
- {
469
- static std::optional<bool> is_property_present{};
470
-
471
- if (!is_property_present.has_value())
472
- {
473
- is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.CompositionObject", L"Properties");
474
- }
475
-
476
- if (!is_property_present.value())
477
- {
478
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
479
- return nullptr;
480
- }
481
-
482
- return py::convert(self->obj.Properties());
483
- }
484
- catch (...)
485
- {
486
- py::to_PyErr();
487
- return nullptr;
488
- }
489
- }
490
-
491
- static PyObject* DesktopWindowTarget_get_ImplicitAnimations(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, void* /*unused*/) noexcept
492
- {
493
- try
494
- {
495
- static std::optional<bool> is_property_present{};
496
-
497
- if (!is_property_present.has_value())
498
- {
499
- is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.CompositionObject", L"ImplicitAnimations");
500
- }
501
-
502
- if (!is_property_present.value())
503
- {
504
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
505
- return nullptr;
506
- }
507
-
508
- return py::convert(self->obj.ImplicitAnimations());
509
- }
510
- catch (...)
511
- {
512
- py::to_PyErr();
513
- return nullptr;
514
- }
515
- }
516
-
517
- static int DesktopWindowTarget_put_ImplicitAnimations(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, PyObject* arg, void* /*unused*/) noexcept
518
- {
519
- if (arg == nullptr)
520
- {
521
- PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
522
- return -1;
523
- }
524
-
525
- try
526
- {
527
- static std::optional<bool> is_property_present{};
528
-
529
- if (!is_property_present.has_value())
530
- {
531
- is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.CompositionObject", L"ImplicitAnimations");
532
- }
533
-
534
- if (!is_property_present.value())
535
- {
536
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
537
- return -1;
538
- }
539
-
540
- auto param0 = py::convert_to<winrt::Windows::UI::Composition::ImplicitAnimationCollection>(arg);
541
-
542
- self->obj.ImplicitAnimations(param0);
543
- return 0;
544
- }
545
- catch (...)
546
- {
547
- py::to_PyErr();
548
- return -1;
549
- }
550
- }
551
-
552
- static PyObject* DesktopWindowTarget_get_Comment(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, void* /*unused*/) noexcept
553
- {
554
- try
555
- {
556
- static std::optional<bool> is_property_present{};
557
-
558
- if (!is_property_present.has_value())
559
- {
560
- is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.CompositionObject", L"Comment");
561
- }
562
-
563
- if (!is_property_present.value())
564
- {
565
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
566
- return nullptr;
567
- }
568
-
569
- return py::convert(self->obj.Comment());
570
- }
571
- catch (...)
572
- {
573
- py::to_PyErr();
574
- return nullptr;
575
- }
576
- }
577
-
578
- static int DesktopWindowTarget_put_Comment(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, PyObject* arg, void* /*unused*/) noexcept
579
- {
580
- if (arg == nullptr)
581
- {
582
- PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
583
- return -1;
584
- }
585
-
586
- try
587
- {
588
- static std::optional<bool> is_property_present{};
589
-
590
- if (!is_property_present.has_value())
591
- {
592
- is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.CompositionObject", L"Comment");
593
- }
594
-
595
- if (!is_property_present.value())
596
- {
597
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
598
- return -1;
599
- }
600
-
601
- auto param0 = py::convert_to<winrt::hstring>(arg);
602
-
603
- self->obj.Comment(param0);
604
- return 0;
605
- }
606
- catch (...)
607
- {
608
- py::to_PyErr();
609
- return -1;
610
- }
611
- }
612
-
613
- static PyObject* DesktopWindowTarget_get_DispatcherQueue(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget* self, void* /*unused*/) noexcept
614
- {
615
- try
616
- {
617
- static std::optional<bool> is_property_present{};
618
-
619
- if (!is_property_present.has_value())
620
- {
621
- is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.CompositionObject", L"DispatcherQueue");
622
- }
623
-
624
- if (!is_property_present.value())
625
- {
626
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
627
- return nullptr;
628
- }
629
-
630
- return py::convert(self->obj.DispatcherQueue());
631
- }
632
- catch (...)
633
- {
634
- py::to_PyErr();
635
- return nullptr;
636
- }
637
- }
638
-
639
- static PyObject* _assign_array_DesktopWindowTarget(PyObject* /*unused*/, PyObject* arg) noexcept
640
- {
641
- auto array = std::make_unique<py::ComArray<winrt::Windows::UI::Composition::Desktop::DesktopWindowTarget>>();
642
- if (!py::cpp::_winrt::Array_Assign(arg, std::move(array)))
643
- {
644
- return nullptr;
645
- }
646
- Py_RETURN_NONE;
647
- }
648
-
649
- static PyObject* _from_DesktopWindowTarget(PyObject* /*unused*/, PyObject* arg) noexcept
650
- {
651
- try
652
- {
653
- auto return_value = py::convert_to<winrt::Windows::Foundation::IInspectable>(arg);
654
- return py::convert(return_value.as<winrt::Windows::UI::Composition::Desktop::DesktopWindowTarget>());
655
- }
656
- catch (...)
657
- {
658
- py::to_PyErr();
659
- return nullptr;
660
- }
661
- }
662
-
663
- static PyMethodDef _methods_DesktopWindowTarget[] = {
664
- { "close", reinterpret_cast<PyCFunction>(DesktopWindowTarget_Close), METH_VARARGS, nullptr },
665
- { "populate_property_info", reinterpret_cast<PyCFunction>(DesktopWindowTarget_PopulatePropertyInfo), METH_VARARGS, nullptr },
666
- { "start_animation", reinterpret_cast<PyCFunction>(DesktopWindowTarget_StartAnimation), METH_VARARGS, nullptr },
667
- { "start_animation_group", reinterpret_cast<PyCFunction>(DesktopWindowTarget_StartAnimationGroup), METH_VARARGS, nullptr },
668
- { "stop_animation", reinterpret_cast<PyCFunction>(DesktopWindowTarget_StopAnimation), METH_VARARGS, nullptr },
669
- { "stop_animation_group", reinterpret_cast<PyCFunction>(DesktopWindowTarget_StopAnimationGroup), METH_VARARGS, nullptr },
670
- { "try_get_animation_controller", reinterpret_cast<PyCFunction>(DesktopWindowTarget_TryGetAnimationController), METH_VARARGS, nullptr },
671
- { "_assign_array_", _assign_array_DesktopWindowTarget, METH_O | METH_STATIC, nullptr },
672
- { "_from", reinterpret_cast<PyCFunction>(_from_DesktopWindowTarget), METH_O | METH_STATIC, nullptr },
673
- { }
674
- };
675
-
676
- static PyGetSetDef _getset_DesktopWindowTarget[] = {
677
- { "is_topmost", reinterpret_cast<getter>(DesktopWindowTarget_get_IsTopmost), nullptr, nullptr, nullptr },
678
- { "root", reinterpret_cast<getter>(DesktopWindowTarget_get_Root), reinterpret_cast<setter>(DesktopWindowTarget_put_Root), nullptr, nullptr },
679
- { "compositor", reinterpret_cast<getter>(DesktopWindowTarget_get_Compositor), nullptr, nullptr, nullptr },
680
- { "dispatcher", reinterpret_cast<getter>(DesktopWindowTarget_get_Dispatcher), nullptr, nullptr, nullptr },
681
- { "properties", reinterpret_cast<getter>(DesktopWindowTarget_get_Properties), nullptr, nullptr, nullptr },
682
- { "implicit_animations", reinterpret_cast<getter>(DesktopWindowTarget_get_ImplicitAnimations), reinterpret_cast<setter>(DesktopWindowTarget_put_ImplicitAnimations), nullptr, nullptr },
683
- { "comment", reinterpret_cast<getter>(DesktopWindowTarget_get_Comment), reinterpret_cast<setter>(DesktopWindowTarget_put_Comment), nullptr, nullptr },
684
- { "dispatcher_queue", reinterpret_cast<getter>(DesktopWindowTarget_get_DispatcherQueue), nullptr, nullptr, nullptr },
685
- { }
686
- };
687
-
688
- static PyType_Slot _type_slots_DesktopWindowTarget[] = {
689
- { Py_tp_new, reinterpret_cast<void*>(_new_DesktopWindowTarget) },
690
- { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_DesktopWindowTarget) },
691
- { Py_tp_methods, reinterpret_cast<void*>(_methods_DesktopWindowTarget) },
692
- { Py_tp_getset, reinterpret_cast<void*>(_getset_DesktopWindowTarget) },
693
- { }
694
- };
695
-
696
- static PyType_Spec type_spec_DesktopWindowTarget = {
697
- "winrt._winrt_windows_ui_composition_desktop.DesktopWindowTarget",
698
- sizeof(py::wrapper::Windows::UI::Composition::Desktop::DesktopWindowTarget),
699
- 0,
700
- Py_TPFLAGS_DEFAULT,
701
- _type_slots_DesktopWindowTarget};
702
-
703
- // ----- Windows.UI.Composition.Desktop Initialization --------------------
704
-
705
- PyDoc_STRVAR(module_doc, "Windows.UI.Composition.Desktop");
706
-
707
- static PyModuleDef module_def = {
708
- PyModuleDef_HEAD_INIT,
709
- "_winrt_windows_ui_composition_desktop",
710
- module_doc,
711
- 0,
712
- nullptr,
713
- nullptr,
714
- nullptr,
715
- nullptr,
716
- nullptr};
717
- } // py::cpp::Windows::UI::Composition::Desktop
718
-
719
- PyMODINIT_FUNC PyInit__winrt_windows_ui_composition_desktop(void) noexcept
720
- {
721
- using namespace py::cpp::Windows::UI::Composition::Desktop;
722
-
723
- if (py::import_winrt_runtime() == -1)
724
- {
725
- return nullptr;
726
- }
727
-
728
- py::pyobj_handle module{PyModule_Create(&module_def)};
729
-
730
- if (!module)
731
- {
732
- return nullptr;
733
- }
734
-
735
- auto object_type = py::get_object_type();
736
- if (!object_type)
737
- {
738
- return nullptr;
739
- }
740
-
741
- py::pyobj_handle object_bases{PyTuple_Pack(1, object_type)};
742
-
743
- if (!object_bases)
744
- {
745
- return nullptr;
746
- }
747
-
748
- py::pytype_handle DesktopWindowTarget_type{py::register_python_type(module.get(), &type_spec_DesktopWindowTarget, object_bases.get(), nullptr)};
749
- if (!DesktopWindowTarget_type)
750
- {
751
- return nullptr;
752
- }
753
-
754
-
755
- return module.detach();
756
- }
@@ -1,54 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
-
3
- import datetime
4
- import sys
5
- import types
6
- import typing
7
- import uuid as _uuid
8
- from builtins import property as _property
9
-
10
- import winrt._winrt
11
- import winrt.system
12
- import winrt.windows.system as windows_system
13
- import winrt.windows.ui.composition as windows_ui_composition
14
- import winrt.windows.ui.core as windows_ui_core
15
-
16
- Self = typing.TypeVar('Self')
17
-
18
- @typing.final
19
- class DesktopWindowTarget(winrt.system.Object):
20
- @staticmethod
21
- def _from(obj: winrt.system.Object, /) -> DesktopWindowTarget: ...
22
- def close(self) -> None: ...
23
- def populate_property_info(self, property_name: str, property_info: typing.Optional[windows_ui_composition.AnimationPropertyInfo], /) -> None: ...
24
- @typing.overload
25
- def start_animation(self, property_name: str, animation: typing.Optional[windows_ui_composition.CompositionAnimation], /) -> None: ...
26
- @typing.overload
27
- def start_animation(self, property_name: str, animation: typing.Optional[windows_ui_composition.CompositionAnimation], animation_controller: typing.Optional[windows_ui_composition.AnimationController], /) -> None: ...
28
- def start_animation_group(self, value: typing.Optional[windows_ui_composition.ICompositionAnimationBase], /) -> None: ...
29
- def stop_animation(self, property_name: str, /) -> None: ...
30
- def stop_animation_group(self, value: typing.Optional[windows_ui_composition.ICompositionAnimationBase], /) -> None: ...
31
- def try_get_animation_controller(self, property_name: str, /) -> typing.Optional[windows_ui_composition.AnimationController]: ...
32
- @_property
33
- def is_topmost(self) -> bool: ...
34
- @_property
35
- def root(self) -> typing.Optional[windows_ui_composition.Visual]: ...
36
- @root.setter
37
- def root(self, value: typing.Optional[windows_ui_composition.Visual]) -> None: ...
38
- @_property
39
- def compositor(self) -> typing.Optional[windows_ui_composition.Compositor]: ...
40
- @_property
41
- def dispatcher(self) -> typing.Optional[windows_ui_core.CoreDispatcher]: ...
42
- @_property
43
- def properties(self) -> typing.Optional[windows_ui_composition.CompositionPropertySet]: ...
44
- @_property
45
- def implicit_animations(self) -> typing.Optional[windows_ui_composition.ImplicitAnimationCollection]: ...
46
- @implicit_animations.setter
47
- def implicit_animations(self, value: typing.Optional[windows_ui_composition.ImplicitAnimationCollection]) -> None: ...
48
- @_property
49
- def comment(self) -> str: ...
50
- @comment.setter
51
- def comment(self, value: str) -> None: ...
52
- @_property
53
- def dispatcher_queue(self) -> typing.Optional[windows_system.DispatcherQueue]: ...
54
-
@@ -1,10 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
-
3
- import winrt.system
4
- from winrt import _winrt_windows_ui_composition_desktop
5
-
6
- __all__ = [
7
- "DesktopWindowTarget",
8
- ]
9
-
10
- DesktopWindowTarget = _winrt_windows_ui_composition_desktop.DesktopWindowTarget
@@ -1,6 +0,0 @@
1
- winrt-runtime==2.3.0
2
-
3
- [all]
4
- winrt-Windows.System[all]==2.3.0
5
- winrt-Windows.UI.Composition[all]==2.3.0
6
- winrt-Windows.UI.Core[all]==2.3.0