Fred Drake | 4d0d621 | 2000-10-14 05:08:34 +0000 | [diff] [blame] | 1 | \chapter{MacOS Toolbox Modules \label{toolbox}} |
| 2 | |
| 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/techpubs/macos8/mac8.html]{Inside |
| 14 | Macintosh} or similar works. |
| 15 | |
| 16 | |
| 17 | \strong{Warning!} These modules are not yet documented. If you |
| 18 | wish to contribute documentation of any of these modules, please get |
| 19 | in touch with \email{python-docs@python.org}. |
| 20 | |
| 21 | \localmoduletable |
| 22 | |
| 23 | |
| 24 | %\section{Argument Handling for Toolbox Modules} |
| 25 | |
| 26 | |
| 27 | \section{\module{AE} --- Apple Events} |
| 28 | \declaremodule{standard}{AE} |
| 29 | \platform{Mac} |
| 30 | \modulesynopsis{Interface to the Apple Events toolbox} |
| 31 | |
| 32 | |
| 33 | \section{\module{Cm} --- Component Manager} |
| 34 | \declaremodule{standard}{Cm} |
| 35 | \platform{Cm} |
| 36 | \modulesynopsis{Interface to the Component Manager} |
| 37 | |
| 38 | |
| 39 | \section{\module{Ctl} --- Control Manager} |
| 40 | \declaremodule{standard}{Ctl} |
| 41 | \platform{Mac} |
| 42 | \modulesynopsis{Interface to the Control Manager} |
| 43 | |
| 44 | |
| 45 | \section{\module{Dlg} --- Dialog Manager} |
| 46 | \declaremodule{standard}{Dlg} |
| 47 | \platform{Mac} |
| 48 | \modulesynopsis{Interface to the Dialog Manager} |
| 49 | |
| 50 | |
| 51 | \section{\module{Evt} --- Event Manager} |
| 52 | \declaremodule{standard}{Evt} |
| 53 | \platform{Mac} |
| 54 | \modulesynopsis{Interface to the Event Manager} |
| 55 | |
| 56 | |
| 57 | \section{\module{Fm} --- Font Manager} |
| 58 | \declaremodule{standard}{Fm} |
| 59 | \platform{Mac} |
| 60 | \modulesynopsis{Interface to the Font Manager} |
| 61 | |
| 62 | |
| 63 | \section{\module{List} --- List Manager} |
| 64 | \declaremodule{standard}{List} |
| 65 | \platform{Mac} |
| 66 | \modulesynopsis{Interface to the List Manager} |
| 67 | |
| 68 | |
| 69 | \section{\module{Menu} --- Menu Manager} |
| 70 | \declaremodule{standard}{Menu} |
| 71 | \platform{Mac} |
| 72 | \modulesynopsis{Interface to the Menu Manager} |
| 73 | |
| 74 | |
| 75 | \section{\module{Qd} --- QuickDraw} |
| 76 | \declaremodule{builtin}{Qd} |
| 77 | \platform{Mac} |
| 78 | \modulesynopsis{Interface to the QuickDraw toolbox} |
| 79 | |
| 80 | |
| 81 | \section{\module{Qt} --- QuickTime} |
| 82 | \declaremodule{standard}{Qt} |
| 83 | \platform{Mac} |
| 84 | \modulesynopsis{Interface to the QuickTime toolbox} |
| 85 | |
| 86 | |
| 87 | \section{\module{Res} --- Resource Manager and Handles} |
| 88 | \declaremodule{standard}{Res} |
| 89 | \platform{Mac} |
| 90 | \modulesynopsis{Interface to the Resource Manager and Handles} |
| 91 | |
| 92 | |
| 93 | \section{\module{Scrap} --- Scrap Manager} |
| 94 | \declaremodule{standard}{Scrap} |
| 95 | \platform{Mac} |
| 96 | \modulesynopsis{Interface to the Scrap Manager} |
| 97 | |
| 98 | |
| 99 | \section{\module{Snd} --- Sound Manager} |
| 100 | \declaremodule{standard}{Snd} |
| 101 | \platform{Mac} |
| 102 | \modulesynopsis{Interface to the Sound Manager } |
| 103 | |
| 104 | |
| 105 | \section{\module{TE} --- TextEdit} |
| 106 | \declaremodule{standard}{TE} |
| 107 | \platform{Mac} |
| 108 | \modulesynopsis{Interface to TextEdit} |
| 109 | |
| 110 | |
| 111 | \section{\module{waste} --- non-Apple \program{TextEdit} replacement} |
| 112 | \declaremodule{standard}{waste} |
| 113 | \platform{Mac} |
| 114 | \modulesynopsis{Interface to the ``WorldScript-Aware Styled Text Engine.''} |
| 115 | |
| 116 | \begin{seealso} |
| 117 | \seetitle[http://www.merzwaren.com/waste/]{About WASTE}{Information |
| 118 | about the WASTE widget and library, including |
| 119 | documentation and downloads.} |
| 120 | \end{seealso} |
| 121 | |
| 122 | |
| 123 | \section{\module{Win} --- Window Manager} |
| 124 | \declaremodule{standard}{Win} |
| 125 | \platform{Mac} |
| 126 | \modulesynopsis{Interface to the Window Manager} |