blob: ea64ab76758176e097335d832779a17f3ebd5524 [file] [log] [blame]
Guido van Rossum17448e21995-01-30 11:53:55 +00001# Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:Dialogs.h'
2
3f = Function(DialogPtr, 'NewDialog',
4 (NullStorage, 'wStorage', InMode),
5 (Rect_ptr, 'boundsRect', InMode),
6 (ConstStr255Param, 'title', InMode),
7 (Boolean, 'visible', InMode),
8 (short, 'procID', InMode),
9 (WindowPtr, 'behind', InMode),
10 (Boolean, 'goAwayFlag', InMode),
11 (long, 'refCon', InMode),
12 (Handle, 'itmLstHndl', InMode),
13)
14functions.append(f)
15
16f = Function(DialogPtr, 'GetNewDialog',
17 (short, 'dialogID', InMode),
18 (NullStorage, 'dStorage', InMode),
19 (WindowPtr, 'behind', InMode),
20)
21functions.append(f)
22
23f = Function(void, 'CouldDialog',
24 (short, 'dialogID', InMode),
25)
26functions.append(f)
27
28f = Function(void, 'FreeDialog',
29 (short, 'dialogID', InMode),
30)
31functions.append(f)
32
33f = Function(void, 'ParamText',
34 (ConstStr255Param, 'param0', InMode),
35 (ConstStr255Param, 'param1', InMode),
36 (ConstStr255Param, 'param2', InMode),
37 (ConstStr255Param, 'param3', InMode),
38)
39functions.append(f)
40
41f = Function(void, 'ModalDialog',
42 (ModalFilterProcPtr, 'filterProc', InMode),
43 (short, 'itemHit', OutMode),
44)
45functions.append(f)
46
47f = Function(Boolean, 'IsDialogEvent',
48 (EventRecord_ptr, 'theEvent', InMode),
49)
50functions.append(f)
51
52f = Function(Boolean, 'DialogSelect',
53 (EventRecord_ptr, 'theEvent', InMode),
54 (ExistingDialogPtr, 'theDialog', OutMode),
55 (short, 'itemHit', OutMode),
56)
57functions.append(f)
58
59f = Method(void, 'DrawDialog',
60 (DialogPtr, 'theDialog', InMode),
61)
62methods.append(f)
63
64f = Method(void, 'UpdtDialog',
65 (DialogPtr, 'theDialog', InMode),
66 (RgnHandle, 'updateRgn', InMode),
67)
68methods.append(f)
69
70f = Method(void, 'UpdateDialog',
71 (DialogPtr, 'theDialog', InMode),
72 (RgnHandle, 'updateRgn', InMode),
73)
74methods.append(f)
75
76f = Function(short, 'Alert',
77 (short, 'alertID', InMode),
78 (ModalFilterProcPtr, 'filterProc', InMode),
79)
80functions.append(f)
81
82f = Function(short, 'StopAlert',
83 (short, 'alertID', InMode),
84 (ModalFilterProcPtr, 'filterProc', InMode),
85)
86functions.append(f)
87
88f = Function(short, 'NoteAlert',
89 (short, 'alertID', InMode),
90 (ModalFilterProcPtr, 'filterProc', InMode),
91)
92functions.append(f)
93
94f = Function(short, 'CautionAlert',
95 (short, 'alertID', InMode),
96 (ModalFilterProcPtr, 'filterProc', InMode),
97)
98functions.append(f)
99
100f = Function(void, 'CouldAlert',
101 (short, 'alertID', InMode),
102)
103functions.append(f)
104
105f = Function(void, 'FreeAlert',
106 (short, 'alertID', InMode),
107)
108functions.append(f)
109
110f = Method(void, 'GetDItem',
111 (DialogPtr, 'theDialog', InMode),
112 (short, 'itemNo', InMode),
113 (short, 'itemType', OutMode),
114 (Handle, 'item', OutMode),
115 (Rect, 'box', OutMode),
116)
117methods.append(f)
118
119f = Method(void, 'SetDItem',
120 (DialogPtr, 'theDialog', InMode),
121 (short, 'itemNo', InMode),
122 (short, 'itemType', InMode),
123 (Handle, 'item', InMode),
124 (Rect_ptr, 'box', InMode),
125)
126methods.append(f)
127
128f = Method(void, 'HideDItem',
129 (DialogPtr, 'theDialog', InMode),
130 (short, 'itemNo', InMode),
131)
132methods.append(f)
133
134f = Method(void, 'ShowDItem',
135 (DialogPtr, 'theDialog', InMode),
136 (short, 'itemNo', InMode),
137)
138methods.append(f)
139
140f = Method(void, 'SelIText',
141 (DialogPtr, 'theDialog', InMode),
142 (short, 'itemNo', InMode),
143 (short, 'strtSel', InMode),
144 (short, 'endSel', InMode),
145)
146methods.append(f)
147
148f = Function(void, 'GetIText',
149 (Handle, 'item', InMode),
150 (Str255, 'text', OutMode),
151)
152functions.append(f)
153
154f = Function(void, 'SetIText',
155 (Handle, 'item', InMode),
156 (ConstStr255Param, 'text', InMode),
157)
158functions.append(f)
159
160f = Method(short, 'FindDItem',
161 (DialogPtr, 'theDialog', InMode),
162 (Point, 'thePt', InMode),
163)
164methods.append(f)
165
166f = Function(DialogPtr, 'NewCDialog',
167 (NullStorage, 'dStorage', InMode),
168 (Rect_ptr, 'boundsRect', InMode),
169 (ConstStr255Param, 'title', InMode),
170 (Boolean, 'visible', InMode),
171 (short, 'procID', InMode),
172 (WindowPtr, 'behind', InMode),
173 (Boolean, 'goAwayFlag', InMode),
174 (long, 'refCon', InMode),
175 (Handle, 'items', InMode),
176)
177functions.append(f)
178
179f = Function(void, 'ResetAlrtStage',
180)
181functions.append(f)
182
183f = Method(void, 'DlgCut',
184 (DialogPtr, 'theDialog', InMode),
185)
186methods.append(f)
187
188f = Method(void, 'DlgPaste',
189 (DialogPtr, 'theDialog', InMode),
190)
191methods.append(f)
192
193f = Method(void, 'DlgCopy',
194 (DialogPtr, 'theDialog', InMode),
195)
196methods.append(f)
197
198f = Method(void, 'DlgDelete',
199 (DialogPtr, 'theDialog', InMode),
200)
201methods.append(f)
202
203f = Function(void, 'SetDAFont',
204 (short, 'fontNum', InMode),
205)
206functions.append(f)
207
208f = Method(void, 'AppendDITL',
209 (DialogPtr, 'theDialog', InMode),
210 (Handle, 'theHandle', InMode),
211 (DITLMethod, 'method', InMode),
212)
213methods.append(f)
214
215f = Method(short, 'CountDITL',
216 (DialogPtr, 'theDialog', InMode),
217)
218methods.append(f)
219
220f = Method(void, 'ShortenDITL',
221 (DialogPtr, 'theDialog', InMode),
222 (short, 'numberItems', InMode),
223)
224methods.append(f)