blob: 5409663eba0a8e5ec888cf86f2948bc3209a5908 [file] [log] [blame]
Guido van Rossum86c3af71995-03-19 22:42:51 +00001f = Function(void, 'OpenDeskAcc',
2 (Str255, 'name', InMode),
3)
4functions.append(f)
Jack Jansena1772281995-06-18 20:17:27 +00005
Jack Jansena1a0fef1999-12-23 14:32:06 +00006f = Function(MenuHandle, 'as_Menu', (Handle, 'h', InMode))
Jack Jansene0581891999-02-07 14:02:03 +00007functions.append(f)
8
Jack Jansena1a0fef1999-12-23 14:32:06 +00009f = Method(Handle, 'as_Resource', (MenuHandle, 'h', InMode))
Jack Jansena1772281995-06-18 20:17:27 +000010methods.append(f)
Jack Jansene180d991998-04-24 10:28:20 +000011
12# The following have "Mac" prepended to their names in the include file
13# since UH 3.1, sigh...
14f = Function(MenuHandle, 'GetMenu',
15 (short, 'resourceID', InMode),
16)
17functions.append(f)
18
19f = Method(void, 'AppendMenu',
20 (MenuHandle, 'menu', InMode),
21 (ConstStr255Param, 'data', InMode),
22)
23methods.append(f)
24
25f = Method(void, 'InsertMenu',
26 (MenuHandle, 'theMenu', InMode),
27 (short, 'beforeID', InMode),
28)
29methods.append(f)
30
31f = Function(void, 'DeleteMenu',
32 (short, 'menuID', InMode),
33)
34functions.append(f)
35
36f = Method(void, 'InsertMenuItem',
37 (MenuHandle, 'theMenu', InMode),
38 (ConstStr255Param, 'itemString', InMode),
39 (short, 'afterItem', InMode),
40)
41methods.append(f)
42
43f = Function(void, 'DrawMenuBar',
44)
45functions.append(f)
46