Quick update to the README file. For intros and books we now point to
[python/dscho.git] / Mac / Lib / lib-toolbox / Menus.py
blob8ac00850fc63fd08d0f5b66e05cd389f137a7225
1 # Generated from 'flap:CodeWarrior Pro 5:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Menus.h'
3 def FOUR_CHAR_CODE(x): return x
4 gestaltMenuMgrAttr = FOUR_CHAR_CODE('menu')
5 gestaltMenuMgrPresent = 1
6 menuPropertyInvalid = -5603
7 menuPropertyNotFoundErr = -5604
8 noMark = 0
9 kMenuDrawMsg = 0
10 kMenuChooseMsg = 1
11 kMenuSizeMsg = 2
12 kMenuDrawItemMsg = 4
13 kMenuCalcItemMsg = 5
14 kMenuThemeSavvyMsg = 7
15 mDrawMsg = 0
16 mChooseMsg = 1
17 mSizeMsg = 2
18 mDrawItemMsg = 4
19 mCalcItemMsg = 5
20 kThemeSavvyMenuResponse = 0x7473
21 textMenuProc = 0
22 hMenuCmd = 27
23 hierMenu = -1
24 mPopUpMsg = 3
25 mctAllItems = -98
26 mctLastIDIndic = -99
27 kMenuStdMenuProc = 63
28 kMenuStdMenuBarProc = 63
29 kMenuNoModifiers = 0
30 kMenuShiftModifier = (1 << 0)
31 kMenuOptionModifier = (1 << 1)
32 kMenuControlModifier = (1 << 2)
33 kMenuNoCommandModifier = (1 << 3)
34 kMenuNoIcon = 0
35 kMenuIconType = 1
36 kMenuShrinkIconType = 2
37 kMenuSmallIconType = 3
38 kMenuColorIconType = 4
39 kMenuIconSuiteType = 5
40 kMenuIconRefType = 6
41 gestaltContextualMenuAttr = FOUR_CHAR_CODE('cmnu')
42 gestaltContextualMenuUnusedBit = 0
43 gestaltContextualMenuTrapAvailable = 1
44 kCMHelpItemNoHelp = 0
45 kCMHelpItemAppleGuide = 1
46 kCMHelpItemOtherHelp = 2
47 kCMNothingSelected = 0
48 kCMMenuItemSelected = 1
49 kCMShowHelpSelected = 3