blob: 30315b820fa474724f36bc7822bcbea3cd35daf4 [file] [log] [blame]
Guido van Rossum17448e21995-01-30 11:53:55 +00001# Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:Menus.h'
2
3f = Function(void, 'InitMenus',
4)
5functions.append(f)
6
7f = Function(MenuHandle, 'NewMenu',
8 (short, 'menuID', InMode),
9 (Str255, 'menuTitle', InMode),
10)
11functions.append(f)
12
13f = Function(MenuHandle, 'GetMenu',
14 (short, 'resourceID', InMode),
15)
16functions.append(f)
17
18f = Method(void, 'DisposeMenu',
19 (MenuHandle, 'theMenu', InMode),
20)
21methods.append(f)
22
23f = Method(void, 'AppendMenu',
24 (MenuHandle, 'menu', InMode),
25 (ConstStr255Param, 'data', InMode),
26)
27methods.append(f)
28
29f = Method(void, 'AddResMenu',
30 (MenuHandle, 'theMenu', InMode),
31 (ResType, 'theType', InMode),
32)
33methods.append(f)
34
35f = Method(void, 'InsertResMenu',
36 (MenuHandle, 'theMenu', InMode),
37 (ResType, 'theType', InMode),
38 (short, 'afterItem', InMode),
39)
40methods.append(f)
41
42f = Method(void, 'InsertMenu',
43 (MenuHandle, 'theMenu', InMode),
44 (short, 'beforeID', InMode),
45)
46methods.append(f)
47
48f = Function(void, 'DrawMenuBar',
49)
50functions.append(f)
51
52f = Function(void, 'InvalMenuBar',
53)
54functions.append(f)
55
56f = Function(void, 'DeleteMenu',
57 (short, 'menuID', InMode),
58)
59functions.append(f)
60
61f = Function(void, 'ClearMenuBar',
62)
63functions.append(f)
64
65f = Function(Handle, 'GetNewMBar',
66 (short, 'menuBarID', InMode),
67)
68functions.append(f)
69
70f = Function(Handle, 'GetMenuBar',
71)
72functions.append(f)
73
74f = Function(void, 'SetMenuBar',
75 (Handle, 'menuList', InMode),
76)
77functions.append(f)
78
79f = Method(void, 'InsMenuItem',
80 (MenuHandle, 'theMenu', InMode),
81 (ConstStr255Param, 'itemString', InMode),
82 (short, 'afterItem', InMode),
83)
84methods.append(f)
85
86f = Method(void, 'DelMenuItem',
87 (MenuHandle, 'theMenu', InMode),
88 (short, 'item', InMode),
89)
90methods.append(f)
91
92f = Function(long, 'MenuKey',
93 (short, 'ch', InMode),
94)
95functions.append(f)
96
97f = Function(void, 'HiliteMenu',
98 (short, 'menuID', InMode),
99)
100functions.append(f)
101
102f = Method(void, 'SetItem',
103 (MenuHandle, 'theMenu', InMode),
104 (short, 'item', InMode),
105 (ConstStr255Param, 'itemString', InMode),
106)
107methods.append(f)
108
109f = Method(void, 'GetItem',
110 (MenuHandle, 'theMenu', InMode),
111 (short, 'item', InMode),
112 (Str255, 'itemString', OutMode),
113)
114methods.append(f)
115
116f = Method(void, 'DisableItem',
117 (MenuHandle, 'theMenu', InMode),
118 (short, 'item', InMode),
119)
120methods.append(f)
121
122f = Method(void, 'EnableItem',
123 (MenuHandle, 'theMenu', InMode),
124 (short, 'item', InMode),
125)
126methods.append(f)
127
128f = Method(void, 'CheckItem',
129 (MenuHandle, 'theMenu', InMode),
130 (short, 'item', InMode),
131 (Boolean, 'checked', InMode),
132)
133methods.append(f)
134
135f = Method(void, 'SetItemMark',
136 (MenuHandle, 'theMenu', InMode),
137 (short, 'item', InMode),
138 (short, 'markChar', InMode),
139)
140methods.append(f)
141
142f = Method(void, 'GetItemMark',
143 (MenuHandle, 'theMenu', InMode),
144 (short, 'item', InMode),
145 (short, 'markChar', OutMode),
146)
147methods.append(f)
148
149f = Method(void, 'SetItemIcon',
150 (MenuHandle, 'theMenu', InMode),
151 (short, 'item', InMode),
152 (short, 'iconIndex', InMode),
153)
154methods.append(f)
155
156f = Method(void, 'GetItemIcon',
157 (MenuHandle, 'theMenu', InMode),
158 (short, 'item', InMode),
159 (short, 'iconIndex', OutMode),
160)
161methods.append(f)
162
163f = Method(void, 'SetItemStyle',
164 (MenuHandle, 'theMenu', InMode),
165 (short, 'item', InMode),
166 (short, 'chStyle', InMode),
167)
168methods.append(f)
169
170f = Method(void, 'GetItemStyle',
171 (MenuHandle, 'theMenu', InMode),
172 (short, 'item', InMode),
173 (Style, 'chStyle', OutMode),
174)
175methods.append(f)
176
177f = Method(void, 'CalcMenuSize',
178 (MenuHandle, 'theMenu', InMode),
179)
180methods.append(f)
181
182f = Method(short, 'CountMItems',
183 (MenuHandle, 'theMenu', InMode),
184)
185methods.append(f)
186
187f = Function(MenuHandle, 'GetMHandle',
188 (short, 'menuID', InMode),
189)
190functions.append(f)
191
192f = Function(void, 'FlashMenuBar',
193 (short, 'menuID', InMode),
194)
195functions.append(f)
196
197f = Function(void, 'SetMenuFlash',
198 (short, 'count', InMode),
199)
200functions.append(f)
201
202f = Function(long, 'MenuSelect',
203 (Point, 'startPt', InMode),
204)
205functions.append(f)
206
207f = Function(void, 'InitProcMenu',
208 (short, 'resID', InMode),
209)
210functions.append(f)
211
212f = Method(void, 'GetItemCmd',
213 (MenuHandle, 'theMenu', InMode),
214 (short, 'item', InMode),
215 (short, 'cmdChar', OutMode),
216)
217methods.append(f)
218
219f = Method(void, 'SetItemCmd',
220 (MenuHandle, 'theMenu', InMode),
221 (short, 'item', InMode),
222 (short, 'cmdChar', InMode),
223)
224methods.append(f)
225
226f = Method(long, 'PopUpMenuSelect',
227 (MenuHandle, 'menu', InMode),
228 (short, 'top', InMode),
229 (short, 'left', InMode),
230 (short, 'popUpItem', InMode),
231)
232methods.append(f)
233
234f = Function(long, 'MenuChoice',
235)
236functions.append(f)
237
238f = Function(void, 'DelMCEntries',
239 (short, 'menuID', InMode),
240 (short, 'menuItem', InMode),
241)
242functions.append(f)