winrt-Windows.UI.Input.Preview 2.3.0__tar.gz → 3.1.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_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/PKG-INFO +7 -7
- winrt_windows_ui_input_preview-3.1.0/all-requirements.txt +4 -0
- {winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/py.Windows.UI.Input.Preview.cpp +27 -18
- {winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/pyproject.toml +4 -4
- winrt_windows_ui_input_preview-3.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/requirements.txt +2 -2
- {winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/setup.py +1 -1
- {winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/winrt/_winrt_windows_ui_input_preview.pyi +4 -3
- winrt_windows_ui_input_preview-3.1.0/winrt/windows/ui/input/preview/__init__.py +11 -0
- {winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/winrt_Windows.UI.Input.Preview.egg-info/PKG-INFO +7 -7
- winrt_windows_ui_input_preview-3.1.0/winrt_Windows.UI.Input.Preview.egg-info/requires.txt +5 -0
- winrt_windows_ui_input_preview-2.3.0/all-requirements.txt +0 -4
- winrt_windows_ui_input_preview-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_ui_input_preview-2.3.0/winrt/windows/ui/input/preview/__init__.py +0 -10
- winrt_windows_ui_input_preview-2.3.0/winrt_Windows.UI.Input.Preview.egg-info/requires.txt +0 -5
- {winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/README.md +0 -0
- {winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/setup.cfg +0 -0
- {winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/winrt/windows/ui/input/preview/py.typed +0 -0
- {winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/winrt_Windows.UI.Input.Preview.egg-info/SOURCES.txt +0 -0
- {winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/winrt_Windows.UI.Input.Preview.egg-info/dependency_links.txt +0 -0
- {winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/winrt_Windows.UI.Input.Preview.egg-info/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.UI.Input.Preview
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -10,12 +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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.UI.Input[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.UI.WindowManagement[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.UI.Input[all]==3.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.UI.WindowManagement[all]==3.1.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -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.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.UI.Input.Preview.h"
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ namespace py::cpp::Windows::UI::Input::Preview
|
|
|
15
15
|
|
|
16
16
|
static PyObject* InputActivationListenerPreview_CreateForApplicationWindow(PyObject* /*unused*/, PyObject* args) noexcept
|
|
17
17
|
{
|
|
18
|
-
auto arg_count =
|
|
18
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
19
19
|
|
|
20
20
|
if (arg_count == 1)
|
|
21
21
|
{
|
|
@@ -36,7 +36,11 @@ namespace py::cpp::Windows::UI::Input::Preview
|
|
|
36
36
|
|
|
37
37
|
auto param0 = py::convert_to<winrt::Windows::UI::WindowManagement::AppWindow>(args, 0);
|
|
38
38
|
|
|
39
|
-
return py::convert(
|
|
39
|
+
return py::convert([&]()
|
|
40
|
+
{
|
|
41
|
+
auto _gil = release_gil();
|
|
42
|
+
return winrt::Windows::UI::Input::Preview::InputActivationListenerPreview::CreateForApplicationWindow(param0);
|
|
43
|
+
}());
|
|
40
44
|
}
|
|
41
45
|
catch (...)
|
|
42
46
|
{
|
|
@@ -52,19 +56,16 @@ namespace py::cpp::Windows::UI::Input::Preview
|
|
|
52
56
|
}
|
|
53
57
|
|
|
54
58
|
static PyMethodDef _methods_InputActivationListenerPreview[] = {
|
|
55
|
-
{ }
|
|
56
|
-
};
|
|
59
|
+
{ }};
|
|
57
60
|
|
|
58
61
|
static PyGetSetDef _getset_InputActivationListenerPreview[] = {
|
|
59
|
-
{ }
|
|
60
|
-
};
|
|
62
|
+
{ }};
|
|
61
63
|
|
|
62
64
|
static PyType_Slot _type_slots_InputActivationListenerPreview[] = {
|
|
63
65
|
{ Py_tp_new, reinterpret_cast<void*>(_new_InputActivationListenerPreview) },
|
|
64
66
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_InputActivationListenerPreview) },
|
|
65
67
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_InputActivationListenerPreview) },
|
|
66
|
-
{ }
|
|
67
|
-
};
|
|
68
|
+
{ }};
|
|
68
69
|
|
|
69
70
|
static PyType_Spec type_spec_InputActivationListenerPreview = {
|
|
70
71
|
"winrt._winrt_windows_ui_input_preview.InputActivationListenerPreview",
|
|
@@ -74,13 +75,11 @@ namespace py::cpp::Windows::UI::Input::Preview
|
|
|
74
75
|
_type_slots_InputActivationListenerPreview};
|
|
75
76
|
|
|
76
77
|
static PyGetSetDef getset_InputActivationListenerPreview_Static[] = {
|
|
77
|
-
{ }
|
|
78
|
-
};
|
|
78
|
+
{ }};
|
|
79
79
|
|
|
80
80
|
static PyMethodDef methods_InputActivationListenerPreview_Static[] = {
|
|
81
81
|
{ "create_for_application_window", reinterpret_cast<PyCFunction>(InputActivationListenerPreview_CreateForApplicationWindow), METH_VARARGS, nullptr },
|
|
82
|
-
{ }
|
|
83
|
-
};
|
|
82
|
+
{ }};
|
|
84
83
|
|
|
85
84
|
static PyType_Slot type_slots_InputActivationListenerPreview_Static[] =
|
|
86
85
|
{
|
|
@@ -90,14 +89,12 @@ namespace py::cpp::Windows::UI::Input::Preview
|
|
|
90
89
|
{ }
|
|
91
90
|
};
|
|
92
91
|
|
|
93
|
-
static PyType_Spec type_spec_InputActivationListenerPreview_Static =
|
|
94
|
-
{
|
|
92
|
+
static PyType_Spec type_spec_InputActivationListenerPreview_Static = {
|
|
95
93
|
"winrt._winrt_windows_ui_input_preview.InputActivationListenerPreview_Static",
|
|
96
94
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
97
95
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
98
96
|
Py_TPFLAGS_DEFAULT,
|
|
99
|
-
type_slots_InputActivationListenerPreview_Static
|
|
100
|
-
};
|
|
97
|
+
type_slots_InputActivationListenerPreview_Static};
|
|
101
98
|
|
|
102
99
|
// ----- Windows.UI.Input.Preview Initialization --------------------
|
|
103
100
|
|
|
@@ -131,6 +128,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_input_preview(void) noexcept
|
|
|
131
128
|
return nullptr;
|
|
132
129
|
}
|
|
133
130
|
|
|
131
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
132
|
+
if (!inspectable_meta_type)
|
|
133
|
+
{
|
|
134
|
+
return nullptr;
|
|
135
|
+
}
|
|
136
|
+
|
|
134
137
|
auto object_type = py::get_object_type();
|
|
135
138
|
if (!object_type)
|
|
136
139
|
{
|
|
@@ -144,7 +147,13 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_input_preview(void) noexcept
|
|
|
144
147
|
return nullptr;
|
|
145
148
|
}
|
|
146
149
|
|
|
147
|
-
py::pyobj_handle
|
|
150
|
+
py::pyobj_handle InputActivationListenerPreview_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
151
|
+
if (!InputActivationListenerPreview_Static_bases)
|
|
152
|
+
{
|
|
153
|
+
return nullptr;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
py::pyobj_handle type_InputActivationListenerPreview_Static{PyType_FromSpecWithBases(&type_spec_InputActivationListenerPreview_Static, InputActivationListenerPreview_Static_bases.get())};
|
|
148
157
|
if (!type_InputActivationListenerPreview_Static)
|
|
149
158
|
{
|
|
150
159
|
return nullptr;
|
{winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/pyproject.toml
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "winrt-sdk"]
|
|
4
|
+
requires = ["setuptools>=78", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "winrt-Windows.UI.Input.Preview"
|
|
9
9
|
description = "Python projection of Windows Runtime (WinRT) APIs"
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
license =
|
|
11
|
+
license = "MIT"
|
|
12
12
|
classifiers = [
|
|
13
13
|
"Operating System :: Microsoft :: Windows",
|
|
14
14
|
"Programming Language :: Python :: 3",
|
|
@@ -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.1.0
|
{winrt_windows_ui_input_preview-2.3.0 → winrt_windows_ui_input_preview-3.1.0}/requirements.txt
RENAMED
|
@@ -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.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.1.0
|
|
@@ -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.1.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -15,8 +15,9 @@ import winrt.windows.ui.windowmanagement as windows_ui_windowmanagement
|
|
|
15
15
|
Self = typing.TypeVar('Self')
|
|
16
16
|
|
|
17
17
|
@typing.final
|
|
18
|
-
class InputActivationListenerPreview_Static(
|
|
19
|
-
|
|
18
|
+
class InputActivationListenerPreview_Static(winrt._winrt.IInspectable_Static):
|
|
19
|
+
# Windows.UI.Input.InputActivationListener Windows.UI.Input.Preview.InputActivationListenerPreview::CreateForApplicationWindow(Windows.UI.WindowManagement.AppWindow)
|
|
20
|
+
def create_for_application_window(cls, window: windows_ui_windowmanagement.AppWindow, /) -> windows_ui_input.InputActivationListener: ...
|
|
20
21
|
|
|
21
22
|
@typing.final
|
|
22
23
|
class InputActivationListenerPreview(winrt.system.Object, metaclass=InputActivationListenerPreview_Static):
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.UI.Input.Preview
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -10,12 +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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.UI.Input[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.UI.WindowManagement[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.UI.Input[all]==3.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.UI.WindowManagement[all]==3.1.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.3.0
|
|
@@ -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_input_preview
|
|
5
|
-
|
|
6
|
-
__all__ = [
|
|
7
|
-
"InputActivationListenerPreview",
|
|
8
|
-
]
|
|
9
|
-
|
|
10
|
-
InputActivationListenerPreview = _winrt_windows_ui_input_preview.InputActivationListenerPreview
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|