summaryrefslogtreecommitdiffstats
path: root/Doc/mac/toolbox.tex
blob: 9f48566a24bf2a37aa3f679cf25ace468e8540c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
\chapter{MacOS Toolbox Modules \label{toolbox}}

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 \member{__doc__} string describing their arguments
and return values, and for additional description you are referred to
\citetitle[http://developer.apple.com/techpubs/macos8/mac8.html]{Inside
Macintosh} or similar works.


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

\localmoduletable


%\section{Argument Handling for Toolbox Modules}


\section{\module{AE} --- Apple Events}
\declaremodule{standard}{AE}
  \platform{Mac}
\modulesynopsis{Interface to the Apple Events toolbox}


\section{\module{Cm} --- Component Manager}
\declaremodule{standard}{Cm}
  \platform{Mac}
\modulesynopsis{Interface to the Component Manager}


\section{\module{Ctl} --- Control Manager}
\declaremodule{standard}{Ctl}
  \platform{Mac}
\modulesynopsis{Interface to the Control Manager}


\section{\module{Dlg} --- Dialog Manager}
\declaremodule{standard}{Dlg}
  \platform{Mac}
\modulesynopsis{Interface to the Dialog Manager}


\section{\module{Evt} --- Event Manager}
\declaremodule{standard}{Evt}
  \platform{Mac}
\modulesynopsis{Interface to the Event Manager}


\section{\module{Fm} --- Font Manager}
\declaremodule{standard}{Fm}
  \platform{Mac}
\modulesynopsis{Interface to the Font Manager}


\section{\module{List} --- List Manager}
\declaremodule{standard}{List}
  \platform{Mac}
\modulesynopsis{Interface to the List Manager}


\section{\module{Menu} --- Menu Manager}
\declaremodule{standard}{Menu}
  \platform{Mac}
\modulesynopsis{Interface to the Menu Manager}


\section{\module{Qd} --- QuickDraw}
\declaremodule{builtin}{Qd}
  \platform{Mac}
\modulesynopsis{Interface to the QuickDraw toolbox}


\section{\module{Qt} --- QuickTime}
\declaremodule{standard}{Qt}
  \platform{Mac}
\modulesynopsis{Interface to the QuickTime toolbox}


\section{\module{Res} --- Resource Manager and Handles}
\declaremodule{standard}{Res}
  \platform{Mac}
\modulesynopsis{Interface to the Resource Manager and Handles}


\section{\module{Scrap} --- Scrap Manager}
\declaremodule{standard}{Scrap}
  \platform{Mac}
\modulesynopsis{The Scrap Manager provides basic services for
                implementing cut \&\ paste and clipboard operations.}

\begin{seealso}
  \seetitle[http://developer.apple.com/techpubs/mac/MoreToolbox/MoreToolbox-109.html]{Scrap
            Manager}{Apple's documentation for the Scrap Manager gives
            a lot of useful information about using the Scrap Manager
            in applications.}
\end{seealso}


\section{\module{Snd} --- Sound Manager}
\declaremodule{standard}{Snd}
  \platform{Mac}
\modulesynopsis{Interface to the Sound Manager }


\section{\module{TE} --- TextEdit}
\declaremodule{standard}{TE}
  \platform{Mac}
\modulesynopsis{Interface to TextEdit}


\section{\module{waste} --- non-Apple \program{TextEdit} replacement}
\declaremodule{standard}{waste}
  \platform{Mac}
\modulesynopsis{Interface to the ``WorldScript-Aware Styled Text Engine.''}

\begin{seealso}
  \seetitle[http://www.merzwaren.com/waste/]{About WASTE}{Information
            about the WASTE widget and library, including
            documentation and downloads.}
\end{seealso}


\section{\module{Win} --- Window Manager}
\declaremodule{standard}{Win}
  \platform{Mac}
\modulesynopsis{Interface to the Window Manager}