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