winrt-Windows.UI.Accessibility 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_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/PKG-INFO +4 -4
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/all-requirements.txt +2 -2
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/py.Windows.UI.Accessibility.cpp +46 -9
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/pyproject.toml +3 -2
- winrt_windows_ui_accessibility-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/requirements.txt +2 -2
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/winrt/_winrt_windows_ui_accessibility.pyi +1 -1
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/winrt/windows/ui/accessibility/__init__.py +1 -1
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/winrt_Windows.UI.Accessibility.egg-info/PKG-INFO +4 -4
- winrt_windows_ui_accessibility-2.3.0/winrt_Windows.UI.Accessibility.egg-info/requires.txt +4 -0
- winrt_windows_ui_accessibility-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_ui_accessibility-2.1.0/winrt_Windows.UI.Accessibility.egg-info/requires.txt +0 -4
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/README.md +0 -0
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/setup.cfg +0 -0
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/setup.py +0 -0
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/winrt/windows/ui/accessibility/py.typed +0 -0
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/winrt_Windows.UI.Accessibility.egg-info/SOURCES.txt +0 -0
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/winrt_Windows.UI.Accessibility.egg-info/dependency_links.txt +0 -0
- {winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/winrt_Windows.UI.Accessibility.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Accessibility
|
|
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,11 +10,11 @@ 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.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
{winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/all-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-Windows.Foundation[all]==2.
|
|
3
|
+
winrt-Windows.Foundation[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.Accessibility.h"
|
|
4
4
|
|
|
@@ -25,7 +25,14 @@ namespace py::cpp::Windows::UI::Accessibility
|
|
|
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.Accessibility.ScreenReaderPositionChangedEventArgs", L"IsReadingText");
|
|
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;
|
|
@@ -44,7 +51,14 @@ namespace py::cpp::Windows::UI::Accessibility
|
|
|
44
51
|
{
|
|
45
52
|
try
|
|
46
53
|
{
|
|
47
|
-
|
|
54
|
+
static std::optional<bool> is_property_present{};
|
|
55
|
+
|
|
56
|
+
if (!is_property_present.has_value())
|
|
57
|
+
{
|
|
58
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Accessibility.ScreenReaderPositionChangedEventArgs", L"ScreenPositionInRawPixels");
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (!is_property_present.value())
|
|
48
62
|
{
|
|
49
63
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
50
64
|
return nullptr;
|
|
@@ -125,7 +139,7 @@ namespace py::cpp::Windows::UI::Accessibility
|
|
|
125
139
|
{
|
|
126
140
|
try
|
|
127
141
|
{
|
|
128
|
-
winrt::Windows::UI::Accessibility::ScreenReaderService instance{
|
|
142
|
+
winrt::Windows::UI::Accessibility::ScreenReaderService instance{};
|
|
129
143
|
return py::wrap(instance, type);
|
|
130
144
|
}
|
|
131
145
|
catch (...)
|
|
@@ -153,7 +167,14 @@ namespace py::cpp::Windows::UI::Accessibility
|
|
|
153
167
|
{
|
|
154
168
|
try
|
|
155
169
|
{
|
|
156
|
-
|
|
170
|
+
static std::optional<bool> is_property_present{};
|
|
171
|
+
|
|
172
|
+
if (!is_property_present.has_value())
|
|
173
|
+
{
|
|
174
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Accessibility.ScreenReaderService", L"CurrentScreenReaderPosition");
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
if (!is_property_present.value())
|
|
157
178
|
{
|
|
158
179
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
159
180
|
return nullptr;
|
|
@@ -172,7 +193,14 @@ namespace py::cpp::Windows::UI::Accessibility
|
|
|
172
193
|
{
|
|
173
194
|
try
|
|
174
195
|
{
|
|
175
|
-
|
|
196
|
+
static std::optional<bool> is_event_present{};
|
|
197
|
+
|
|
198
|
+
if (!is_event_present.has_value())
|
|
199
|
+
{
|
|
200
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Accessibility.ScreenReaderService", L"ScreenReaderPositionChanged");
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
if (!is_event_present.value())
|
|
176
204
|
{
|
|
177
205
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
178
206
|
return nullptr;
|
|
@@ -193,7 +221,14 @@ namespace py::cpp::Windows::UI::Accessibility
|
|
|
193
221
|
{
|
|
194
222
|
try
|
|
195
223
|
{
|
|
196
|
-
|
|
224
|
+
static std::optional<bool> is_event_present{};
|
|
225
|
+
|
|
226
|
+
if (!is_event_present.has_value())
|
|
227
|
+
{
|
|
228
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Accessibility.ScreenReaderService", L"ScreenReaderPositionChanged");
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
if (!is_event_present.value())
|
|
197
232
|
{
|
|
198
233
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
199
234
|
return nullptr;
|
|
@@ -308,12 +343,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_accessibility(void) noexcept
|
|
|
308
343
|
return nullptr;
|
|
309
344
|
}
|
|
310
345
|
|
|
311
|
-
|
|
346
|
+
py::pytype_handle ScreenReaderPositionChangedEventArgs_type{py::register_python_type(module.get(), &type_spec_ScreenReaderPositionChangedEventArgs, object_bases.get(), nullptr)};
|
|
347
|
+
if (!ScreenReaderPositionChangedEventArgs_type)
|
|
312
348
|
{
|
|
313
349
|
return nullptr;
|
|
314
350
|
}
|
|
315
351
|
|
|
316
|
-
|
|
352
|
+
py::pytype_handle ScreenReaderService_type{py::register_python_type(module.get(), &type_spec_ScreenReaderService, object_bases.get(), nullptr)};
|
|
353
|
+
if (!ScreenReaderService_type)
|
|
317
354
|
{
|
|
318
355
|
return nullptr;
|
|
319
356
|
}
|
{winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-2.3.0}/pyproject.toml
RENAMED
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9,<3.
|
|
19
|
+
requires-python = ">=3.9,<3.14"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
|
+
before-build = "uv pip install setuptools"
|
|
40
41
|
# don't build for PyPy
|
|
41
42
|
skip = "pp*"
|
|
42
43
|
# suppress warnings about ARM64 testing
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.3.0
|
{winrt_windows_ui_accessibility-2.1.0 → winrt_windows_ui_accessibility-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.Accessibility
|
|
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,11 +10,11 @@ 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.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|