Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | <html> | |
3 | <head> | |
4 | <link rel="STYLESHEET" href="mac.css" type='text/css' /> | |
5 | <link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" /> | |
6 | <link rel='start' href='../index.html' title='Python Documentation Index' /> | |
7 | <link rel="first" href="mac.html" title='Macintosh Library Modules' /> | |
8 | <link rel='contents' href='contents.html' title="Contents" /> | |
9 | <link rel='index' href='genindex.html' title='Index' /> | |
10 | <link rel='last' href='about.html' title='About this document...' /> | |
11 | <link rel='help' href='about.html' title='About this document...' /> | |
12 | <link rel="next" href="undocumented-modules.html" /> | |
13 | <link rel="prev" href="scripting.html" /> | |
14 | <link rel="parent" href="mac.html" /> | |
15 | <link rel="next" href="module-Carbon.AE.html" /> | |
16 | <meta name='aesop' content='information' /> | |
17 | <title>4. MacOS Toolbox Modules </title> | |
18 | </head> | |
19 | <body> | |
20 | <DIV CLASS="navigation"> | |
21 | <div id='top-navigation-panel' xml:id='top-navigation-panel'> | |
22 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> | |
23 | <tr> | |
24 | <td class='online-navigation'><a rel="prev" title="3.5.1 AEServer Objects" | |
25 | href="aeserver-objects.html"><img src='../icons/previous.png' | |
26 | border='0' height='32' alt='Previous Page' width='32' /></A></td> | |
27 | <td class='online-navigation'><a rel="parent" title="Macintosh Library Modules" | |
28 | href="mac.html"><img src='../icons/up.png' | |
29 | border='0' height='32' alt='Up One Level' width='32' /></A></td> | |
30 | <td class='online-navigation'><a rel="next" title="4.1 Carbon.AE " | |
31 | href="module-Carbon.AE.html"><img src='../icons/next.png' | |
32 | border='0' height='32' alt='Next Page' width='32' /></A></td> | |
33 | <td align="center" width="100%">Macintosh Library Modules</td> | |
34 | <td class='online-navigation'><a rel="contents" title="Table of Contents" | |
35 | href="contents.html"><img src='../icons/contents.png' | |
36 | border='0' height='32' alt='Contents' width='32' /></A></td> | |
37 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' | |
38 | border='0' height='32' alt='Module Index' width='32' /></a></td> | |
39 | <td class='online-navigation'><a rel="index" title="Index" | |
40 | href="genindex.html"><img src='../icons/index.png' | |
41 | border='0' height='32' alt='Index' width='32' /></A></td> | |
42 | </tr></table> | |
43 | <div class='online-navigation'> | |
44 | <b class="navlabel">Previous:</b> | |
45 | <a class="sectref" rel="prev" href="aeserver-objects.html">3.5.1 AEServer Objects</A> | |
46 | <b class="navlabel">Up:</b> | |
47 | <a class="sectref" rel="parent" href="mac.html">Macintosh Library Modules</A> | |
48 | <b class="navlabel">Next:</b> | |
49 | <a class="sectref" rel="next" href="module-Carbon.AE.html">4.1 Carbon.AE </A> | |
50 | </div> | |
51 | <hr /></div> | |
52 | </DIV> | |
53 | <!--End of Navigation Panel--> | |
54 | ||
55 | <H1><A NAME="SECTION006000000000000000000"></A><A NAME="toolbox"></A> | |
56 | <BR> | |
57 | 4. MacOS Toolbox Modules | |
58 | </H1> | |
59 | ||
60 | <P> | |
61 | There are a set of modules that provide interfaces to various MacOS | |
62 | toolboxes. If applicable the module will define a number of Python | |
63 | objects for the various structures declared by the toolbox, and | |
64 | operations will be implemented as methods of the object. Other | |
65 | operations will be implemented as functions in the module. Not all | |
66 | operations possible in C will also be possible in Python (callbacks | |
67 | are often a problem), and parameters will occasionally be different in | |
68 | Python (input and output buffers, especially). All methods and | |
69 | functions have a <tt class="member">__doc__</tt> string describing their arguments | |
70 | and return values, and for additional description you are referred to | |
71 | <em class="citetitle"><a | |
72 | href="http://developer.apple.com/documentation/macos8/mac8.html" | |
73 | title="Inside | |
74 | Macintosh" | |
75 | >Inside | |
76 | Macintosh</a></em> or similar works. | |
77 | ||
78 | <P> | |
79 | These modules all live in a package called <tt class="module">Carbon</tt>. Despite that name | |
80 | they are not all part of the Carbon framework: CF is really in the CoreFoundation | |
81 | framework and Qt is in the QuickTime framework. | |
82 | The normal use pattern is | |
83 | ||
84 | <P> | |
85 | <div class="verbatim"><pre> | |
86 | from Carbon import AE | |
87 | </pre></div> | |
88 | ||
89 | <P> | |
90 | <strong>Warning!</strong> These modules are not yet documented. If you | |
91 | wish to contribute documentation of any of these modules, please get | |
92 | in touch with <span class="email">docs@python.org</span>. | |
93 | ||
94 | <P> | |
95 | <table class='synopsistable' valign='baseline'> | |
96 | <tr class='oddrow'> | |
97 | <td><b><tt class='module'><a href='module-Carbon.AE.html'>Carbon.AE</a></tt></b></td> | |
98 | <td> </td> | |
99 | <td class='synopsis'>Interface to the Apple Events toolbox.</td></tr> | |
100 | <tr><td><b><tt class='module'><a href='module-Carbon.AH.html'>Carbon.AH</a></tt></b></td> | |
101 | <td> </td> | |
102 | <td class='synopsis'>Interface to the Apple Help manager.</td></tr> | |
103 | <tr class='oddrow'> | |
104 | <td><b><tt class='module'><a href='module-Carbon.App.html'>Carbon.App</a></tt></b></td> | |
105 | <td> </td> | |
106 | <td class='synopsis'>Interface to the Appearance Manager.</td></tr> | |
107 | <tr><td><b><tt class='module'><a href='module-Carbon.CF.html'>Carbon.CF</a></tt></b></td> | |
108 | <td> </td> | |
109 | <td class='synopsis'>Interface to the Core Foundation.</td></tr> | |
110 | <tr class='oddrow'> | |
111 | <td><b><tt class='module'><a href='module-Carbon.CG.html'>Carbon.CG</a></tt></b></td> | |
112 | <td> </td> | |
113 | <td class='synopsis'>Interface to the Component Manager.</td></tr> | |
114 | <tr><td><b><tt class='module'><a href='module-Carbon.CaronEvt.html'>Carbon.CaronEvt</a></tt></b></td> | |
115 | <td> </td> | |
116 | <td class='synopsis'>Interface to the Carbon Event Manager.</td></tr> | |
117 | <tr class='oddrow'> | |
118 | <td><b><tt class='module'><a href='module-Carbon.Cm.html'>Carbon.Cm</a></tt></b></td> | |
119 | <td> </td> | |
120 | <td class='synopsis'>Interface to the Component Manager.</td></tr> | |
121 | <tr><td><b><tt class='module'><a href='module-Carbon.Ctl.html'>Carbon.Ctl</a></tt></b></td> | |
122 | <td> </td> | |
123 | <td class='synopsis'>Interface to the Control Manager.</td></tr> | |
124 | <tr class='oddrow'> | |
125 | <td><b><tt class='module'><a href='module-Carbon.Dlg.html'>Carbon.Dlg</a></tt></b></td> | |
126 | <td> </td> | |
127 | <td class='synopsis'>Interface to the Dialog Manager.</td></tr> | |
128 | <tr><td><b><tt class='module'><a href='module-Carbon.Evt.html'>Carbon.Evt</a></tt></b></td> | |
129 | <td> </td> | |
130 | <td class='synopsis'>Interface to the classic Event Manager.</td></tr> | |
131 | <tr class='oddrow'> | |
132 | <td><b><tt class='module'><a href='module-Carbon.Fm.html'>Carbon.Fm</a></tt></b></td> | |
133 | <td> </td> | |
134 | <td class='synopsis'>Interface to the Font Manager.</td></tr> | |
135 | <tr><td><b><tt class='module'><a href='module-Carbon.Folder.html'>Carbon.Folder</a></tt></b></td> | |
136 | <td> </td> | |
137 | <td class='synopsis'>Interface to the Folder Manager.</td></tr> | |
138 | <tr class='oddrow'> | |
139 | <td><b><tt class='module'><a href='module-Carbon.Help.html'>Carbon.Help</a></tt></b></td> | |
140 | <td> </td> | |
141 | <td class='synopsis'>Interface to the Carbon Help Manager.</td></tr> | |
142 | <tr><td><b><tt class='module'><a href='module-Carbon.List.html'>Carbon.List</a></tt></b></td> | |
143 | <td> </td> | |
144 | <td class='synopsis'>Interface to the List Manager.</td></tr> | |
145 | <tr class='oddrow'> | |
146 | <td><b><tt class='module'><a href='module-Carbon.Menu.html'>Carbon.Menu</a></tt></b></td> | |
147 | <td> </td> | |
148 | <td class='synopsis'>Interface to the Menu Manager.</td></tr> | |
149 | <tr><td><b><tt class='module'><a href='module-Carbon.Mlte.html'>Carbon.Mlte</a></tt></b></td> | |
150 | <td> </td> | |
151 | <td class='synopsis'>Interface to the MultiLingual Text Editor.</td></tr> | |
152 | <tr class='oddrow'> | |
153 | <td><b><tt class='module'><a href='module-Carbon.Qd.html'>Carbon.Qd</a></tt></b></td> | |
154 | <td> </td> | |
155 | <td class='synopsis'>Interface to the QuickDraw toolbox.</td></tr> | |
156 | <tr><td><b><tt class='module'><a href='module-Carbon.Qdoffs.html'>Carbon.Qdoffs</a></tt></b></td> | |
157 | <td> </td> | |
158 | <td class='synopsis'>Interface to the QuickDraw Offscreen APIs.</td></tr> | |
159 | <tr class='oddrow'> | |
160 | <td><b><tt class='module'><a href='module-Carbon.Qt.html'>Carbon.Qt</a></tt></b></td> | |
161 | <td> </td> | |
162 | <td class='synopsis'>Interface to the QuickTime toolbox.</td></tr> | |
163 | <tr><td><b><tt class='module'><a href='module-Carbon.Res.html'>Carbon.Res</a></tt></b></td> | |
164 | <td> </td> | |
165 | <td class='synopsis'>Interface to the Resource Manager and Handles.</td></tr> | |
166 | <tr class='oddrow'> | |
167 | <td><b><tt class='module'><a href='module-Carbon.Scrap.html'>Carbon.Scrap</a></tt></b></td> | |
168 | <td> </td> | |
169 | <td class='synopsis'>Interface to the Carbon Scrap Manager.</td></tr> | |
170 | <tr><td><b><tt class='module'><a href='module-Carbon.Snd.html'>Carbon.Snd</a></tt></b></td> | |
171 | <td> </td> | |
172 | <td class='synopsis'>Interface to the Sound Manager.</td></tr> | |
173 | <tr class='oddrow'> | |
174 | <td><b><tt class='module'><a href='module-Carbon.TE.html'>Carbon.TE</a></tt></b></td> | |
175 | <td> </td> | |
176 | <td class='synopsis'>Interface to TextEdit.</td></tr> | |
177 | <tr><td><b><tt class='module'><a href='module-Carbon.Win.html'>Carbon.Win</a></tt></b></td> | |
178 | <td> </td> | |
179 | <td class='synopsis'>Interface to the Window Manager.</td></tr> | |
180 | <tr class='oddrow'> | |
181 | <td><b><tt class='module'><a href='module-ColorPicker.html'>ColorPicker</a></tt></b></td> | |
182 | <td> </td> | |
183 | <td class='synopsis'>Interface to the standard color selection dialog.</td></tr> | |
184 | </table> | |
185 | ||
186 | <BR> | |
187 | <P> | |
188 | ||
189 | <DIV CLASS="navigation"> | |
190 | <div class='online-navigation'> | |
191 | <p></p><hr /> | |
192 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> | |
193 | <tr> | |
194 | <td class='online-navigation'><a rel="prev" title="3.5.1 AEServer Objects" | |
195 | href="aeserver-objects.html"><img src='../icons/previous.png' | |
196 | border='0' height='32' alt='Previous Page' width='32' /></A></td> | |
197 | <td class='online-navigation'><a rel="parent" title="Macintosh Library Modules" | |
198 | href="mac.html"><img src='../icons/up.png' | |
199 | border='0' height='32' alt='Up One Level' width='32' /></A></td> | |
200 | <td class='online-navigation'><a rel="next" title="4.1 Carbon.AE " | |
201 | href="module-Carbon.AE.html"><img src='../icons/next.png' | |
202 | border='0' height='32' alt='Next Page' width='32' /></A></td> | |
203 | <td align="center" width="100%">Macintosh Library Modules</td> | |
204 | <td class='online-navigation'><a rel="contents" title="Table of Contents" | |
205 | href="contents.html"><img src='../icons/contents.png' | |
206 | border='0' height='32' alt='Contents' width='32' /></A></td> | |
207 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' | |
208 | border='0' height='32' alt='Module Index' width='32' /></a></td> | |
209 | <td class='online-navigation'><a rel="index" title="Index" | |
210 | href="genindex.html"><img src='../icons/index.png' | |
211 | border='0' height='32' alt='Index' width='32' /></A></td> | |
212 | </tr></table> | |
213 | <div class='online-navigation'> | |
214 | <b class="navlabel">Previous:</b> | |
215 | <a class="sectref" rel="prev" href="aeserver-objects.html">3.5.1 AEServer Objects</A> | |
216 | <b class="navlabel">Up:</b> | |
217 | <a class="sectref" rel="parent" href="mac.html">Macintosh Library Modules</A> | |
218 | <b class="navlabel">Next:</b> | |
219 | <a class="sectref" rel="next" href="module-Carbon.AE.html">4.1 Carbon.AE </A> | |
220 | </div> | |
221 | </div> | |
222 | <hr /> | |
223 | <span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span> | |
224 | </DIV> | |
225 | <!--End of Navigation Panel--> | |
226 | <ADDRESS> | |
227 | See <i><a href="about.html">About this document...</a></i> for information on suggesting changes. | |
228 | </ADDRESS> | |
229 | </BODY> | |
230 | </HTML> |