1 \chapter{MacOS Toolbox Modules
\label{toolbox
}}
3 There are a set of modules that provide interfaces to various MacOS
4 toolboxes. If applicable the module will define a number of Python
5 objects for the various structures declared by the toolbox, and
6 operations will be implemented as methods of the object. Other
7 operations will be implemented as functions in the module. Not all
8 operations possible in C will also be possible in Python (callbacks
9 are often a problem), and parameters will occasionally be different in
10 Python (input and output buffers, especially). All methods and
11 functions have a
\member{__doc__
} string describing their arguments
12 and return values, and for additional description you are referred to
13 \citetitle[http://developer.apple.com/documentation/macos8/mac8.html
]{Inside
14 Macintosh
} or similar works.
16 These modules all live in a package called
\module{Carbon
}. Despite that name
17 they are not all part of the Carbon framework: CF is really in the CoreFoundation
18 framework and Qt is in the QuickTime framework.
19 The normal use pattern is
25 \strong{Warning!
} These modules are not yet documented. If you
26 wish to contribute documentation of any of these modules, please get
27 in touch with
\email{docs@python.org
}.
32 %\section{Argument Handling for Toolbox Modules}
35 \section{\module{Carbon.AE
} --- Apple Events
}
36 \declaremodule{standard
}{Carbon.AE
}
38 \modulesynopsis{Interface to the Apple Events toolbox.
}
40 \section{\module{Carbon.AH
} --- Apple Help
}
41 \declaremodule{standard
}{Carbon.AH
}
43 \modulesynopsis{Interface to the Apple Help manager.
}
46 \section{\module{Carbon.App
} --- Appearance Manager
}
47 \declaremodule{standard
}{Carbon.App
}
49 \modulesynopsis{Interface to the Appearance Manager.
}
52 \section{\module{Carbon.CF
} --- Core Foundation
}
53 \declaremodule{standard
}{Carbon.CF
}
55 \modulesynopsis{Interface to the Core Foundation.
}
58 \code{CFBase
},
\code{CFArray
},
\code{CFData
},
\code{CFDictionary
},
59 \code{CFString
} and
\code{CFURL
} objects are supported, some
62 \section{\module{Carbon.CG
} --- Core Graphics
}
63 \declaremodule{standard
}{Carbon.CG
}
65 \modulesynopsis{Interface to the Component Manager.
}
67 \section{\module{Carbon.CarbonEvt
} --- Carbon Event Manager
}
68 \declaremodule{standard
}{Carbon.CaronEvt
}
70 \modulesynopsis{Interface to the Carbon Event Manager.
}
72 \section{\module{Carbon.Cm
} --- Component Manager
}
73 \declaremodule{standard
}{Carbon.Cm
}
75 \modulesynopsis{Interface to the Component Manager.
}
78 \section{\module{Carbon.Ctl
} --- Control Manager
}
79 \declaremodule{standard
}{Carbon.Ctl
}
81 \modulesynopsis{Interface to the Control Manager.
}
84 \section{\module{Carbon.Dlg
} --- Dialog Manager
}
85 \declaremodule{standard
}{Carbon.Dlg
}
87 \modulesynopsis{Interface to the Dialog Manager.
}
90 \section{\module{Carbon.Evt
} --- Event Manager
}
91 \declaremodule{standard
}{Carbon.Evt
}
93 \modulesynopsis{Interface to the classic Event Manager.
}
96 \section{\module{Carbon.Fm
} --- Font Manager
}
97 \declaremodule{standard
}{Carbon.Fm
}
99 \modulesynopsis{Interface to the Font Manager.
}
101 \section{\module{Carbon.Folder
} --- Folder Manager
}
102 \declaremodule{standard
}{Carbon.Folder
}
104 \modulesynopsis{Interface to the Folder Manager.
}
107 \section{\module{Carbon.Help
} --- Help Manager
}
108 \declaremodule{standard
}{Carbon.Help
}
110 \modulesynopsis{Interface to the Carbon Help Manager.
}
112 \section{\module{Carbon.List
} --- List Manager
}
113 \declaremodule{standard
}{Carbon.List
}
115 \modulesynopsis{Interface to the List Manager.
}
118 \section{\module{Carbon.Menu
} --- Menu Manager
}
119 \declaremodule{standard
}{Carbon.Menu
}
121 \modulesynopsis{Interface to the Menu Manager.
}
124 \section{\module{Carbon.Mlte
} --- MultiLingual Text Editor
}
125 \declaremodule{standard
}{Carbon.Mlte
}
127 \modulesynopsis{Interface to the MultiLingual Text Editor.
}
130 \section{\module{Carbon.Qd
} --- QuickDraw
}
131 \declaremodule{builtin
}{Carbon.Qd
}
133 \modulesynopsis{Interface to the QuickDraw toolbox.
}
136 \section{\module{Carbon.Qdoffs
} --- QuickDraw Offscreen
}
137 \declaremodule{builtin
}{Carbon.Qdoffs
}
139 \modulesynopsis{Interface to the QuickDraw Offscreen APIs.
}
142 \section{\module{Carbon.Qt
} --- QuickTime
}
143 \declaremodule{standard
}{Carbon.Qt
}
145 \modulesynopsis{Interface to the QuickTime toolbox.
}
148 \section{\module{Carbon.Res
} --- Resource Manager and Handles
}
149 \declaremodule{standard
}{Carbon.Res
}
151 \modulesynopsis{Interface to the Resource Manager and Handles.
}
153 \section{\module{Carbon.Scrap
} --- Scrap Manager
}
154 \declaremodule{standard
}{Carbon.Scrap
}
156 \modulesynopsis{Interface to the Carbon Scrap Manager.
}
158 \section{\module{Carbon.Snd
} --- Sound Manager
}
159 \declaremodule{standard
}{Carbon.Snd
}
161 \modulesynopsis{Interface to the Sound Manager.
}
164 \section{\module{Carbon.TE
} --- TextEdit
}
165 \declaremodule{standard
}{Carbon.TE
}
167 \modulesynopsis{Interface to TextEdit.
}
170 \section{\module{Carbon.Win
} --- Window Manager
}
171 \declaremodule{standard
}{Carbon.Win
}
173 \modulesynopsis{Interface to the Window Manager.
}