diff options
author | Guido van Rossum <guido@python.org> | 1995-01-30 11:53:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-30 11:53:55 (GMT) |
commit | 17448e24081eb713ac00d7bcb681f4f0d8abfcbf (patch) | |
tree | 4f9d6768ef326173e1141b1a92af63247a42b13a /Mac/Lib/toolbox/Events.py | |
parent | 80ffd6683ca7b06ed743c629459b06b07defbfb3 (diff) | |
download | cpython-17448e24081eb713ac00d7bcb681f4f0d8abfcbf.zip cpython-17448e24081eb713ac00d7bcb681f4f0d8abfcbf.tar.gz cpython-17448e24081eb713ac00d7bcb681f4f0d8abfcbf.tar.bz2 |
Committed a more or less working version.
Diffstat (limited to 'Mac/Lib/toolbox/Events.py')
-rw-r--r-- | Mac/Lib/toolbox/Events.py | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Mac/Lib/toolbox/Events.py b/Mac/Lib/toolbox/Events.py new file mode 100644 index 0000000..ac32c3f --- /dev/null +++ b/Mac/Lib/toolbox/Events.py @@ -0,0 +1,49 @@ +# Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:Events.h' +nullEvent = 0 +mouseDown = 1 +mouseUp = 2 +keyDown = 3 +keyUp = 4 +autoKey = 5 +updateEvt = 6 +diskEvt = 7 +activateEvt = 8 +osEvt = 15 +mDownMask = 2 +mUpMask = 4 +keyDownMask = 8 +keyUpMask = 16 +autoKeyMask = 32 +updateMask = 64 +diskMask = 128 +activMask = 256 +highLevelEventMask = 1024 +osMask = -32768 +everyEvent = -1 +charCodeMask = 0x000000FF +keyCodeMask = 0x0000FF00 +adbAddrMask = 0x00FF0000 +osEvtMessageMask = 0xFF000000 +mouseMovedMessage = 0xFA +suspendResumeMessage = 0x01 +resumeFlag = 1 +convertClipboardFlag = 2 +activeFlag = 1 +btnState = 128 +cmdKey = 256 +shiftKey = 512 +alphaLock = 1024 +optionKey = 2048 +controlKey = 4096 +networkEvt = 10 +driverEvt = 11 +app1Evt = 12 +app2Evt = 13 +app3Evt = 14 +app4Evt = 15 +networkMask = 1024 +driverMask = 2048 +app1Mask = 4096 +app2Mask = 8192 +app3Mask = 16384 +app4Mask = -32768 |