diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-08-19 22:05:33 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-08-19 22:05:33 (GMT) |
commit | 52caac1c55f41e178f37d9266c778df78e3ca988 (patch) | |
tree | 5f1a916b19131d69244c7d08f856273113cf2131 | |
parent | d0fc42f43968dbe0fc6f762fad527a684d557396 (diff) | |
download | cpython-52caac1c55f41e178f37d9266c778df78e3ca988.zip cpython-52caac1c55f41e178f37d9266c778df78e3ca988.tar.gz cpython-52caac1c55f41e178f37d9266c778df78e3ca988.tar.bz2 |
Moved here form lib-toolbox, for lack of a better place to go.
-rw-r--r-- | Mac/Lib/WASTEconst.py | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/Mac/Lib/WASTEconst.py b/Mac/Lib/WASTEconst.py new file mode 100644 index 0000000..06af253 --- /dev/null +++ b/Mac/Lib/WASTEconst.py @@ -0,0 +1,95 @@ +# Generated from 'WASTE.h' + +kPascalStackBased = None # workaround for header parsing +weCantUndoErr = -10015 +weEmptySelectionErr = -10013 +weNotHandledErr = -1708 +weUnknownObjectTypeErr = -9478 +weObjectNotFoundErr = -9477 +weReadOnlyErr = -9476 +weUndefinedSelectorErr = -50 +weFlushLeft = -2 +weFlushRight = -1 +weFlushDefault = 0 +weCenter = 1 +weJustify = 2 +weDirDefault = 1 +weDirRightToLeft = -1 +weDirLeftToRight = 0 +weDoFont = 0x0001 +weDoFace = 0x0002 +weDoSize = 0x0004 +weDoColor = 0x0008 +weDoAddSize = 0x0010 +weDoToggleFace = 0x0020 +weDoReplaceFace = 0x0040 +weDoPreserveScript = 0x0080 +weDoExtractSubscript = 0x0100 +weDoFaceMask = 0x0200 +kLeadingEdge = -1 +kTrailingEdge = 0 +kObjectEdge = 2 +weFAutoScroll = 0 +weFOutlineHilite = 2 +weFReadOnly = 5 +weFUndo = 6 +weFIntCutAndPaste = 7 +weFDragAndDrop = 8 +weFInhibitRecal = 9 +weFUseTempMem = 10 +weFDrawOffscreen = 11 +weFInhibitRedraw = 12 +weFMonoStyled = 13 +weFInhibitColor = 31 +weDoAutoScroll = 1L << weFAutoScroll +weDoOutlineHilite = 1L << weFOutlineHilite +weDoReadOnly = 1L << weFReadOnly +weDoUndo = 1L << weFUndo +weDoIntCutAndPaste = 1L << weFIntCutAndPaste +weDoDragAndDrop = 1L << weFDragAndDrop +weDoInhibitRecal = 1L << weFInhibitRecal +weDoUseTempMem = 1L << weFUseTempMem +weDoDrawOffscreen = 1L << weFDrawOffscreen +weDoInhibitRedraw = 1L << weFInhibitRedraw +weDoMonoStyled = 1L << weFMonoStyled +weDoInhibitColor = 1L << weFInhibitColor +weBitToggle = -2 +weCharByteHook = 'cbyt' +weCharToPixelHook = 'c2p ' +weCharTypeHook = 'ctyp' +weClickLoop = 'clik' +weCurrentDrag = 'drag' +weDrawTextHook = 'draw' +weEraseHook = 'eras' +weFluxProc = 'flux' +weHiliteDropAreaHook = 'hidr' +weLineBreakHook = 'lbrk' +wePixelToCharHook = 'p2c ' +wePort = 'port' +wePreTrackDragHook = 'ptrk' +weRefCon = 'refc' +weScrollProc = 'scrl' +weText = 'text' +weTranslateDragHook = 'xdrg' +weTranslucencyThreshold = 'tluc' +weTSMDocumentID = 'tsmd' +weTSMPreUpdate = 'pre ' +weTSMPostUpdate = 'post' +weURLHint = 'urlh' +weWordBreakHook = 'wbrk' +weNewHandler = 'new ' +weDisposeHandler = 'free' +weDrawHandler = 'draw' +weClickHandler = 'clik' +weStreamHandler = 'strm' +weAKNone = 0 +weAKUnspecified = 1 +weAKTyping = 2 +weAKCut = 3 +weAKPaste = 4 +weAKClear = 5 +weAKDrag = 6 +weAKSetStyle = 7 +weToScrap = 0 +weToDrag = 1 +weToSoup = 2 |