Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v8plus / html / python / mac / toolbox.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<link rel="STYLESHEET" href="mac.css" type='text/css' />
<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
<link rel='start' href='../index.html' title='Python Documentation Index' />
<link rel="first" href="mac.html" title='Macintosh Library Modules' />
<link rel='contents' href='contents.html' title="Contents" />
<link rel='index' href='genindex.html' title='Index' />
<link rel='last' href='about.html' title='About this document...' />
<link rel='help' href='about.html' title='About this document...' />
<link rel="next" href="undocumented-modules.html" />
<link rel="prev" href="scripting.html" />
<link rel="parent" href="mac.html" />
<link rel="next" href="module-Carbon.AE.html" />
<meta name='aesop' content='information' />
<title>4. MacOS Toolbox Modules </title>
</head>
<body>
<DIV CLASS="navigation">
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="3.5.1 AEServer Objects"
href="aeserver-objects.html"><img src='../icons/previous.png'
border='0' height='32' alt='Previous Page' width='32' /></A></td>
<td class='online-navigation'><a rel="parent" title="Macintosh Library Modules"
href="mac.html"><img src='../icons/up.png'
border='0' height='32' alt='Up One Level' width='32' /></A></td>
<td class='online-navigation'><a rel="next" title="4.1 Carbon.AE "
href="module-Carbon.AE.html"><img src='../icons/next.png'
border='0' height='32' alt='Next Page' width='32' /></A></td>
<td align="center" width="100%">Macintosh Library Modules</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
href="contents.html"><img src='../icons/contents.png'
border='0' height='32' alt='Contents' width='32' /></A></td>
<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
border='0' height='32' alt='Module Index' width='32' /></a></td>
<td class='online-navigation'><a rel="index" title="Index"
href="genindex.html"><img src='../icons/index.png'
border='0' height='32' alt='Index' width='32' /></A></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="aeserver-objects.html">3.5.1 AEServer Objects</A>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="mac.html">Macintosh Library Modules</A>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="module-Carbon.AE.html">4.1 Carbon.AE </A>
</div>
<hr /></div>
</DIV>
<!--End of Navigation Panel-->
<H1><A NAME="SECTION006000000000000000000"></A><A NAME="toolbox"></A>
<BR>
4. MacOS Toolbox Modules
</H1>
<P>
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 <tt class="member">__doc__</tt> string describing their arguments
and return values, and for additional description you are referred to
<em class="citetitle"><a
href="http://developer.apple.com/documentation/macos8/mac8.html"
title="Inside
Macintosh"
>Inside
Macintosh</a></em> or similar works.
<P>
These modules all live in a package called <tt class="module">Carbon</tt>. 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
<P>
<div class="verbatim"><pre>
from Carbon import AE
</pre></div>
<P>
<strong>Warning!</strong> These modules are not yet documented. If you
wish to contribute documentation of any of these modules, please get
in touch with <span class="email">docs@python.org</span>.
<P>
<table class='synopsistable' valign='baseline'>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-Carbon.AE.html'>Carbon.AE</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Apple Events toolbox.</td></tr>
<tr><td><b><tt class='module'><a href='module-Carbon.AH.html'>Carbon.AH</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Apple Help manager.</td></tr>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-Carbon.App.html'>Carbon.App</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Appearance Manager.</td></tr>
<tr><td><b><tt class='module'><a href='module-Carbon.CF.html'>Carbon.CF</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Core Foundation.</td></tr>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-Carbon.CG.html'>Carbon.CG</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Component Manager.</td></tr>
<tr><td><b><tt class='module'><a href='module-Carbon.CaronEvt.html'>Carbon.CaronEvt</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Carbon Event Manager.</td></tr>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-Carbon.Cm.html'>Carbon.Cm</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Component Manager.</td></tr>
<tr><td><b><tt class='module'><a href='module-Carbon.Ctl.html'>Carbon.Ctl</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Control Manager.</td></tr>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-Carbon.Dlg.html'>Carbon.Dlg</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Dialog Manager.</td></tr>
<tr><td><b><tt class='module'><a href='module-Carbon.Evt.html'>Carbon.Evt</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the classic Event Manager.</td></tr>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-Carbon.Fm.html'>Carbon.Fm</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Font Manager.</td></tr>
<tr><td><b><tt class='module'><a href='module-Carbon.Folder.html'>Carbon.Folder</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Folder Manager.</td></tr>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-Carbon.Help.html'>Carbon.Help</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Carbon Help Manager.</td></tr>
<tr><td><b><tt class='module'><a href='module-Carbon.List.html'>Carbon.List</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the List Manager.</td></tr>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-Carbon.Menu.html'>Carbon.Menu</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Menu Manager.</td></tr>
<tr><td><b><tt class='module'><a href='module-Carbon.Mlte.html'>Carbon.Mlte</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the MultiLingual Text Editor.</td></tr>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-Carbon.Qd.html'>Carbon.Qd</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the QuickDraw toolbox.</td></tr>
<tr><td><b><tt class='module'><a href='module-Carbon.Qdoffs.html'>Carbon.Qdoffs</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the QuickDraw Offscreen APIs.</td></tr>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-Carbon.Qt.html'>Carbon.Qt</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the QuickTime toolbox.</td></tr>
<tr><td><b><tt class='module'><a href='module-Carbon.Res.html'>Carbon.Res</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Resource Manager and Handles.</td></tr>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-Carbon.Scrap.html'>Carbon.Scrap</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Carbon Scrap Manager.</td></tr>
<tr><td><b><tt class='module'><a href='module-Carbon.Snd.html'>Carbon.Snd</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Sound Manager.</td></tr>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-Carbon.TE.html'>Carbon.TE</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to TextEdit.</td></tr>
<tr><td><b><tt class='module'><a href='module-Carbon.Win.html'>Carbon.Win</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the Window Manager.</td></tr>
<tr class='oddrow'>
<td><b><tt class='module'><a href='module-ColorPicker.html'>ColorPicker</a></tt></b></td>
<td>&nbsp;</td>
<td class='synopsis'>Interface to the standard color selection dialog.</td></tr>
</table>
<BR>
<P>
<DIV CLASS="navigation">
<div class='online-navigation'>
<p></p><hr />
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="3.5.1 AEServer Objects"
href="aeserver-objects.html"><img src='../icons/previous.png'
border='0' height='32' alt='Previous Page' width='32' /></A></td>
<td class='online-navigation'><a rel="parent" title="Macintosh Library Modules"
href="mac.html"><img src='../icons/up.png'
border='0' height='32' alt='Up One Level' width='32' /></A></td>
<td class='online-navigation'><a rel="next" title="4.1 Carbon.AE "
href="module-Carbon.AE.html"><img src='../icons/next.png'
border='0' height='32' alt='Next Page' width='32' /></A></td>
<td align="center" width="100%">Macintosh Library Modules</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
href="contents.html"><img src='../icons/contents.png'
border='0' height='32' alt='Contents' width='32' /></A></td>
<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
border='0' height='32' alt='Module Index' width='32' /></a></td>
<td class='online-navigation'><a rel="index" title="Index"
href="genindex.html"><img src='../icons/index.png'
border='0' height='32' alt='Index' width='32' /></A></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="aeserver-objects.html">3.5.1 AEServer Objects</A>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="mac.html">Macintosh Library Modules</A>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="module-Carbon.AE.html">4.1 Carbon.AE </A>
</div>
</div>
<hr />
<span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span>
</DIV>
<!--End of Navigation Panel-->
<ADDRESS>
See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
</ADDRESS>
</BODY>
</HTML>