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