pyobjc-framework-Accessibility 12.0__tar.gz → 12.2__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.
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/Lib/Accessibility/_metadata.py +30 -3
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/Lib/pyobjc_framework_Accessibility.egg-info/PKG-INFO +6 -7
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/Lib/pyobjc_framework_Accessibility.egg-info/SOURCES.txt +2 -2
- pyobjc_framework_accessibility-12.2/Lib/pyobjc_framework_Accessibility.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_accessibility-12.2/Lib/pyobjc_framework_Accessibility.egg-info/requires.txt +3 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/Modules/pyobjc-compat.h +24 -50
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/PKG-INFO +6 -7
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/PyObjCTest/test_axsettings.py +24 -0
- pyobjc_framework_accessibility-12.0/metadata/raw/arm64-26.0.fwinfo → pyobjc_framework_accessibility-12.2/metadata/raw/arm64-26.5.fwinfo +1066 -38
- pyobjc_framework_accessibility-12.0/metadata/raw/x86_64-26.0.fwinfo → pyobjc_framework_accessibility-12.2/metadata/raw/x86_64-26.5.fwinfo +1066 -38
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/pyobjc_setup.py +4 -5
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/setup.py +1 -1
- pyobjc_framework_accessibility-12.0/Lib/pyobjc_framework_Accessibility.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_accessibility-12.0/Lib/pyobjc_framework_Accessibility.egg-info/requires.txt +0 -3
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/Lib/Accessibility/__init__.py +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/Lib/pyobjc_framework_Accessibility.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/Lib/pyobjc_framework_Accessibility.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/Lib/pyobjc_framework_Accessibility.egg-info/top_level.txt +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/License.txt +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/MANIFEST.in +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/Modules/_Accessibility.m +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/Modules/_Accessibility_protocols.m +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/Modules/pyobjc-api.h +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/PyObjCTest/test_accessibility.py +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/PyObjCTest/test_axaudiograph.py +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/PyObjCTest/test_axbraillemap.py +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/PyObjCTest/test_axbrailletranslator.py +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/PyObjCTest/test_axcustomcontent.py +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/PyObjCTest/test_axtechnology.py +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/PyObjCTest/test_cxcolorutilities.py +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/metadata/Accessibility.fwinfo +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/metadata/metadata.ini +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/pyproject.toml +0 -0
- {pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update:
|
|
3
|
+
# Last update: Sun May 24 11:41:32 2026
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -30,8 +30,8 @@ else:
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
misc = {}
|
|
33
|
-
constants = """$AXAnimatedImagesEnabledDidChangeNotification$AXMFiHearingDevicePairedUUIDsDidChangeNotification$AXMFiHearingDeviceStreamingEarDidChangeNotification$AXPrefersHorizontalTextLayoutDidChangeNotification$AXPrefersNonBlinkingTextInsertionIndicatorDidChangeNotification$AXTechnologyAutomation$AXTechnologyFullKeyboardAccess$AXTechnologyHoverText$AXTechnologySpeakScreen$AXTechnologySwitchControl$AXTechnologyVoiceControl$AXTechnologyVoiceOver$AXTechnologyZoom$"""
|
|
34
|
-
enums = """$AXChartContentDirectionBottomToTop@3$AXChartContentDirectionLeftToRight@0$AXChartContentDirectionRadialClockwise@4$AXChartContentDirectionRadialCounterClockwise@5$AXChartContentDirectionRightToLeft@1$AXChartContentDirectionTopToBottom@2$AXCustomContentImportanceDefault@0$AXCustomContentImportanceHigh@1$AXHearingDeviceEarBoth@6$AXHearingDeviceEarLeft@2$AXHearingDeviceEarNone@0$AXHearingDeviceEarRight@4$AXScaleTypeLinear@0$AXScaleTypeLn@2$AXScaleTypeLog10@1$AXSettingsFeatureAllowAppsToAddAudioToCalls@2$AXSettingsFeatureAssistiveTouch@3$AXSettingsFeatureAssistiveTouchDevices@4$AXSettingsFeatureDwellControl@5$AXSettingsFeaturePersonalVoiceAllowAppsToRequestToUse@1$"""
|
|
33
|
+
constants = """$AXAnimatedImagesEnabledDidChangeNotification$AXMFiHearingDevicePairedUUIDsDidChangeNotification$AXMFiHearingDeviceStreamingEarDidChangeNotification$AXPrefersActionSliderAlternativeDidChangeNotification$AXPrefersHorizontalTextLayoutDidChangeNotification$AXPrefersNonBlinkingTextInsertionIndicatorDidChangeNotification$AXReduceHighlightingEffectsEnabledDidChangeNotification$AXShowBordersEnabledStatusDidChangeNotification$AXTechnologyAutomation$AXTechnologyFullKeyboardAccess$AXTechnologyHoverText$AXTechnologySpeakScreen$AXTechnologySwitchControl$AXTechnologyVoiceControl$AXTechnologyVoiceOver$AXTechnologyZoom$"""
|
|
34
|
+
enums = """$AXChartContentDirectionBottomToTop@3$AXChartContentDirectionLeftToRight@0$AXChartContentDirectionRadialClockwise@4$AXChartContentDirectionRadialCounterClockwise@5$AXChartContentDirectionRightToLeft@1$AXChartContentDirectionTopToBottom@2$AXCustomContentImportanceDefault@0$AXCustomContentImportanceHigh@1$AXHearingDeviceEarBoth@6$AXHearingDeviceEarLeft@2$AXHearingDeviceEarNone@0$AXHearingDeviceEarRight@4$AXScaleTypeLinear@0$AXScaleTypeLn@2$AXScaleTypeLog10@1$AXSettingsFeatureAllowAppsToAddAudioToCalls@2$AXSettingsFeatureAssistiveTouch@3$AXSettingsFeatureAssistiveTouchDevices@4$AXSettingsFeatureCaptionStyles@6$AXSettingsFeatureDwellControl@5$AXSettingsFeaturePersonalVoiceAllowAppsToRequestToUse@1$"""
|
|
35
35
|
misc.update(
|
|
36
36
|
{
|
|
37
37
|
"AXChartDescriptorContentDirection": NewType(
|
|
@@ -57,12 +57,16 @@ misc.update({})
|
|
|
57
57
|
functions = {
|
|
58
58
|
"AXMFiHearingDeviceStreamingEar": (b"Q",),
|
|
59
59
|
"AXSupportsBidirectionalAXMFiHearingDeviceStreaming": (b"Z",),
|
|
60
|
+
"AXOpenSettingsFeatureIsSupported": (b"Zq",),
|
|
60
61
|
"AXAnimatedImagesEnabled": (b"Z",),
|
|
61
62
|
"AXAssistiveAccessEnabled": (b"Z",),
|
|
63
|
+
"AXPrefersActionSliderAlternative": (b"Z",),
|
|
64
|
+
"AXShowBordersEnabled": (b"Z",),
|
|
62
65
|
"AXNameFromColor": (b"@^{CGColor=}",),
|
|
63
66
|
"AXPrefersNonBlinkingTextInsertionIndicator": (b"Z",),
|
|
64
67
|
"AXMFiHearingDevicePairedUUIDs": (b"@",),
|
|
65
68
|
"AXPrefersHorizontalTextLayout": (b"Z",),
|
|
69
|
+
"AXReduceHighlightingEffectsEnabled": (b"Z",),
|
|
66
70
|
"AXOpenSettingsFeature": (
|
|
67
71
|
b"vq@?",
|
|
68
72
|
"",
|
|
@@ -282,14 +286,20 @@ try:
|
|
|
282
286
|
finally:
|
|
283
287
|
objc._updatingMetadata(False)
|
|
284
288
|
|
|
289
|
+
objc.registerNewKeywordsFromSelector("AXBrailleMap", b"init")
|
|
290
|
+
objc.registerNewKeywordsFromSelector("AXBrailleTable", b"init")
|
|
285
291
|
objc.registerNewKeywordsFromSelector("AXBrailleTable", b"initWithIdentifier:")
|
|
292
|
+
objc.registerNewKeywordsFromSelector("AXBrailleTranslationResult", b"init")
|
|
293
|
+
objc.registerNewKeywordsFromSelector("AXBrailleTranslator", b"init")
|
|
286
294
|
objc.registerNewKeywordsFromSelector("AXBrailleTranslator", b"initWithBrailleTable:")
|
|
295
|
+
objc.registerNewKeywordsFromSelector("AXCategoricalDataAxisDescriptor", b"init")
|
|
287
296
|
objc.registerNewKeywordsFromSelector(
|
|
288
297
|
"AXCategoricalDataAxisDescriptor", b"initWithAttributedTitle:categoryOrder:"
|
|
289
298
|
)
|
|
290
299
|
objc.registerNewKeywordsFromSelector(
|
|
291
300
|
"AXCategoricalDataAxisDescriptor", b"initWithTitle:categoryOrder:"
|
|
292
301
|
)
|
|
302
|
+
objc.registerNewKeywordsFromSelector("AXChartDescriptor", b"init")
|
|
293
303
|
objc.registerNewKeywordsFromSelector(
|
|
294
304
|
"AXChartDescriptor",
|
|
295
305
|
b"initWithAttributedTitle:summary:xAxisDescriptor:yAxisDescriptor:additionalAxes:series:",
|
|
@@ -306,11 +316,15 @@ objc.registerNewKeywordsFromSelector(
|
|
|
306
316
|
"AXChartDescriptor",
|
|
307
317
|
b"initWithTitle:summary:xAxisDescriptor:yAxisDescriptor:series:",
|
|
308
318
|
)
|
|
319
|
+
objc.registerNewKeywordsFromSelector("AXCustomContent", b"init")
|
|
320
|
+
objc.registerNewKeywordsFromSelector("AXDataPoint", b"init")
|
|
309
321
|
objc.registerNewKeywordsFromSelector("AXDataPoint", b"initWithX:y:")
|
|
310
322
|
objc.registerNewKeywordsFromSelector("AXDataPoint", b"initWithX:y:additionalValues:")
|
|
311
323
|
objc.registerNewKeywordsFromSelector(
|
|
312
324
|
"AXDataPoint", b"initWithX:y:additionalValues:label:"
|
|
313
325
|
)
|
|
326
|
+
objc.registerNewKeywordsFromSelector("AXDataPointValue", b"init")
|
|
327
|
+
objc.registerNewKeywordsFromSelector("AXDataSeriesDescriptor", b"init")
|
|
314
328
|
objc.registerNewKeywordsFromSelector(
|
|
315
329
|
"AXDataSeriesDescriptor", b"initWithAttributedName:isContinuous:dataPoints:"
|
|
316
330
|
)
|
|
@@ -350,6 +364,7 @@ objc.registerNewKeywordsFromSelector(
|
|
|
350
364
|
"AXMathExpressionUnderOver",
|
|
351
365
|
b"initWithBaseExpression:underExpression:overExpression:",
|
|
352
366
|
)
|
|
367
|
+
objc.registerNewKeywordsFromSelector("AXNumericDataAxisDescriptor", b"init")
|
|
353
368
|
objc.registerNewKeywordsFromSelector(
|
|
354
369
|
"AXNumericDataAxisDescriptor",
|
|
355
370
|
b"initWithAttributedTitle:lowerBound:upperBound:gridlinePositions:valueDescriptionProvider:",
|
|
@@ -358,6 +373,18 @@ objc.registerNewKeywordsFromSelector(
|
|
|
358
373
|
"AXNumericDataAxisDescriptor",
|
|
359
374
|
b"initWithTitle:lowerBound:upperBound:gridlinePositions:valueDescriptionProvider:",
|
|
360
375
|
)
|
|
376
|
+
objc.registerNewKeywordsFromSelector("AXRequest", b"init")
|
|
377
|
+
|
|
378
|
+
objc.registerNewKeywords(
|
|
379
|
+
"AXCustomContent",
|
|
380
|
+
("attributedLabel", "attributedValue"),
|
|
381
|
+
"customContentWithAttributedLabel_attributedValue_",
|
|
382
|
+
)
|
|
383
|
+
objc.registerNewKeywords(
|
|
384
|
+
"AXCustomContent", ("label", "value"), "customContentWithLabel_value_"
|
|
385
|
+
)
|
|
386
|
+
objc.registerNewKeywords("AXDataPointValue", ("category",), "valueWithCategory_")
|
|
387
|
+
objc.registerNewKeywords("AXDataPointValue", ("number",), "valueWithNumber_")
|
|
361
388
|
expressions = {}
|
|
362
389
|
|
|
363
390
|
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-Accessibility
|
|
3
|
-
Version: 12.
|
|
3
|
+
Version: 12.2
|
|
4
4
|
Summary: Wrappers for the framework Accessibility on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,7 +17,6 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -25,15 +24,15 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.15
|
|
27
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
-
Classifier: Programming Language :: Python :: Free Threading ::
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
29
28
|
Classifier: Programming Language :: Objective C
|
|
30
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
31
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
32
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.10
|
|
33
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
34
|
-
Requires-Dist: pyobjc-core>=12.
|
|
35
|
-
Requires-Dist: pyobjc-framework-Cocoa>=12.
|
|
36
|
-
Requires-Dist: pyobjc-framework-Quartz>=12.
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2
|
|
35
|
+
Requires-Dist: pyobjc-framework-Quartz>=12.2
|
|
37
36
|
Dynamic: author
|
|
38
37
|
Dynamic: author-email
|
|
39
38
|
Dynamic: classifier
|
|
@@ -27,5 +27,5 @@ PyObjCTest/test_axtechnology.py
|
|
|
27
27
|
PyObjCTest/test_cxcolorutilities.py
|
|
28
28
|
metadata/Accessibility.fwinfo
|
|
29
29
|
metadata/metadata.ini
|
|
30
|
-
metadata/raw/arm64-26.
|
|
31
|
-
metadata/raw/x86_64-26.
|
|
30
|
+
metadata/raw/arm64-26.5.fwinfo
|
|
31
|
+
metadata/raw/x86_64-26.5.fwinfo
|
{pyobjc_framework_accessibility-12.0 → pyobjc_framework_accessibility-12.2}/Modules/pyobjc-compat.h
RENAMED
|
@@ -22,12 +22,14 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
22
22
|
* Start of compiler definitions
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
|
+
#if 0
|
|
25
26
|
#ifndef __has_feature
|
|
26
27
|
#define __has_feature(x) 0
|
|
27
28
|
#endif
|
|
28
29
|
#ifndef __has_extension
|
|
29
30
|
#define __has_extension(x) __has_feature(x)
|
|
30
31
|
#endif
|
|
32
|
+
#endif
|
|
31
33
|
|
|
32
34
|
#if __has_extension(c_static_assert)
|
|
33
35
|
#define STATIC_ASSERT(test, message) _Static_assert(test, message)
|
|
@@ -55,46 +57,10 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
55
57
|
/*
|
|
56
58
|
*
|
|
57
59
|
* Start of compiler support helpers
|
|
58
|
-
*
|
|
59
|
-
* XXX: Are these needed?
|
|
60
60
|
*/
|
|
61
61
|
|
|
62
|
-
#ifdef __GNUC__
|
|
63
62
|
#define unlikely(x) __builtin_expect(!!(x), 0)
|
|
64
63
|
#define likely(x) __builtin_expect(!!(x), 1)
|
|
65
|
-
#else
|
|
66
|
-
#define likely(x) x
|
|
67
|
-
#define likely(x) x
|
|
68
|
-
#endif
|
|
69
|
-
|
|
70
|
-
/* On some versions of GCC <limits.h> defines LONG_LONG_MAX but not LLONG_MAX, compensate.
|
|
71
|
-
*/
|
|
72
|
-
#ifndef LLONG_MIN
|
|
73
|
-
#ifdef LONG_LONG_MIN
|
|
74
|
-
#define LLONG_MIN LONG_LONG_MIN
|
|
75
|
-
#define LLONG_MAX LONG_LONG_MAX
|
|
76
|
-
#define ULLONG_MAX ULONG_LONG_MAX
|
|
77
|
-
#endif
|
|
78
|
-
#endif
|
|
79
|
-
|
|
80
|
-
/*
|
|
81
|
-
*
|
|
82
|
-
* End of compiler support helpers
|
|
83
|
-
*
|
|
84
|
-
* XXX: These two are no longer needed, all supported platforms
|
|
85
|
-
* are 64-bit
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
#if __LP64__
|
|
89
|
-
#define Py_ARG_NSInteger "l"
|
|
90
|
-
#define Py_ARG_NSUInteger "k"
|
|
91
|
-
#else
|
|
92
|
-
#define Py_ARG_NSInteger "i"
|
|
93
|
-
#define Py_ARG_NSUInteger "I"
|
|
94
|
-
#endif
|
|
95
|
-
|
|
96
|
-
#define PyObjC__STR(x) #x
|
|
97
|
-
#define PyObjC_STR(x) PyObjC__STR(x)
|
|
98
64
|
|
|
99
65
|
/*
|
|
100
66
|
*
|
|
@@ -131,20 +97,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
131
97
|
|
|
132
98
|
extern int PyObjC_Cmp(PyObject* o1, PyObject* o2, int* result);
|
|
133
99
|
|
|
134
|
-
/*
|
|
135
|
-
* A micro optimization: when using Python 3.3 or later it
|
|
136
|
-
* is possible to access a 'char*' with an ASCII representation
|
|
137
|
-
* of a unicode object without first converting it to a bytes
|
|
138
|
-
* string (if the string can be encoded as ASCII in the first
|
|
139
|
-
* place.
|
|
140
|
-
*
|
|
141
|
-
* This slightly reduces the object allocation rate during
|
|
142
|
-
* attribute access.
|
|
143
|
-
*
|
|
144
|
-
* XXX: Use PyUnicode_AsUTF8 instead.
|
|
145
|
-
*/
|
|
146
|
-
extern const char* _Nullable PyObjC_Unicode_Fast_Bytes(PyObject* object);
|
|
147
|
-
|
|
148
100
|
#ifdef __clang__
|
|
149
101
|
|
|
150
102
|
#ifndef Py_LIMITED_API
|
|
@@ -286,6 +238,23 @@ static inline PyObject* _Nullable PyList_GetItemRef(PyObject* l, Py_ssize_t i)
|
|
|
286
238
|
Py_XINCREF(result);
|
|
287
239
|
return result;
|
|
288
240
|
}
|
|
241
|
+
|
|
242
|
+
static inline int
|
|
243
|
+
PyDict_SetDefaultRef(PyObject* p, PyObject* key, PyObject* default_value,
|
|
244
|
+
PyObject* _Nonnull* _Nullable result)
|
|
245
|
+
{
|
|
246
|
+
*result = PyDict_SetDefault(p, key, default_value);
|
|
247
|
+
if (*result == NULL) {
|
|
248
|
+
return -1;
|
|
249
|
+
}
|
|
250
|
+
Py_INCREF(*result);
|
|
251
|
+
|
|
252
|
+
/* This does not follow the spec, should return 1 when the key was already
|
|
253
|
+
* in the dict. That part of the API is not used in PyObjC though.
|
|
254
|
+
*/
|
|
255
|
+
return 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
289
258
|
#endif
|
|
290
259
|
|
|
291
260
|
#if PY_VERSION_HEX < 0x030c0000
|
|
@@ -392,6 +361,11 @@ PyUnstable_TryIncRef(PyObject* op __attribute__((__unused__)))
|
|
|
392
361
|
}
|
|
393
362
|
#endif
|
|
394
363
|
|
|
364
|
+
#if PY_VERSION_HEX < 0x030f00a7
|
|
365
|
+
#define PyAnyDict_CheckExact PyDict_CheckExact
|
|
366
|
+
#define PyAnyDict_Check PyDict_Check
|
|
367
|
+
#endif
|
|
368
|
+
|
|
395
369
|
NS_ASSUME_NONNULL_END
|
|
396
370
|
|
|
397
371
|
#endif /* PyObjC_COMPAT_H */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-Accessibility
|
|
3
|
-
Version: 12.
|
|
3
|
+
Version: 12.2
|
|
4
4
|
Summary: Wrappers for the framework Accessibility on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,7 +17,6 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -25,15 +24,15 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.15
|
|
27
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
-
Classifier: Programming Language :: Python :: Free Threading ::
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
29
28
|
Classifier: Programming Language :: Objective C
|
|
30
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
31
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
32
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.10
|
|
33
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
34
|
-
Requires-Dist: pyobjc-core>=12.
|
|
35
|
-
Requires-Dist: pyobjc-framework-Cocoa>=12.
|
|
36
|
-
Requires-Dist: pyobjc-framework-Quartz>=12.
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2
|
|
35
|
+
Requires-Dist: pyobjc-framework-Quartz>=12.2
|
|
37
36
|
Dynamic: author
|
|
38
37
|
Dynamic: author-email
|
|
39
38
|
Dynamic: classifier
|
|
@@ -13,6 +13,7 @@ class TestAXSettings(TestCase):
|
|
|
13
13
|
self.assertEqual(Accessibility.AXSettingsFeatureAssistiveTouch, 3)
|
|
14
14
|
self.assertEqual(Accessibility.AXSettingsFeatureAssistiveTouchDevices, 4)
|
|
15
15
|
self.assertEqual(Accessibility.AXSettingsFeatureDwellControl, 5)
|
|
16
|
+
self.assertEqual(Accessibility.AXSettingsFeatureCaptionStyles, 6)
|
|
16
17
|
|
|
17
18
|
@min_os_level("14.0")
|
|
18
19
|
def testConstants(self):
|
|
@@ -30,6 +31,24 @@ class TestAXSettings(TestCase):
|
|
|
30
31
|
str,
|
|
31
32
|
)
|
|
32
33
|
|
|
34
|
+
@min_os_level("26.1")
|
|
35
|
+
def testConstants26_1(self):
|
|
36
|
+
self.assertIsInstance(
|
|
37
|
+
Accessibility.AXPrefersActionSliderAlternativeDidChangeNotification,
|
|
38
|
+
str,
|
|
39
|
+
)
|
|
40
|
+
self.assertIsInstance(
|
|
41
|
+
Accessibility.AXShowBordersEnabledStatusDidChangeNotification,
|
|
42
|
+
str,
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
@min_os_level("26.4")
|
|
46
|
+
def testConstants26_4(self):
|
|
47
|
+
self.assertIsInstance(
|
|
48
|
+
Accessibility.AXReduceHighlightingEffectsEnabledDidChangeNotification,
|
|
49
|
+
str,
|
|
50
|
+
)
|
|
51
|
+
|
|
33
52
|
@min_os_level("14.0")
|
|
34
53
|
def test_functions(self):
|
|
35
54
|
self.assertResultIsBOOL(Accessibility.AXAnimatedImagesEnabled)
|
|
@@ -43,3 +62,8 @@ class TestAXSettings(TestCase):
|
|
|
43
62
|
)
|
|
44
63
|
|
|
45
64
|
self.assertArgIsBlock(Accessibility.AXOpenSettingsFeature, 1, b"v@")
|
|
65
|
+
|
|
66
|
+
@min_os_level("26.4")
|
|
67
|
+
def test_functions26_4(self):
|
|
68
|
+
self.assertResultIsBOOL(Accessibility.AXOpenSettingsFeatureIsSupported)
|
|
69
|
+
self.assertResultIsBOOL(Accessibility.AXReduceHighlightingEffectsEnabled)
|