pyobjc-framework-Carbon 11.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 (24) hide show
  1. pyobjc_framework_carbon-11.0/Lib/Carbon/__init__.py +34 -0
  2. pyobjc_framework_carbon-11.0/Lib/Carbon/_metadata.py +174 -0
  3. pyobjc_framework_carbon-11.0/Lib/pyobjc_framework_Carbon.egg-info/PKG-INFO +56 -0
  4. pyobjc_framework_carbon-11.0/Lib/pyobjc_framework_Carbon.egg-info/SOURCES.txt +22 -0
  5. pyobjc_framework_carbon-11.0/Lib/pyobjc_framework_Carbon.egg-info/dependency_links.txt +1 -0
  6. pyobjc_framework_carbon-11.0/Lib/pyobjc_framework_Carbon.egg-info/not-zip-safe +1 -0
  7. pyobjc_framework_carbon-11.0/Lib/pyobjc_framework_Carbon.egg-info/pyobjc-build-info.txt +3 -0
  8. pyobjc_framework_carbon-11.0/Lib/pyobjc_framework_Carbon.egg-info/requires.txt +2 -0
  9. pyobjc_framework_carbon-11.0/Lib/pyobjc_framework_Carbon.egg-info/top_level.txt +1 -0
  10. pyobjc_framework_carbon-11.0/License.txt +10 -0
  11. pyobjc_framework_carbon-11.0/MANIFEST.in +14 -0
  12. pyobjc_framework_carbon-11.0/PKG-INFO +53 -0
  13. pyobjc_framework_carbon-11.0/PyObjCTest/__init__.py +1 -0
  14. pyobjc_framework_carbon-11.0/PyObjCTest/test_help_applehelp.py +20 -0
  15. pyobjc_framework_carbon-11.0/PyObjCTest/test_hitoolbox_carbonevents.py +38 -0
  16. pyobjc_framework_carbon-11.0/ignore.txt +16 -0
  17. pyobjc_framework_carbon-11.0/metadata/Carbon.fwinfo +1073 -0
  18. pyobjc_framework_carbon-11.0/metadata/metadata.ini +3 -0
  19. pyobjc_framework_carbon-11.0/metadata/raw/arm64-15.0.fwinfo +1235 -0
  20. pyobjc_framework_carbon-11.0/metadata/raw/x86_64-15.0.fwinfo +1235 -0
  21. pyobjc_framework_carbon-11.0/pyobjc_setup.py +771 -0
  22. pyobjc_framework_carbon-11.0/pyproject.toml +3 -0
  23. pyobjc_framework_carbon-11.0/setup.cfg +4 -0
  24. pyobjc_framework_carbon-11.0/setup.py +27 -0
