home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 May / maximum-cd-2010-05.iso / DiscContents / boxee-0.9.20.10711.exe / system / python / Lib / plat-mac / Carbon / CarbonEvents.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-07-20  |  21.9 KB  |  458 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4.  
  5. def FOUR_CHAR_CODE(x):
  6.     return x
  7.  
  8.  
  9. def FOUR_CHAR_CODE(x):
  10.     return x
  11.  
  12. false = 0
  13. true = 1
  14. keyAEEventClass = FOUR_CHAR_CODE('evcl')
  15. keyAEEventID = FOUR_CHAR_CODE('evti')
  16. eventAlreadyPostedErr = -9860
  17. eventTargetBusyErr = -9861
  18. eventClassInvalidErr = -9862
  19. eventClassIncorrectErr = -9864
  20. eventHandlerAlreadyInstalledErr = -9866
  21. eventInternalErr = -9868
  22. eventKindIncorrectErr = -9869
  23. eventParameterNotFoundErr = -9870
  24. eventNotHandledErr = -9874
  25. eventLoopTimedOutErr = -9875
  26. eventLoopQuitErr = -9876
  27. eventNotInQueueErr = -9877
  28. eventHotKeyExistsErr = -9878
  29. eventHotKeyInvalidErr = -9879
  30. kEventPriorityLow = 0
  31. kEventPriorityStandard = 1
  32. kEventPriorityHigh = 2
  33. kEventLeaveInQueue = false
  34. kEventRemoveFromQueue = true
  35. kTrackMouseLocationOptionDontConsumeMouseUp = 1 << 0
  36. kMouseTrackingMouseDown = 1
  37. kMouseTrackingMouseUp = 2
  38. kMouseTrackingMouseExited = 3
  39. kMouseTrackingMouseEntered = 4
  40. kMouseTrackingMouseDragged = 5
  41. kMouseTrackingKeyModifiersChanged = 6
  42. kMouseTrackingUserCancelled = 7
  43. kMouseTrackingTimedOut = 8
  44. kMouseTrackingMouseMoved = 9
  45. kEventAttributeNone = 0
  46. kEventAttributeUserEvent = 1 << 0
  47. kEventClassMouse = FOUR_CHAR_CODE('mous')
  48. kEventClassKeyboard = FOUR_CHAR_CODE('keyb')
  49. kEventClassTextInput = FOUR_CHAR_CODE('text')
  50. kEventClassApplication = FOUR_CHAR_CODE('appl')
  51. kEventClassAppleEvent = FOUR_CHAR_CODE('eppc')
  52. kEventClassMenu = FOUR_CHAR_CODE('menu')
  53. kEventClassWindow = FOUR_CHAR_CODE('wind')
  54. kEventClassControl = FOUR_CHAR_CODE('cntl')
  55. kEventClassCommand = FOUR_CHAR_CODE('cmds')
  56. kEventClassTablet = FOUR_CHAR_CODE('tblt')
  57. kEventClassVolume = FOUR_CHAR_CODE('vol ')
  58. kEventClassAppearance = FOUR_CHAR_CODE('appm')
  59. kEventClassService = FOUR_CHAR_CODE('serv')
  60. kEventMouseDown = 1
  61. kEventMouseUp = 2
  62. kEventMouseMoved = 5
  63. kEventMouseDragged = 6
  64. kEventMouseWheelMoved = 10
  65. kEventMouseButtonPrimary = 1
  66. kEventMouseButtonSecondary = 2
  67. kEventMouseButtonTertiary = 3
  68. kEventMouseWheelAxisX = 0
  69. kEventMouseWheelAxisY = 1
  70. kEventTextInputUpdateActiveInputArea = 1
  71. kEventTextInputUnicodeForKeyEvent = 2
  72. kEventTextInputOffsetToPos = 3
  73. kEventTextInputPosToOffset = 4
  74. kEventTextInputShowHideBottomWindow = 5
  75. kEventTextInputGetSelectedText = 6
  76. kEventRawKeyDown = 1
  77. kEventRawKeyRepeat = 2
  78. kEventRawKeyUp = 3
  79. kEventRawKeyModifiersChanged = 4
  80. kEventHotKeyPressed = 5
  81. kEventHotKeyReleased = 6
  82. kEventKeyModifierNumLockBit = 16
  83. kEventKeyModifierFnBit = 17
  84. kEventKeyModifierNumLockMask = 0x1L << kEventKeyModifierNumLockBit
  85. kEventKeyModifierFnMask = 0x1L << kEventKeyModifierFnBit
  86. kEventAppActivated = 1
  87. kEventAppDeactivated = 2
  88. kEventAppQuit = 3
  89. kEventAppLaunchNotification = 4
  90. kEventAppLaunched = 5
  91. kEventAppTerminated = 6
  92. kEventAppFrontSwitched = 7
  93. kEventAppGetDockTileMenu = 20
  94. kEventAppleEvent = 1
  95. kEventWindowUpdate = 1
  96. kEventWindowDrawContent = 2
  97. kEventWindowActivated = 5
  98. kEventWindowDeactivated = 6
  99. kEventWindowGetClickActivation = 7
  100. kEventWindowShowing = 22
  101. kEventWindowHiding = 23
  102. kEventWindowShown = 24
  103. kEventWindowHidden = 25
  104. kEventWindowCollapsing = 86
  105. kEventWindowCollapsed = 67
  106. kEventWindowExpanding = 87
  107. kEventWindowExpanded = 70
  108. kEventWindowZoomed = 76
  109. kEventWindowBoundsChanging = 26
  110. kEventWindowBoundsChanged = 27
  111. kEventWindowResizeStarted = 28
  112. kEventWindowResizeCompleted = 29
  113. kEventWindowDragStarted = 30
  114. kEventWindowDragCompleted = 31
  115. kEventWindowClosed = 73
  116. kWindowBoundsChangeUserDrag = 1 << 0
  117. kWindowBoundsChangeUserResize = 1 << 1
  118. kWindowBoundsChangeSizeChanged = 1 << 2
  119. kWindowBoundsChangeOriginChanged = 1 << 3
  120. kWindowBoundsChangeZoom = 1 << 4
  121. kEventWindowClickDragRgn = 32
  122. kEventWindowClickResizeRgn = 33
  123. kEventWindowClickCollapseRgn = 34
  124. kEventWindowClickCloseRgn = 35
  125. kEventWindowClickZoomRgn = 36
  126. kEventWindowClickContentRgn = 37
  127. kEventWindowClickProxyIconRgn = 38
  128. kEventWindowClickToolbarButtonRgn = 41
  129. kEventWindowClickStructureRgn = 42
  130. kEventWindowCursorChange = 40
  131. kEventWindowCollapse = 66
  132. kEventWindowCollapseAll = 68
  133. kEventWindowExpand = 69
  134. kEventWindowExpandAll = 71
  135. kEventWindowClose = 72
  136. kEventWindowCloseAll = 74
  137. kEventWindowZoom = 75
  138. kEventWindowZoomAll = 77
  139. kEventWindowContextualMenuSelect = 78
  140. kEventWindowPathSelect = 79
  141. kEventWindowGetIdealSize = 80
  142. kEventWindowGetMinimumSize = 81
  143. kEventWindowGetMaximumSize = 82
  144. kEventWindowConstrain = 83
  145. kEventWindowHandleContentClick = 85
  146. kEventWindowProxyBeginDrag = 128
  147. kEventWindowProxyEndDrag = 129
  148. kEventWindowToolbarSwitchMode = 150
  149. kDockChangedUser = 1
  150. kDockChangedOrientation = 2
  151. kDockChangedAutohide = 3
  152. kDockChangedDisplay = 4
  153. kDockChangedItems = 5
  154. kDockChangedUnknown = 6
  155. kEventWindowFocusAcquired = 200
  156. kEventWindowFocusRelinquish = 201
  157. kEventWindowDrawFrame = 1000
  158. kEventWindowDrawPart = 1001
  159. kEventWindowGetRegion = 1002
  160. kEventWindowHitTest = 1003
  161. kEventWindowInit = 1004
  162. kEventWindowDispose = 1005
  163. kEventWindowDragHilite = 1006
  164. kEventWindowModified = 1007
  165. kEventWindowSetupProxyDragImage = 1008
  166. kEventWindowStateChanged = 1009
  167. kEventWindowMeasureTitle = 1010
  168. kEventWindowDrawGrowBox = 1011
  169. kEventWindowGetGrowImageRegion = 1012
  170. kEventWindowPaint = 1013
  171. kEventMenuBeginTracking = 1
  172. kEventMenuEndTracking = 2
  173. kEventMenuChangeTrackingMode = 3
  174. kEventMenuOpening = 4
  175. kEventMenuClosed = 5
  176. kEventMenuTargetItem = 6
  177. kEventMenuMatchKey = 7
  178. kEventMenuEnableItems = 8
  179. kEventMenuPopulate = 9
  180. kEventMenuMeasureItemWidth = 100
  181. kEventMenuMeasureItemHeight = 101
  182. kEventMenuDrawItem = 102
  183. kEventMenuDrawItemContent = 103
  184. kEventMenuDispose = 1001
  185. kMenuContextMenuBar = 1 << 0
  186. kMenuContextPullDown = 1 << 8
  187. kMenuContextPopUp = 1 << 9
  188. kMenuContextSubmenu = 1 << 10
  189. kMenuContextMenuBarTracking = 1 << 16
  190. kMenuContextPopUpTracking = 1 << 17
  191. kMenuContextKeyMatching = 1 << 18
  192. kMenuContextMenuEnabling = 1 << 19
  193. kMenuContextCommandIDSearch = 1 << 20
  194. kEventProcessCommand = 1
  195. kEventCommandProcess = 1
  196. kEventCommandUpdateStatus = 2
  197. kHICommandOK = FOUR_CHAR_CODE('ok  ')
  198. kHICommandCancel = FOUR_CHAR_CODE('not!')
  199. kHICommandQuit = FOUR_CHAR_CODE('quit')
  200. kHICommandUndo = FOUR_CHAR_CODE('undo')
  201. kHICommandRedo = FOUR_CHAR_CODE('redo')
  202. kHICommandCut = FOUR_CHAR_CODE('cut ')
  203. kHICommandCopy = FOUR_CHAR_CODE('copy')
  204. kHICommandPaste = FOUR_CHAR_CODE('past')
  205. kHICommandClear = FOUR_CHAR_CODE('clea')
  206. kHICommandSelectAll = FOUR_CHAR_CODE('sall')
  207. kHICommandHide = FOUR_CHAR_CODE('hide')
  208. kHICommandHideOthers = FOUR_CHAR_CODE('hido')
  209. kHICommandShowAll = FOUR_CHAR_CODE('shal')
  210. kHICommandPreferences = FOUR_CHAR_CODE('pref')
  211. kHICommandZoomWindow = FOUR_CHAR_CODE('zoom')
  212. kHICommandMinimizeWindow = FOUR_CHAR_CODE('mini')
  213. kHICommandMinimizeAll = FOUR_CHAR_CODE('mina')
  214. kHICommandMaximizeWindow = FOUR_CHAR_CODE('maxi')
  215. kHICommandMaximizeAll = FOUR_CHAR_CODE('maxa')
  216. kHICommandArrangeInFront = FOUR_CHAR_CODE('frnt')
  217. kHICommandBringAllToFront = FOUR_CHAR_CODE('bfrt')
  218. kHICommandWindowListSeparator = FOUR_CHAR_CODE('wldv')
  219. kHICommandWindowListTerminator = FOUR_CHAR_CODE('wlst')
  220. kHICommandSelectWindow = FOUR_CHAR_CODE('swin')
  221. kHICommandAbout = FOUR_CHAR_CODE('abou')
  222. kHICommandNew = FOUR_CHAR_CODE('new ')
  223. kHICommandOpen = FOUR_CHAR_CODE('open')
  224. kHICommandClose = FOUR_CHAR_CODE('clos')
  225. kHICommandSave = FOUR_CHAR_CODE('save')
  226. kHICommandSaveAs = FOUR_CHAR_CODE('svas')
  227. kHICommandRevert = FOUR_CHAR_CODE('rvrt')
  228. kHICommandPrint = FOUR_CHAR_CODE('prnt')
  229. kHICommandPageSetup = FOUR_CHAR_CODE('page')
  230. kHICommandAppHelp = FOUR_CHAR_CODE('ahlp')
  231. kHICommandFromMenu = 0x1L << 0
  232. kHICommandFromControl = 0x1L << 1
  233. kHICommandFromWindow = 0x1L << 2
  234. kEventControlInitialize = 1000
  235. kEventControlDispose = 1001
  236. kEventControlGetOptimalBounds = 1003
  237. kEventControlDefInitialize = kEventControlInitialize
  238. kEventControlDefDispose = kEventControlDispose
  239. kEventControlHit = 1
  240. kEventControlSimulateHit = 2
  241. kEventControlHitTest = 3
  242. kEventControlDraw = 4
  243. kEventControlApplyBackground = 5
  244. kEventControlApplyTextColor = 6
  245. kEventControlSetFocusPart = 7
  246. kEventControlGetFocusPart = 8
  247. kEventControlActivate = 9
  248. kEventControlDeactivate = 10
  249. kEventControlSetCursor = 11
  250. kEventControlContextualMenuClick = 12
  251. kEventControlClick = 13
  252. kEventControlTrack = 51
  253. kEventControlGetScrollToHereStartPoint = 52
  254. kEventControlGetIndicatorDragConstraint = 53
  255. kEventControlIndicatorMoved = 54
  256. kEventControlGhostingFinished = 55
  257. kEventControlGetActionProcPart = 56
  258. kEventControlGetPartRegion = 101
  259. kEventControlGetPartBounds = 102
  260. kEventControlSetData = 103
  261. kEventControlGetData = 104
  262. kEventControlValueFieldChanged = 151
  263. kEventControlAddedSubControl = 152
  264. kEventControlRemovingSubControl = 153
  265. kEventControlBoundsChanged = 154
  266. kEventControlOwningWindowChanged = 159
  267. kEventControlArbitraryMessage = 201
  268. kControlBoundsChangeSizeChanged = 1 << 2
  269. kControlBoundsChangePositionChanged = 1 << 3
  270. kEventTabletPoint = 1
  271. kEventTabletProximity = 2
  272. kEventTabletPointer = 1
  273. kEventVolumeMounted = 1
  274. kEventVolumeUnmounted = 2
  275. typeFSVolumeRefNum = FOUR_CHAR_CODE('voln')
  276. kEventAppearanceScrollBarVariantChanged = 1
  277. kEventServiceCopy = 1
  278. kEventServicePaste = 2
  279. kEventServiceGetTypes = 3
  280. kEventServicePerform = 4
  281. kEventParamDirectObject = FOUR_CHAR_CODE('----')
  282. kEventParamPostTarget = FOUR_CHAR_CODE('ptrg')
  283. typeEventTargetRef = FOUR_CHAR_CODE('etrg')
  284. kEventParamWindowRef = FOUR_CHAR_CODE('wind')
  285. kEventParamGrafPort = FOUR_CHAR_CODE('graf')
  286. kEventParamDragRef = FOUR_CHAR_CODE('drag')
  287. kEventParamMenuRef = FOUR_CHAR_CODE('menu')
  288. kEventParamEventRef = FOUR_CHAR_CODE('evnt')
  289. kEventParamControlRef = FOUR_CHAR_CODE('ctrl')
  290. kEventParamRgnHandle = FOUR_CHAR_CODE('rgnh')
  291. kEventParamEnabled = FOUR_CHAR_CODE('enab')
  292. kEventParamDimensions = FOUR_CHAR_CODE('dims')
  293. kEventParamAvailableBounds = FOUR_CHAR_CODE('avlb')
  294. kEventParamAEEventID = keyAEEventID
  295. kEventParamAEEventClass = keyAEEventClass
  296. kEventParamCGContextRef = FOUR_CHAR_CODE('cntx')
  297. kEventParamDeviceDepth = FOUR_CHAR_CODE('devd')
  298. kEventParamDeviceColor = FOUR_CHAR_CODE('devc')
  299. typeWindowRef = FOUR_CHAR_CODE('wind')
  300. typeGrafPtr = FOUR_CHAR_CODE('graf')
  301. typeGWorldPtr = FOUR_CHAR_CODE('gwld')
  302. typeDragRef = FOUR_CHAR_CODE('drag')
  303. typeMenuRef = FOUR_CHAR_CODE('menu')
  304. typeControlRef = FOUR_CHAR_CODE('ctrl')
  305. typeCollection = FOUR_CHAR_CODE('cltn')
  306. typeQDRgnHandle = FOUR_CHAR_CODE('rgnh')
  307. typeOSStatus = FOUR_CHAR_CODE('osst')
  308. typeCFStringRef = FOUR_CHAR_CODE('cfst')
  309. typeCFIndex = FOUR_CHAR_CODE('cfix')
  310. typeCFTypeRef = FOUR_CHAR_CODE('cfty')
  311. typeCGContextRef = FOUR_CHAR_CODE('cntx')
  312. typeHIPoint = FOUR_CHAR_CODE('hipt')
  313. typeHISize = FOUR_CHAR_CODE('hisz')
  314. typeHIRect = FOUR_CHAR_CODE('hirc')
  315. kEventParamMouseLocation = FOUR_CHAR_CODE('mloc')
  316. kEventParamMouseButton = FOUR_CHAR_CODE('mbtn')
  317. kEventParamClickCount = FOUR_CHAR_CODE('ccnt')
  318. kEventParamMouseWheelAxis = FOUR_CHAR_CODE('mwax')
  319. kEventParamMouseWheelDelta = FOUR_CHAR_CODE('mwdl')
  320. kEventParamMouseDelta = FOUR_CHAR_CODE('mdta')
  321. kEventParamMouseChord = FOUR_CHAR_CODE('chor')
  322. kEventParamTabletEventType = FOUR_CHAR_CODE('tblt')
  323. typeMouseButton = FOUR_CHAR_CODE('mbtn')
  324. typeMouseWheelAxis = FOUR_CHAR_CODE('mwax')
  325. kEventParamKeyCode = FOUR_CHAR_CODE('kcod')
  326. kEventParamKeyMacCharCodes = FOUR_CHAR_CODE('kchr')
  327. kEventParamKeyModifiers = FOUR_CHAR_CODE('kmod')
  328. kEventParamKeyUnicodes = FOUR_CHAR_CODE('kuni')
  329. kEventParamKeyboardType = FOUR_CHAR_CODE('kbdt')
  330. typeEventHotKeyID = FOUR_CHAR_CODE('hkid')
  331. kEventParamTextInputSendRefCon = FOUR_CHAR_CODE('tsrc')
  332. kEventParamTextInputSendComponentInstance = FOUR_CHAR_CODE('tsci')
  333. kEventParamTextInputSendSLRec = FOUR_CHAR_CODE('tssl')
  334. kEventParamTextInputReplySLRec = FOUR_CHAR_CODE('trsl')
  335. kEventParamTextInputSendText = FOUR_CHAR_CODE('tstx')
  336. kEventParamTextInputReplyText = FOUR_CHAR_CODE('trtx')
  337. kEventParamTextInputSendUpdateRng = FOUR_CHAR_CODE('tsup')
  338. kEventParamTextInputSendHiliteRng = FOUR_CHAR_CODE('tshi')
  339. kEventParamTextInputSendClauseRng = FOUR_CHAR_CODE('tscl')
  340. kEventParamTextInputSendPinRng = FOUR_CHAR_CODE('tspn')
  341. kEventParamTextInputSendFixLen = FOUR_CHAR_CODE('tsfx')
  342. kEventParamTextInputSendLeadingEdge = FOUR_CHAR_CODE('tsle')
  343. kEventParamTextInputReplyLeadingEdge = FOUR_CHAR_CODE('trle')
  344. kEventParamTextInputSendTextOffset = FOUR_CHAR_CODE('tsto')
  345. kEventParamTextInputReplyTextOffset = FOUR_CHAR_CODE('trto')
  346. kEventParamTextInputReplyRegionClass = FOUR_CHAR_CODE('trrg')
  347. kEventParamTextInputSendCurrentPoint = FOUR_CHAR_CODE('tscp')
  348. kEventParamTextInputSendDraggingMode = FOUR_CHAR_CODE('tsdm')
  349. kEventParamTextInputReplyPoint = FOUR_CHAR_CODE('trpt')
  350. kEventParamTextInputReplyFont = FOUR_CHAR_CODE('trft')
  351. kEventParamTextInputReplyFMFont = FOUR_CHAR_CODE('trfm')
  352. kEventParamTextInputReplyPointSize = FOUR_CHAR_CODE('trpz')
  353. kEventParamTextInputReplyLineHeight = FOUR_CHAR_CODE('trlh')
  354. kEventParamTextInputReplyLineAscent = FOUR_CHAR_CODE('trla')
  355. kEventParamTextInputReplyTextAngle = FOUR_CHAR_CODE('trta')
  356. kEventParamTextInputSendShowHide = FOUR_CHAR_CODE('tssh')
  357. kEventParamTextInputReplyShowHide = FOUR_CHAR_CODE('trsh')
  358. kEventParamTextInputSendKeyboardEvent = FOUR_CHAR_CODE('tske')
  359. kEventParamTextInputSendTextServiceEncoding = FOUR_CHAR_CODE('tsse')
  360. kEventParamTextInputSendTextServiceMacEncoding = FOUR_CHAR_CODE('tssm')
  361. kEventParamHICommand = FOUR_CHAR_CODE('hcmd')
  362. typeHICommand = FOUR_CHAR_CODE('hcmd')
  363. kEventParamWindowFeatures = FOUR_CHAR_CODE('wftr')
  364. kEventParamWindowDefPart = FOUR_CHAR_CODE('wdpc')
  365. kEventParamCurrentBounds = FOUR_CHAR_CODE('crct')
  366. kEventParamOriginalBounds = FOUR_CHAR_CODE('orct')
  367. kEventParamPreviousBounds = FOUR_CHAR_CODE('prct')
  368. kEventParamClickActivation = FOUR_CHAR_CODE('clac')
  369. kEventParamWindowRegionCode = FOUR_CHAR_CODE('wshp')
  370. kEventParamWindowDragHiliteFlag = FOUR_CHAR_CODE('wdhf')
  371. kEventParamWindowModifiedFlag = FOUR_CHAR_CODE('wmff')
  372. kEventParamWindowProxyGWorldPtr = FOUR_CHAR_CODE('wpgw')
  373. kEventParamWindowProxyImageRgn = FOUR_CHAR_CODE('wpir')
  374. kEventParamWindowProxyOutlineRgn = FOUR_CHAR_CODE('wpor')
  375. kEventParamWindowStateChangedFlags = FOUR_CHAR_CODE('wscf')
  376. kEventParamWindowTitleFullWidth = FOUR_CHAR_CODE('wtfw')
  377. kEventParamWindowTitleTextWidth = FOUR_CHAR_CODE('wttw')
  378. kEventParamWindowGrowRect = FOUR_CHAR_CODE('grct')
  379. kEventParamAttributes = FOUR_CHAR_CODE('attr')
  380. kEventParamDockChangedReason = FOUR_CHAR_CODE('dcrs')
  381. kEventParamPreviousDockRect = FOUR_CHAR_CODE('pdrc')
  382. kEventParamCurrentDockRect = FOUR_CHAR_CODE('cdrc')
  383. typeWindowRegionCode = FOUR_CHAR_CODE('wshp')
  384. typeWindowDefPartCode = FOUR_CHAR_CODE('wdpt')
  385. typeClickActivationResult = FOUR_CHAR_CODE('clac')
  386. kEventParamControlPart = FOUR_CHAR_CODE('cprt')
  387. kEventParamInitCollection = FOUR_CHAR_CODE('icol')
  388. kEventParamControlMessage = FOUR_CHAR_CODE('cmsg')
  389. kEventParamControlParam = FOUR_CHAR_CODE('cprm')
  390. kEventParamControlResult = FOUR_CHAR_CODE('crsl')
  391. kEventParamControlRegion = FOUR_CHAR_CODE('crgn')
  392. kEventParamControlAction = FOUR_CHAR_CODE('caup')
  393. kEventParamControlIndicatorDragConstraint = FOUR_CHAR_CODE('cidc')
  394. kEventParamControlIndicatorRegion = FOUR_CHAR_CODE('cirn')
  395. kEventParamControlIsGhosting = FOUR_CHAR_CODE('cgst')
  396. kEventParamControlIndicatorOffset = FOUR_CHAR_CODE('ciof')
  397. kEventParamControlClickActivationResult = FOUR_CHAR_CODE('ccar')
  398. kEventParamControlSubControl = FOUR_CHAR_CODE('csub')
  399. kEventParamControlOptimalBounds = FOUR_CHAR_CODE('cobn')
  400. kEventParamControlOptimalBaselineOffset = FOUR_CHAR_CODE('cobo')
  401. kEventParamControlDataTag = FOUR_CHAR_CODE('cdtg')
  402. kEventParamControlDataBuffer = FOUR_CHAR_CODE('cdbf')
  403. kEventParamControlDataBufferSize = FOUR_CHAR_CODE('cdbs')
  404. kEventParamControlDrawDepth = FOUR_CHAR_CODE('cddp')
  405. kEventParamControlDrawInColor = FOUR_CHAR_CODE('cdic')
  406. kEventParamControlFeatures = FOUR_CHAR_CODE('cftr')
  407. kEventParamControlPartBounds = FOUR_CHAR_CODE('cpbd')
  408. kEventParamControlOriginalOwningWindow = FOUR_CHAR_CODE('coow')
  409. kEventParamControlCurrentOwningWindow = FOUR_CHAR_CODE('ccow')
  410. typeControlActionUPP = FOUR_CHAR_CODE('caup')
  411. typeIndicatorDragConstraint = FOUR_CHAR_CODE('cidc')
  412. typeControlPartCode = FOUR_CHAR_CODE('cprt')
  413. kEventParamCurrentMenuTrackingMode = FOUR_CHAR_CODE('cmtm')
  414. kEventParamNewMenuTrackingMode = FOUR_CHAR_CODE('nmtm')
  415. kEventParamMenuFirstOpen = FOUR_CHAR_CODE('1sto')
  416. kEventParamMenuItemIndex = FOUR_CHAR_CODE('item')
  417. kEventParamMenuCommand = FOUR_CHAR_CODE('mcmd')
  418. kEventParamEnableMenuForKeyEvent = FOUR_CHAR_CODE('fork')
  419. kEventParamMenuEventOptions = FOUR_CHAR_CODE('meop')
  420. kEventParamMenuContext = FOUR_CHAR_CODE('mctx')
  421. kEventParamMenuItemBounds = FOUR_CHAR_CODE('mitb')
  422. kEventParamMenuMarkBounds = FOUR_CHAR_CODE('mmkb')
  423. kEventParamMenuIconBounds = FOUR_CHAR_CODE('micb')
  424. kEventParamMenuTextBounds = FOUR_CHAR_CODE('mtxb')
  425. kEventParamMenuTextBaseline = FOUR_CHAR_CODE('mtbl')
  426. kEventParamMenuCommandKeyBounds = FOUR_CHAR_CODE('mcmb')
  427. kEventParamMenuVirtualTop = FOUR_CHAR_CODE('mvrt')
  428. kEventParamMenuVirtualBottom = FOUR_CHAR_CODE('mvrb')
  429. kEventParamMenuDrawState = FOUR_CHAR_CODE('mdrs')
  430. kEventParamMenuItemType = FOUR_CHAR_CODE('mitp')
  431. kEventParamMenuItemWidth = FOUR_CHAR_CODE('mitw')
  432. kEventParamMenuItemHeight = FOUR_CHAR_CODE('mith')
  433. typeMenuItemIndex = FOUR_CHAR_CODE('midx')
  434. typeMenuCommand = FOUR_CHAR_CODE('mcmd')
  435. typeMenuTrackingMode = FOUR_CHAR_CODE('mtmd')
  436. typeMenuEventOptions = FOUR_CHAR_CODE('meop')
  437. typeThemeMenuState = FOUR_CHAR_CODE('tmns')
  438. typeThemeMenuItemType = FOUR_CHAR_CODE('tmit')
  439. kEventParamProcessID = FOUR_CHAR_CODE('psn ')
  440. kEventParamLaunchRefCon = FOUR_CHAR_CODE('lref')
  441. kEventParamLaunchErr = FOUR_CHAR_CODE('err ')
  442. kEventParamTabletPointRec = FOUR_CHAR_CODE('tbrc')
  443. kEventParamTabletProximityRec = FOUR_CHAR_CODE('tbpx')
  444. typeTabletPointRec = FOUR_CHAR_CODE('tbrc')
  445. typeTabletProximityRec = FOUR_CHAR_CODE('tbpx')
  446. kEventParamTabletPointerRec = FOUR_CHAR_CODE('tbrc')
  447. typeTabletPointerRec = FOUR_CHAR_CODE('tbrc')
  448. kEventParamNewScrollBarVariant = FOUR_CHAR_CODE('nsbv')
  449. kEventParamScrapRef = FOUR_CHAR_CODE('scrp')
  450. kEventParamServiceCopyTypes = FOUR_CHAR_CODE('svsd')
  451. kEventParamServicePasteTypes = FOUR_CHAR_CODE('svpt')
  452. kEventParamServiceMessageName = FOUR_CHAR_CODE('svmg')
  453. kEventParamServiceUserData = FOUR_CHAR_CODE('svud')
  454. typeScrapRef = FOUR_CHAR_CODE('scrp')
  455. typeCFMutableArrayRef = FOUR_CHAR_CODE('cfma')
  456. kMouseTrackingMousePressed = kMouseTrackingMouseDown
  457. kMouseTrackingMouseReleased = kMouseTrackingMouseUp
  458.