#
4. MacOS Toolbox Modules

There are a set of modules that provide interfaces to various MacOS toolboxes. If applicable the module will define a number of Python objects for the various structures declared by the toolbox, and operations will be implemented as methods of the object. Other operations will be implemented as functions in the module. Not all operations possible in C will also be possible in Python (callbacks are often a problem), and parameters will occasionally be different in Python (input and output buffers, especially). All methods and functions have a `__doc__` string describing their arguments and return values, and for additional description you are referred to Inside Macintosh or similar works.

These modules all live in a package called `Carbon`. Despite that name they are not all part of the Carbon framework: CF is really in the CoreFoundation framework and Qt is in the QuickTime framework. The normal use pattern is

    from Carbon import AE

Warning! These modules are not yet documented. If you wish to contribute documentation of any of these modules, please get in touch with python-docs@python.org.

`Carbon.AE` |  | Interface to the Apple Events toolbox.
`Carbon.AH` |  | Interface to the Apple Help manager.
`Carbon.App` |  | Interface to the Appearance Manager.
`Carbon.CF` |  | Interface to the Core Foundation.
`Carbon.CG` |  | Interface to the Component Manager.
`Carbon.CaronEvt` |  | Interface to the Carbon Event Manager.
`Carbon.Cm` |  | Interface to the Component Manager.
`Carbon.Ctl` |  | Interface to the Control Manager.
`Carbon.Dlg` |  | Interface to the Dialog Manager.
`Carbon.Evt` |  | Interface to the classic Event Manager.
`Carbon.Fm` |  | Interface to the Font Manager.
`Carbon.Folder` |  | Interface to the Folder Manager.
`Carbon.Help` |  | Interface to the Carbon Help Manager.
`Carbon.List` |  | Interface to the List Manager.
`Carbon.Menu` |  | Interface to the Menu Manager.
`Carbon.Mlte` |  | Interface to the MultiLingual Text Editor.
`Carbon.Qd` |  | Interface to the QuickDraw toolbox.
`Carbon.Qdoffs` |  | Interface to the QuickDraw Offscreen APIs.
`Carbon.Qt` |  | Interface to the QuickTime toolbox.
`Carbon.Res` |  | Interface to the Resource Manager and Handles.
`Carbon.Scrap` |  | Interface to the Carbon Scrap Manager.
`Carbon.Snd` |  | Interface to the Sound Manager.
`Carbon.TE` |  | Interface to TextEdit.
`Carbon.Win` |  | Interface to the Window Manager.
`ColorPicker` |  | Interface to the standard color selection dialog.