summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/menu/menuedit.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/menu/menuedit.py')
-rw-r--r--Mac/Modules/menu/menuedit.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/Mac/Modules/menu/menuedit.py b/Mac/Modules/menu/menuedit.py
index 5887193..4a9cf2a 100644
--- a/Mac/Modules/menu/menuedit.py
+++ b/Mac/Modules/menu/menuedit.py
@@ -41,6 +41,20 @@ f = Method(void, 'InsertMenuItem',
)
methods.append(f)
+f = Method(void, 'EnableMenuItem',
+ (MenuHandle, 'theMenu', InMode),
+ (UInt16, 'item', InMode),
+)
+methods.append(f)
+
+f = Method(void, 'CheckMenuItem',
+ (MenuRef, 'theMenu', InMode),
+ (short, 'item', InMode),
+ (Boolean, 'checked', InMode),
+)
+methods.append(f)
+
+
f = Function(void, 'DrawMenuBar',
)
functions.append(f)