@@ -0,0 +1,34 @@
1
+ """
2
+ Python mapping for the Carbon framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import objc
13
+ import Foundation
14
+ from . import _metadata
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="Carbon",
18
+ frameworkIdentifier="com.apple.Carbon",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/Carbon.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(Foundation,),
25
+ metadict=_metadata.__dict__,
26
+ )
27
+
28
+ globals()["__dir__"] = dir_func
29
+ globals()["__getattr__"] = getattr_func
30
+
31
+ del sys.modules["Carbon._metadata"]
32
+
33
+
34
+ globals().pop("_setup")()
@@ -0,0 +1,174 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Fri Jun 21 23:32:49 2024
4
+ #
5
+ # flake8: noqa
6
+
7
+ import objc, sys
8
+ from typing import NewType
9
+
10
+ if sys.maxsize > 2**32:
11
+
12
+ def sel32or64(a, b):
13
+ return b
14
+
15
+ else:
16
+
17
+ def sel32or64(a, b):
18
+ return a
19
+
20
+
21
+ if objc.arch == "arm64":
22
+
23
+ def selAorI(a, b):
24
+ return a
25
+
26
+ else:
27
+
28
+ def selAorI(a, b):
29
+ return b
30
+
31
+
32
+ misc = {}
33
+ misc.update(
34
+ {
35
+ "EventHotKeyID": objc.createStructType(
36
+ "Carbon.EventHotKeyID", b"{EventHotKeyID=II}", ["signature", "id"]
37
+ ),
38
+ "HICommand": objc.createStructType(
39
+ "Carbon.HICommand",
40
+ b"{HICommand=II{struct (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h:11932:3)=^{OpaqueMenuRef=}S}{struct (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h:11932:3)=^{OpaqueMenuRef=}S}}",
41
+ ["attributes", "commandID", "menu"],
42
+ ),
43
+ "TabletProximityRec": objc.createStructType(
44
+ "Carbon.TabletProximityRec",
45
+ b"{TabletProximityRec=SSSSSSIQICC}",
46
+ [
47
+ "vendorID",
48
+ "tabletID",
49
+ "pointerID",
50
+ "deviceID",
51
+ "systemTabletID",
52
+ "vendorPointerType",
53
+ "pointerSerialNumber",
54
+ "uniqueID",
55
+ "capabilityMask",
56
+ "pointerType",
57
+ "enterProximity",
58
+ ],
59
+ ),
60
+ "TabletPointRec": objc.createStructType(
61
+ "Carbon.TabletPointRec",
62
+ b"{TabletPointRec=iiiSSssSsSsss}",
63
+ [
64
+ "absX",
65
+ "absY",
66
+ "absZ",
67
+ "buttons",
68
+ "pressure",
69
+ "tiltX",
70
+ "tiltY",
71
+ "rotation",
72
+ "tangentialPressure",
73
+ "deviceID",
74
+ "vendor1",
75
+ "vendor2",
76
+ "vendor3",
77
+ ],
78
+ ),
79
+ "TabletPointerRec": objc.createStructType(
80
+ "Carbon.TabletPointerRec", b"{TabletPointRec=iiiSSssSsSsss}", []
81
+ ),
82
+ }
83
+ )
84
+ constants = """$$"""
85
+ enums = """$kAHInternalErr@-10790$kAHInternetConfigPrefErr@-10791$kAHTOCTypeDeveloper@1$kAHTOCTypeUser@0$kEventHotKeyExclusive@1$kEventHotKeyNoOptions@0$kHIHotKeyModeAllDisabled@1$kHIHotKeyModeAllDisabledExceptUniversalAccess@2$kHIHotKeyModeAllEnabled@0$"""
86
+ misc.update({})
87
+ misc.update({})
88
+ misc.update(
89
+ {
90
+ "kHISymbolicHotKeyCode": "kHISymbolicHotKeyCode",
91
+ "kHIServicesMenuItemName": "kHIServicesMenuItemName",
92
+ "kHIServicesMenuProviderName": "kHIServicesMenuProviderName",
93
+ "kHISymbolicHotKeyModifiers": "kHISymbolicHotKeyModifiers",
94
+ "kHISymbolicHotKeyEnabled": "kHISymbolicHotKeyEnabled",
95
+ "kHIServicesMenuCharCode": "kHIServicesMenuCharCode",
96
+ "kHIServicesMenuKeyModifiers": "kHIServicesMenuKeyModifiers",
97
+ }
98
+ )
99
+ functions = {
100
+ "UnregisterEventHotKey": (b"i^{OpaqueEventHotKeyRef=}",),
101
+ "AHLookupAnchor": (b"i^{__CFString=}^{__CFString=}",),
102
+ "AHRegisterHelpBookWithURL": (b"i^{__CFURL=}",),
103
+ "AHSearch": (b"i^{__CFString=}^{__CFString=}",),
104
+ "AHRegisterHelpBook": (
105
+ b"i^{FSRef=[80C]}",
106
+ "",
107
+ {"arguments": {0: {"type_modifier": "n"}}},
108
+ ),
109
+ "GetSymbolicHotKeyMode": (b"I",),
110
+ "RegisterEventHotKey": (
111
+ b"iII{EventHotKeyID=II}^{OpaqueEventTargetRef=}I^^{OpaqueEventHotKeyRef=}",
112
+ "",
113
+ {"arguments": {5: {"type_modifier": "o"}}},
114
+ ),
115
+ "PushSymbolicHotKeyMode": (b"qI",),
116
+ "AHGotoMainTOC": (b"is",),
117
+ "AHGotoPage": (b"i^{__CFString=}^{__CFString=}^{__CFString=}",),
118
+ "PopSymbolicHotKeyMode": (b"vq",),
119
+ "CopySymbolicHotKeys": (
120
+ b"i^^{__CFArray=}",
121
+ "",
122
+ {
123
+ "retval": {"already_cfretained": True},
124
+ "arguments": {0: {"already_cfretained": True, "type_modifier": "o"}},
125
+ },
126
+ ),
127
+ }
128
+ aliases = {
129
+ "kEventUpdateActiveInputArea": "kEventTextInputUpdateActiveInputArea",
130
+ "kEventWindowDefHitTest": "kEventWindowHitTest",
131
+ "kEventWindowDefStateChanged": "kEventWindowStateChanged",
132
+ "kMouseTrackingMouseReleased": "kMouseTrackingMouseUp",
133
+ "kEventParamTSMDocAccessSendComponentInstance": "kEventParamTSMSendComponentInstance",
134
+ "kEventHighLevelEvent": "kEventAppleEvent",
135
+ "kEventGetSelectedText": "kEventTextInputGetSelectedText",
136
+ "kEventWindowDefInit": "kEventWindowInit",
137
+ "kEventParamModalClickResult": "typeModalClickResult",
138
+ "kEventShowHideBottomWindow": "kEventTextInputShowHideBottomWindow",
139
+ "typeRefCon": "typeVoidPtr",
140
+ "kEventParamGDevice": "kEventParamDisplayDevice",
141
+ "kEventWindowDefDrawGrowBox": "kEventWindowDrawGrowBox",
142
+ "kEventWindowDefDispose": "kEventWindowDispose",
143
+ "kEventParamWindowModality": "typeWindowModality",
144
+ "kEventParamTextInputSendComponentInstance": "kEventParamTSMSendComponentInstance",
145
+ "kEventProcessCommand": "kEventCommandProcess",
146
+ "kEventPosToOffset": "kEventTextInputPosToOffset",
147
+ "kEventParamTextInputSendGlyphInfoArray": "kEventParamTextInputGlyphInfoArray",
148
+ "kEventWindowDefDragHilite": "kEventWindowDragHilite",
149
+ "kEventWindowDefDrawPart": "kEventWindowDrawPart",
150
+ "kEventWindowDefMeasureTitle": "kEventWindowMeasureTitle",
151
+ "kEventOffsetToPos": "kEventTextInputOffsetToPos",
152
+ "kMouseTrackingMousePressed": "kMouseTrackingMouseDown",
153
+ "kEventClassEPPC": "kEventClassAppleEvent",
154
+ "kEventParamTextInputSendRefCon": "kEventParamTSMSendRefCon",
155
+ "kEventParamTSMDocAccessSendRefCon": "kEventParamTSMSendRefCon",
156
+ "kEventTabletPointer": "kEventTabletPoint",
157
+ "kEventUnicodeForKeyEvent": "kEventTextInputUnicodeForKeyEvent",
158
+ "kEventWindowDefSetupProxyDragImage": "kEventWindowSetupProxyDragImage",
159
+ "kEventWindowDefGetRegion": "kEventWindowGetRegion",
160
+ "kEventWindowDefGetGrowImageRegion": "kEventWindowGetGrowImageRegion",
161
+ "kEventWindowDefModified": "kEventWindowModified",
162
+ "kEventControlGetSubviewForMouseEvent": "kEventControlInterceptSubviewClick",
163
+ "kEventWindowDefDrawFrame": "kEventWindowDrawFrame",
164
+ }
165
+ misc.update(
166
+ {
167
+ "EventHotKeyRef": objc.createOpaquePointerType(
168
+ "EventHotKeyRef", b"^{OpaqueEventHotKeyRef=}"
169
+ )
170
+ }
171
+ )
172
+ expressions = {}
173
+
174
+ # END OF FILE
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyobjc-framework-Carbon
3
+ Version: 11.0
4
+ Summary: Wrappers for the framework Carbon on macOS
5
+ Home-page: https://github.com/ronaldoussoren/pyobjc
6
+ Author: Ronald Oussoren
7
+ Author-email: pyobjc-dev@lists.sourceforge.net
8
+ License: MIT License
9
+ Keywords: PyObjC,Carbon
10
+ Platform: MacOS X
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Natural Language :: English
17
+ Classifier: Operating System :: MacOS :: MacOS X
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3 :: Only
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Objective C
29
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
+ Classifier: Topic :: Software Development :: User Interfaces
31
+ Requires-Python: >=3.9
32
+ Description-Content-Type: text/x-rst; charset=UTF-8
33
+ Requires-Dist: pyobjc-core>=11.0
34
+ Requires-Dist: pyobjc-framework-Cocoa>=11.0
35
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
36
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
37
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
38
+
39
+
40
+ Wrappers for the "Carbon" framework on macOS.
41
+
42
+ These wrappers don't include documentation, please check Apple's documentation
43
+ for information on how to use this framework and PyObjC's documentation
44
+ for general tips and tricks regarding the translation between Python
45
+ and (Objective-)C frameworks
46
+
47
+
48
+ Project links
49
+ -------------
50
+
51
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
52
+
53
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
54
+
55
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
56
+
@@ -0,0 +1,22 @@
1
+ License.txt
2
+ MANIFEST.in
3
+ ignore.txt
4
+ pyobjc_setup.py
5
+ pyproject.toml
6
+ setup.py
7
+ Lib/Carbon/__init__.py
8
+ Lib/Carbon/_metadata.py
9
+ Lib/pyobjc_framework_Carbon.egg-info/PKG-INFO
10
+ Lib/pyobjc_framework_Carbon.egg-info/SOURCES.txt
11
+ Lib/pyobjc_framework_Carbon.egg-info/dependency_links.txt
12
+ Lib/pyobjc_framework_Carbon.egg-info/not-zip-safe
13
+ Lib/pyobjc_framework_Carbon.egg-info/pyobjc-build-info.txt
14
+ Lib/pyobjc_framework_Carbon.egg-info/requires.txt
15
+ Lib/pyobjc_framework_Carbon.egg-info/top_level.txt
16
+ PyObjCTest/__init__.py
17
+ PyObjCTest/test_help_applehelp.py
18
+ PyObjCTest/test_hitoolbox_carbonevents.py
19
+ metadata/Carbon.fwinfo
20
+ metadata/metadata.ini
21
+ metadata/raw/arm64-15.0.fwinfo
22
+ metadata/raw/x86_64-15.0.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 15.3 (24D5040f)
2
+ Apple clang version 16.0.0 (clang-1600.0.26.6)
3
+ SDK: macOS 15.2
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=11.0
2
+ pyobjc-framework-Cocoa>=11.0
@@ -0,0 +1,10 @@
1
+ (This is the MIT license, note that libffi-src is a separate product with its own license)
2
+
3
+ Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
4
+ Copyright 2003-2024 - Ronald Oussoren
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
+
8
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,14 @@
1
+ include *.txt MANIFEST.in *.py
2
+ graft Doc
3
+ graft Examples
4
+ graft Lib
5
+ graft Modules
6
+ graft source-deps
7
+ graft PyObjCTest
8
+ graft metadata
9
+ global-exclude .DS_Store
10
+ global-exclude *.pyc
11
+ global-exclude *.pyo
12
+ global-exclude *.so
13
+ prune Lib/*/*.dSYM
14
+ prune PyObjCTest/*.dSYM
@@ -0,0 +1,53 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyobjc-framework-Carbon
3
+ Version: 11.0
4
+ Summary: Wrappers for the framework Carbon on macOS
5
+ Home-page: https://github.com/ronaldoussoren/pyobjc
6
+ Author: Ronald Oussoren
7
+ Author-email: pyobjc-dev@lists.sourceforge.net
8
+ License: MIT License
9
+ Keywords: PyObjC,Carbon
10
+ Platform: MacOS X
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Natural Language :: English
17
+ Classifier: Operating System :: MacOS :: MacOS X
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3 :: Only
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Objective C
29
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
+ Classifier: Topic :: Software Development :: User Interfaces
31
+ Requires-Python: >=3.9
32
+ Description-Content-Type: text/x-rst; charset=UTF-8
33
+ Requires-Dist: pyobjc-core>=11.0
34
+ Requires-Dist: pyobjc-framework-Cocoa>=11.0
35
+
36
+
37
+ Wrappers for the "Carbon" framework on macOS.
38
+
39
+ These wrappers don't include documentation, please check Apple's documentation
40
+ for information on how to use this framework and PyObjC's documentation
41
+ for general tips and tricks regarding the translation between Python
42
+ and (Objective-)C frameworks
43
+
44
+
45
+ Project links
46
+ -------------
47
+
48
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
49
+
50
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
51
+
52
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
53
+
@@ -0,0 +1 @@
1
+ """ testsuite """
@@ -0,0 +1,20 @@
1
+ from PyObjCTools.TestSupport import TestCase
2
+
3
+ import Carbon
4
+
5
+
6
+ class TestHelp_AppleHelp(TestCase):
7
+ def test_enum(self):
8
+ self.assertEqual(Carbon.kAHInternalErr, -10790)
9
+ self.assertEqual(Carbon.kAHInternetConfigPrefErr, -10791)
10
+
11
+ self.assertEqual(Carbon.kAHTOCTypeUser, 0)
12
+ self.assertEqual(Carbon.kAHTOCTypeDeveloper, 1)
13
+
14
+ def test_functions(self):
15
+ Carbon.AHSearch
16
+ Carbon.AHGotoMainTOC
17
+ Carbon.AHGotoPage
18
+ Carbon.AHLookupAnchor
19
+ self.assertArgIsIn(Carbon.AHRegisterHelpBook, 0)
20
+ Carbon.AHRegisterHelpBookWithURL
@@ -0,0 +1,38 @@
1
+ from PyObjCTools.TestSupport import TestCase
2
+
3
+ import Carbon
4
+
5
+
6
+ class TestHIToolbox_CarbonEvents(TestCase):
7
+ def test_structs(self):
8
+ v = Carbon.EventHotKeyID()
9
+ self.assertIsInstance(v.signature, int)
10
+ self.assertIsInstance(v.id, int)
11
+
12
+ def test_types(self):
13
+ self.assertIsOpaquePointer(Carbon.EventHotKeyRef)
14
+
15
+ def test_enum(self):
16
+ self.assertEqual(Carbon.kEventHotKeyNoOptions, 0)
17
+ self.assertEqual(Carbon.kEventHotKeyExclusive, 1 << 0)
18
+
19
+ self.assertEqual(Carbon.kHIHotKeyModeAllEnabled, 0)
20
+ self.assertEqual(Carbon.kHIHotKeyModeAllDisabled, 1 << 0)
21
+ self.assertEqual(Carbon.kHIHotKeyModeAllDisabledExceptUniversalAccess, 1 << 1)
22
+
23
+ def test_constants(self):
24
+ self.assertEqual(Carbon.kHISymbolicHotKeyCode, "kHISymbolicHotKeyCode")
25
+ self.assertEqual(
26
+ Carbon.kHISymbolicHotKeyModifiers, "kHISymbolicHotKeyModifiers"
27
+ )
28
+ self.assertEqual(Carbon.kHISymbolicHotKeyEnabled, "kHISymbolicHotKeyEnabled")
29
+
30
+ def test_functions(self):
31
+ self.assertArgIsOut(Carbon.RegisterEventHotKey, 5)
32
+ Carbon.UnregisterEventHotKey
33
+
34
+ self.assertArgIsOut(Carbon.CopySymbolicHotKeys, 0)
35
+ self.assertArgIsCFRetained(Carbon.CopySymbolicHotKeys, 0)
36
+
37
+ self.assertResultHasType(Carbon.PushSymbolicHotKeyMode, b"q")
38
+ self.assertArgHasType(Carbon.PopSymbolicHotKeyMode, 0, b"q")
@@ -0,0 +1,16 @@
1
+ "structs": {
2
+ "DataBrowserListViewColumnDesc": { "ignore": true },
3
+ "ControlButtonContentInfo": { "ignore": true },
4
+ "HIThemeButtonDrawInfo": { "ignore": true },
5
+ "ControlTabEntry": { "ignore": true },
6
+ "ThemeTrackDrawInfo": { "ignore": true },
7
+ "HIViewContentInfo": { "ignore": true },
8
+ "DataBrowserListViewHeaderDesc": { "ignore": true },
9
+ "HMHelpContent": { "ignore": true },
10
+ "DataBrowserAccessibilityItemInfo": { "ignore": true },
11
+ "WindowDefSpec": { "ignore": true },
12
+ "HIThemeTrackDrawInfo": { "ignore": true },
13
+ "ControlImageContentInfo": { "ignore": true },
14
+ "HIViewImageContentInfo": { "ignore": true },
15
+ "HMHelpContentRec": { "ignore": true }
16
+ },