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