API Notes: Carbon framework¶
The full API is described in Apple’s documentation, both the C and Objective-C APIs are available (but see the API Notes below).
These bindings are accessed through the Carbon
package (that is, import Carbon
).
API Notes¶
Note
Only a limited subset of the framework has been exposed to Python. Please file and issue if you have a use case for using an unexposed API.
The following API groups are not available:
HIToolbox: Use
AppKit
insteadRegisterEventHotKey()
: Is available.UnregisterEventHotKey()
: Is available.CopySymbolicHotKeys()
: Is available.PushSymbolicHotKeyMode()
: Is available.PopSymbolicHotKeyMode()
: Is available.GetSymbolicHotKeyMode()
: Is available.
OpenScripting: Use
ScriptingBridge
instead.SecurityHI: Use
SecurityInterface
instead.SpeechRecognition: Use
NSSpeechRecognizer
instead.