winrt-Windows.UI.Input.Core 2.2.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.
- {winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/PKG-INFO +7 -7
- winrt_windows_ui_input_core-3.0.0/all-requirements.txt +6 -0
- {winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/py.Windows.UI.Input.Core.cpp +42 -21
- {winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/pyproject.toml +2 -2
- winrt_windows_ui_input_core-3.0.0/pywinrt-version.txt +1 -0
- {winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/requirements.txt +2 -2
- {winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/setup.py +1 -1
- winrt_windows_ui_input_core-3.0.0/winrt/_winrt_windows_ui_input_core.pyi +35 -0
- winrt_windows_ui_input_core-3.0.0/winrt/windows/ui/input/core/__init__.py +11 -0
- {winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/winrt_Windows.UI.Input.Core.egg-info/PKG-INFO +7 -7
- winrt_windows_ui_input_core-3.0.0/winrt_Windows.UI.Input.Core.egg-info/requires.txt +7 -0
- winrt_windows_ui_input_core-2.2.0/all-requirements.txt +0 -6
- winrt_windows_ui_input_core-2.2.0/pywinrt-version.txt +0 -1
- winrt_windows_ui_input_core-2.2.0/winrt/_winrt_windows_ui_input_core.pyi +0 -33
- winrt_windows_ui_input_core-2.2.0/winrt/windows/ui/input/core/__init__.py +0 -10
- winrt_windows_ui_input_core-2.2.0/winrt_Windows.UI.Input.Core.egg-info/requires.txt +0 -7
- {winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/README.md +0 -0
- {winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/setup.cfg +0 -0
- {winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/winrt/windows/ui/input/core/py.typed +0 -0
- {winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/winrt_Windows.UI.Input.Core.egg-info/SOURCES.txt +0 -0
- {winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/winrt_Windows.UI.Input.Core.egg-info/dependency_links.txt +0 -0
- {winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/winrt_Windows.UI.Input.Core.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Input.Core
|
|
3
|
-
Version:
|
|
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,14 +10,14 @@ 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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Core[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.System[all]==
|
|
19
|
-
Requires-Dist: winrt-Windows.UI.Core[all]==
|
|
20
|
-
Requires-Dist: winrt-Windows.UI.Input[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Core[all]==3.0.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.System[all]==3.0.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.UI.Core[all]==3.0.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI.Input[all]==3.0.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
{winrt_windows_ui_input_core-2.2.0 → winrt_windows_ui_input_core-3.0.0}/py.Windows.UI.Input.Core.cpp
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.UI.Input.Core.h"
|
|
4
4
|
|
|
@@ -23,7 +23,7 @@ namespace py::cpp::Windows::UI::Input::Core
|
|
|
23
23
|
|
|
24
24
|
static PyObject* RadialControllerIndependentInputSource_CreateForView(PyObject* /*unused*/, PyObject* args) noexcept
|
|
25
25
|
{
|
|
26
|
-
auto arg_count =
|
|
26
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
27
27
|
|
|
28
28
|
if (arg_count == 1)
|
|
29
29
|
{
|
|
@@ -44,7 +44,11 @@ namespace py::cpp::Windows::UI::Input::Core
|
|
|
44
44
|
|
|
45
45
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::Core::CoreApplicationView>(args, 0);
|
|
46
46
|
|
|
47
|
-
return py::convert(
|
|
47
|
+
return py::convert([&]()
|
|
48
|
+
{
|
|
49
|
+
auto _gil = release_gil();
|
|
50
|
+
return winrt::Windows::UI::Input::Core::RadialControllerIndependentInputSource::CreateForView(param0);
|
|
51
|
+
}());
|
|
48
52
|
}
|
|
49
53
|
catch (...)
|
|
50
54
|
{
|
|
@@ -76,7 +80,11 @@ namespace py::cpp::Windows::UI::Input::Core
|
|
|
76
80
|
return nullptr;
|
|
77
81
|
}
|
|
78
82
|
|
|
79
|
-
return py::convert(
|
|
83
|
+
return py::convert([&]()
|
|
84
|
+
{
|
|
85
|
+
auto _gil = release_gil();
|
|
86
|
+
return self->obj.Controller();
|
|
87
|
+
}());
|
|
80
88
|
}
|
|
81
89
|
catch (...)
|
|
82
90
|
{
|
|
@@ -102,7 +110,11 @@ namespace py::cpp::Windows::UI::Input::Core
|
|
|
102
110
|
return nullptr;
|
|
103
111
|
}
|
|
104
112
|
|
|
105
|
-
return py::convert(
|
|
113
|
+
return py::convert([&]()
|
|
114
|
+
{
|
|
115
|
+
auto _gil = release_gil();
|
|
116
|
+
return self->obj.Dispatcher();
|
|
117
|
+
}());
|
|
106
118
|
}
|
|
107
119
|
catch (...)
|
|
108
120
|
{
|
|
@@ -128,7 +140,11 @@ namespace py::cpp::Windows::UI::Input::Core
|
|
|
128
140
|
return nullptr;
|
|
129
141
|
}
|
|
130
142
|
|
|
131
|
-
return py::convert(
|
|
143
|
+
return py::convert([&]()
|
|
144
|
+
{
|
|
145
|
+
auto _gil = release_gil();
|
|
146
|
+
return self->obj.DispatcherQueue();
|
|
147
|
+
}());
|
|
132
148
|
}
|
|
133
149
|
catch (...)
|
|
134
150
|
{
|
|
@@ -164,23 +180,20 @@ namespace py::cpp::Windows::UI::Input::Core
|
|
|
164
180
|
static PyMethodDef _methods_RadialControllerIndependentInputSource[] = {
|
|
165
181
|
{ "_assign_array_", _assign_array_RadialControllerIndependentInputSource, METH_O | METH_STATIC, nullptr },
|
|
166
182
|
{ "_from", reinterpret_cast<PyCFunction>(_from_RadialControllerIndependentInputSource), METH_O | METH_STATIC, nullptr },
|
|
167
|
-
{ }
|
|
168
|
-
};
|
|
183
|
+
{ }};
|
|
169
184
|
|
|
170
185
|
static PyGetSetDef _getset_RadialControllerIndependentInputSource[] = {
|
|
171
186
|
{ "controller", reinterpret_cast<getter>(RadialControllerIndependentInputSource_get_Controller), nullptr, nullptr, nullptr },
|
|
172
187
|
{ "dispatcher", reinterpret_cast<getter>(RadialControllerIndependentInputSource_get_Dispatcher), nullptr, nullptr, nullptr },
|
|
173
188
|
{ "dispatcher_queue", reinterpret_cast<getter>(RadialControllerIndependentInputSource_get_DispatcherQueue), nullptr, nullptr, nullptr },
|
|
174
|
-
{ }
|
|
175
|
-
};
|
|
189
|
+
{ }};
|
|
176
190
|
|
|
177
191
|
static PyType_Slot _type_slots_RadialControllerIndependentInputSource[] = {
|
|
178
192
|
{ Py_tp_new, reinterpret_cast<void*>(_new_RadialControllerIndependentInputSource) },
|
|
179
193
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_RadialControllerIndependentInputSource) },
|
|
180
194
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_RadialControllerIndependentInputSource) },
|
|
181
195
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_RadialControllerIndependentInputSource) },
|
|
182
|
-
{ }
|
|
183
|
-
};
|
|
196
|
+
{ }};
|
|
184
197
|
|
|
185
198
|
static PyType_Spec type_spec_RadialControllerIndependentInputSource = {
|
|
186
199
|
"winrt._winrt_windows_ui_input_core.RadialControllerIndependentInputSource",
|
|
@@ -190,13 +203,11 @@ namespace py::cpp::Windows::UI::Input::Core
|
|
|
190
203
|
_type_slots_RadialControllerIndependentInputSource};
|
|
191
204
|
|
|
192
205
|
static PyGetSetDef getset_RadialControllerIndependentInputSource_Static[] = {
|
|
193
|
-
{ }
|
|
194
|
-
};
|
|
206
|
+
{ }};
|
|
195
207
|
|
|
196
208
|
static PyMethodDef methods_RadialControllerIndependentInputSource_Static[] = {
|
|
197
209
|
{ "create_for_view", reinterpret_cast<PyCFunction>(RadialControllerIndependentInputSource_CreateForView), METH_VARARGS, nullptr },
|
|
198
|
-
{ }
|
|
199
|
-
};
|
|
210
|
+
{ }};
|
|
200
211
|
|
|
201
212
|
static PyType_Slot type_slots_RadialControllerIndependentInputSource_Static[] =
|
|
202
213
|
{
|
|
@@ -206,14 +217,12 @@ namespace py::cpp::Windows::UI::Input::Core
|
|
|
206
217
|
{ }
|
|
207
218
|
};
|
|
208
219
|
|
|
209
|
-
static PyType_Spec type_spec_RadialControllerIndependentInputSource_Static =
|
|
210
|
-
{
|
|
220
|
+
static PyType_Spec type_spec_RadialControllerIndependentInputSource_Static = {
|
|
211
221
|
"winrt._winrt_windows_ui_input_core.RadialControllerIndependentInputSource_Static",
|
|
212
222
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
213
223
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
214
224
|
Py_TPFLAGS_DEFAULT,
|
|
215
|
-
type_slots_RadialControllerIndependentInputSource_Static
|
|
216
|
-
};
|
|
225
|
+
type_slots_RadialControllerIndependentInputSource_Static};
|
|
217
226
|
|
|
218
227
|
// ----- Windows.UI.Input.Core Initialization --------------------
|
|
219
228
|
|
|
@@ -247,6 +256,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_input_core(void) noexcept
|
|
|
247
256
|
return nullptr;
|
|
248
257
|
}
|
|
249
258
|
|
|
259
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
260
|
+
if (!inspectable_meta_type)
|
|
261
|
+
{
|
|
262
|
+
return nullptr;
|
|
263
|
+
}
|
|
264
|
+
|
|
250
265
|
auto object_type = py::get_object_type();
|
|
251
266
|
if (!object_type)
|
|
252
267
|
{
|
|
@@ -260,7 +275,13 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_input_core(void) noexcept
|
|
|
260
275
|
return nullptr;
|
|
261
276
|
}
|
|
262
277
|
|
|
263
|
-
py::pyobj_handle
|
|
278
|
+
py::pyobj_handle RadialControllerIndependentInputSource_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
279
|
+
if (!RadialControllerIndependentInputSource_Static_bases)
|
|
280
|
+
{
|
|
281
|
+
return nullptr;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
py::pyobj_handle type_RadialControllerIndependentInputSource_Static{PyType_FromSpecWithBases(&type_spec_RadialControllerIndependentInputSource_Static, RadialControllerIndependentInputSource_Static_bases.get())};
|
|
264
285
|
if (!type_RadialControllerIndependentInputSource_Static)
|
|
265
286
|
{
|
|
266
287
|
return nullptr;
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
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="
|
|
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 @@
|
|
|
1
|
+
3.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.0.0
|
|
@@ -0,0 +1,35 @@
|
|
|
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.applicationmodel.core as windows_applicationmodel_core
|
|
13
|
+
import winrt.windows.system as windows_system
|
|
14
|
+
import winrt.windows.ui.core as windows_ui_core
|
|
15
|
+
import winrt.windows.ui.input as windows_ui_input
|
|
16
|
+
|
|
17
|
+
Self = typing.TypeVar('Self')
|
|
18
|
+
|
|
19
|
+
@typing.final
|
|
20
|
+
class RadialControllerIndependentInputSource_Static(winrt._winrt.IInspectable_Static):
|
|
21
|
+
# Windows.UI.Input.Core.RadialControllerIndependentInputSource Windows.UI.Input.Core.RadialControllerIndependentInputSource::CreateForView(Windows.ApplicationModel.Core.CoreApplicationView)
|
|
22
|
+
def create_for_view(cls, view: windows_applicationmodel_core.CoreApplicationView, /) -> RadialControllerIndependentInputSource: ...
|
|
23
|
+
|
|
24
|
+
@typing.final
|
|
25
|
+
class RadialControllerIndependentInputSource(winrt.system.Object, metaclass=RadialControllerIndependentInputSource_Static):
|
|
26
|
+
# Windows.UI.Input.RadialController Windows.UI.Input.Core.RadialControllerIndependentInputSource::get_Controller()
|
|
27
|
+
@_property
|
|
28
|
+
def controller(self) -> windows_ui_input.RadialController: ...
|
|
29
|
+
# Windows.UI.Core.CoreDispatcher Windows.UI.Input.Core.RadialControllerIndependentInputSource::get_Dispatcher()
|
|
30
|
+
@_property
|
|
31
|
+
def dispatcher(self) -> windows_ui_core.CoreDispatcher: ...
|
|
32
|
+
# Windows.System.DispatcherQueue Windows.UI.Input.Core.RadialControllerIndependentInputSource::get_DispatcherQueue()
|
|
33
|
+
@_property
|
|
34
|
+
def dispatcher_queue(self) -> windows_system.DispatcherQueue: ...
|
|
35
|
+
|
|
@@ -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_input_core import (
|
|
5
|
+
RadialControllerIndependentInputSource,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"RadialControllerIndependentInputSource",
|
|
10
|
+
]
|
|
11
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Input.Core
|
|
3
|
-
Version:
|
|
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,14 +10,14 @@ 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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Core[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.System[all]==
|
|
19
|
-
Requires-Dist: winrt-Windows.UI.Core[all]==
|
|
20
|
-
Requires-Dist: winrt-Windows.UI.Input[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Core[all]==3.0.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.System[all]==3.0.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.UI.Core[all]==3.0.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI.Input[all]==3.0.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.2.0
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.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.applicationmodel.core as windows_applicationmodel_core
|
|
13
|
-
import winrt.windows.system as windows_system
|
|
14
|
-
import winrt.windows.ui.core as windows_ui_core
|
|
15
|
-
import winrt.windows.ui.input as windows_ui_input
|
|
16
|
-
|
|
17
|
-
Self = typing.TypeVar('Self')
|
|
18
|
-
|
|
19
|
-
@typing.final
|
|
20
|
-
class RadialControllerIndependentInputSource_Static(type):
|
|
21
|
-
def create_for_view(cls, view: typing.Optional[windows_applicationmodel_core.CoreApplicationView], /) -> typing.Optional[RadialControllerIndependentInputSource]: ...
|
|
22
|
-
|
|
23
|
-
@typing.final
|
|
24
|
-
class RadialControllerIndependentInputSource(winrt.system.Object, metaclass=RadialControllerIndependentInputSource_Static):
|
|
25
|
-
@staticmethod
|
|
26
|
-
def _from(obj: winrt.system.Object, /) -> RadialControllerIndependentInputSource: ...
|
|
27
|
-
@_property
|
|
28
|
-
def controller(self) -> typing.Optional[windows_ui_input.RadialController]: ...
|
|
29
|
-
@_property
|
|
30
|
-
def dispatcher(self) -> typing.Optional[windows_ui_core.CoreDispatcher]: ...
|
|
31
|
-
@_property
|
|
32
|
-
def dispatcher_queue(self) -> typing.Optional[windows_system.DispatcherQueue]: ...
|
|
33
|
-
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
-
|
|
3
|
-
import winrt.system
|
|
4
|
-
from winrt import _winrt_windows_ui_input_core
|
|
5
|
-
|
|
6
|
-
__all__ = [
|
|
7
|
-
"RadialControllerIndependentInputSource",
|
|
8
|
-
]
|
|
9
|
-
|
|
10
|
-
RadialControllerIndependentInputSource = _winrt_windows_ui_input_core.RadialControllerIndependentInputSource
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|