Don't reference removed files in Makefile
[python/dscho.git] / Mac / Modules / menu / menugen.py
blob2be45046542d2063aed66114258c54cdea27e2d6
1 # Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:Menus.h'
3 f = Function(void, 'InitMenus',
5 functions.append(f)
7 f = Function(MenuHandle, 'NewMenu',
8 (short, 'menuID', InMode),
9 (Str255, 'menuTitle', InMode),
11 functions.append(f)
13 f = Function(MenuHandle, 'GetMenu',
14 (short, 'resourceID', InMode),
16 functions.append(f)
18 f = Method(void, 'DisposeMenu',
19 (MenuHandle, 'theMenu', InMode),
21 methods.append(f)
23 f = Method(void, 'AppendMenu',
24 (MenuHandle, 'menu', InMode),
25 (ConstStr255Param, 'data', InMode),
27 methods.append(f)
29 f = Method(void, 'AddResMenu',
30 (MenuHandle, 'theMenu', InMode),
31 (ResType, 'theType', InMode),
33 methods.append(f)
35 f = Method(void, 'InsertResMenu',
36 (MenuHandle, 'theMenu', InMode),
37 (ResType, 'theType', InMode),
38 (short, 'afterItem', InMode),
40 methods.append(f)
42 f = Method(void, 'InsertMenu',
43 (MenuHandle, 'theMenu', InMode),
44 (short, 'beforeID', InMode),
46 methods.append(f)
48 f = Function(void, 'DrawMenuBar',
50 functions.append(f)
52 f = Function(void, 'InvalMenuBar',
54 functions.append(f)
56 f = Function(void, 'DeleteMenu',
57 (short, 'menuID', InMode),
59 functions.append(f)
61 f = Function(void, 'ClearMenuBar',
63 functions.append(f)
65 f = Function(Handle, 'GetNewMBar',
66 (short, 'menuBarID', InMode),
68 functions.append(f)
70 f = Function(Handle, 'GetMenuBar',
72 functions.append(f)
74 f = Function(void, 'SetMenuBar',
75 (Handle, 'menuList', InMode),
77 functions.append(f)
79 f = Method(void, 'InsMenuItem',
80 (MenuHandle, 'theMenu', InMode),
81 (ConstStr255Param, 'itemString', InMode),
82 (short, 'afterItem', InMode),
84 methods.append(f)
86 f = Method(void, 'DelMenuItem',
87 (MenuHandle, 'theMenu', InMode),
88 (short, 'item', InMode),
90 methods.append(f)
92 f = Function(long, 'MenuKey',
93 (short, 'ch', InMode),
95 functions.append(f)
97 f = Function(void, 'HiliteMenu',
98 (short, 'menuID', InMode),
100 functions.append(f)
102 f = Method(void, 'SetItem',
103 (MenuHandle, 'theMenu', InMode),
104 (short, 'item', InMode),
105 (ConstStr255Param, 'itemString', InMode),
107 methods.append(f)
109 f = Method(void, 'GetItem',
110 (MenuHandle, 'theMenu', InMode),
111 (short, 'item', InMode),
112 (Str255, 'itemString', OutMode),
114 methods.append(f)
116 f = Method(void, 'DisableItem',
117 (MenuHandle, 'theMenu', InMode),
118 (short, 'item', InMode),
120 methods.append(f)
122 f = Method(void, 'EnableItem',
123 (MenuHandle, 'theMenu', InMode),
124 (short, 'item', InMode),
126 methods.append(f)
128 f = Method(void, 'CheckItem',
129 (MenuHandle, 'theMenu', InMode),
130 (short, 'item', InMode),
131 (Boolean, 'checked', InMode),
133 methods.append(f)
135 f = Method(void, 'SetItemMark',
136 (MenuHandle, 'theMenu', InMode),
137 (short, 'item', InMode),
138 (short, 'markChar', InMode),
140 methods.append(f)
142 f = Method(void, 'GetItemMark',
143 (MenuHandle, 'theMenu', InMode),
144 (short, 'item', InMode),
145 (short, 'markChar', OutMode),
147 methods.append(f)
149 f = Method(void, 'SetItemIcon',
150 (MenuHandle, 'theMenu', InMode),
151 (short, 'item', InMode),
152 (short, 'iconIndex', InMode),
154 methods.append(f)
156 f = Method(void, 'GetItemIcon',
157 (MenuHandle, 'theMenu', InMode),
158 (short, 'item', InMode),
159 (short, 'iconIndex', OutMode),
161 methods.append(f)
163 f = Method(void, 'SetItemStyle',
164 (MenuHandle, 'theMenu', InMode),
165 (short, 'item', InMode),
166 (short, 'chStyle', InMode),
168 methods.append(f)
170 f = Method(void, 'GetItemStyle',
171 (MenuHandle, 'theMenu', InMode),
172 (short, 'item', InMode),
173 (Style, 'chStyle', OutMode),
175 methods.append(f)
177 f = Method(void, 'CalcMenuSize',
178 (MenuHandle, 'theMenu', InMode),
180 methods.append(f)
182 f = Method(short, 'CountMItems',
183 (MenuHandle, 'theMenu', InMode),
185 methods.append(f)
187 f = Function(MenuHandle, 'GetMHandle',
188 (short, 'menuID', InMode),
190 functions.append(f)
192 f = Function(void, 'FlashMenuBar',
193 (short, 'menuID', InMode),
195 functions.append(f)
197 f = Function(void, 'SetMenuFlash',
198 (short, 'count', InMode),
200 functions.append(f)
202 f = Function(long, 'MenuSelect',
203 (Point, 'startPt', InMode),
205 functions.append(f)
207 f = Function(void, 'InitProcMenu',
208 (short, 'resID', InMode),
210 functions.append(f)
212 f = Method(void, 'GetItemCmd',
213 (MenuHandle, 'theMenu', InMode),
214 (short, 'item', InMode),
215 (short, 'cmdChar', OutMode),
217 methods.append(f)
219 f = Method(void, 'SetItemCmd',
220 (MenuHandle, 'theMenu', InMode),
221 (short, 'item', InMode),
222 (short, 'cmdChar', InMode),
224 methods.append(f)
226 f = Method(long, 'PopUpMenuSelect',
227 (MenuHandle, 'menu', InMode),
228 (short, 'top', InMode),
229 (short, 'left', InMode),
230 (short, 'popUpItem', InMode),
232 methods.append(f)
234 f = Function(long, 'MenuChoice',
236 functions.append(f)
238 f = Function(void, 'DelMCEntries',
239 (short, 'menuID', InMode),
240 (short, 'menuItem', InMode),
242 functions.append(f)