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 / WASTEconst.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-07-20  |  7.8 KB  |  197 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4. kPascalStackBased = None
  5.  
  6. def FOUR_CHAR_CODE(x):
  7.     return x
  8.  
  9. weCantUndoErr = -10015
  10. weEmptySelectionErr = -10013
  11. weUnknownObjectTypeErr = -9478
  12. weObjectNotFoundErr = -9477
  13. weReadOnlyErr = -9476
  14. weTextNotFoundErr = -9474
  15. weInvalidTextEncodingErr = -9473
  16. weDuplicateAttributeErr = -9472
  17. weInvalidAttributeSizeErr = -9471
  18. weReadOnlyAttributeErr = -9470
  19. weOddByteCountErr = -9469
  20. weHandlerNotFoundErr = -1717
  21. weNotHandledErr = -1708
  22. weNewerVersionErr = -1706
  23. weCorruptDataErr = -1702
  24. weProtocolErr = -603
  25. weUndefinedSelectorErr = -50
  26. weFlushLeft = -2
  27. weFlushRight = -1
  28. weFlushDefault = 0
  29. weCenter = 1
  30. weJustify = 2
  31. weDirDefault = 1
  32. weDirRightToLeft = -1
  33. weDirLeftToRight = 0
  34. weDoFont = 1
  35. weDoFace = 2
  36. weDoSize = 4
  37. weDoColor = 8
  38. weDoAll = weDoFont | weDoFace | weDoSize | weDoColor
  39. weDoAddSize = 16
  40. weDoToggleFace = 32
  41. weDoReplaceFace = 64
  42. weDoPreserveScript = 128
  43. weDoExtractSubscript = 256
  44. weDoFaceMask = 512
  45. weDoDirection = 1
  46. weDoAlignment = 2
  47. weDoLeftIndent = 4
  48. weDoRightIndent = 8
  49. weDoFirstLineIndent = 16
  50. weDoLineSpacing = 32
  51. weDoSpaceBefore = 64
  52. weDoSpaceAfter = 128
  53. weDoBottomBorderStyle = 1024
  54. kLeadingEdge = -1
  55. kTrailingEdge = 0
  56. kObjectEdge = 2
  57. weFAutoScroll = 0
  58. weFOutlineHilite = 2
  59. weFReadOnly = 5
  60. weFUndo = 6
  61. weFIntCutAndPaste = 7
  62. weFDragAndDrop = 8
  63. weFInhibitRecal = 9
  64. weFUseTempMem = 10
  65. weFDrawOffscreen = 11
  66. weFInhibitRedraw = 12
  67. weFMonoStyled = 13
  68. weFMultipleUndo = 14
  69. weFNoKeyboardSync = 29
  70. weFInhibitICSupport = 30
  71. weFInhibitColor = 31
  72. weBitToggle = -2
  73. weBitTest = -1
  74. weBitClear = 0
  75. weBitSet = 1
  76. weLowerCase = 0
  77. weUpperCase = 1
  78. weFindWholeWords = 1
  79. weFindCaseInsensitive = 2
  80. weFindDiacriticalInsensitive = 4
  81. wePutIntCutAndPaste = 1
  82. wePutAddToTypingSequence = 2
  83. wePutDetectUnicodeBOM = 512
  84. weStreamDestinationKindMask = 255
  85. weStreamIncludeObjects = 256
  86. weGetAddUnicodeBOM = 512
  87. weGetLittleEndian = 1024
  88. weTagFontFamily = FOUR_CHAR_CODE('font')
  89. weTagFontSize = FOUR_CHAR_CODE('ptsz')
  90. weTagPlain = FOUR_CHAR_CODE('plan')
  91. weTagBold = FOUR_CHAR_CODE('bold')
  92. weTagItalic = FOUR_CHAR_CODE('ital')
  93. weTagUnderline = FOUR_CHAR_CODE('undl')
  94. weTagOutline = FOUR_CHAR_CODE('outl')
  95. weTagShadow = FOUR_CHAR_CODE('shad')
  96. weTagCondensed = FOUR_CHAR_CODE('cond')
  97. weTagExtended = FOUR_CHAR_CODE('pexp')
  98. weTagStrikethrough = FOUR_CHAR_CODE('strk')
  99. weTagTextColor = FOUR_CHAR_CODE('colr')
  100. weTagBackgroundColor = FOUR_CHAR_CODE('pbcl')
  101. weTagTransferMode = FOUR_CHAR_CODE('pptm')
  102. weTagVerticalShift = FOUR_CHAR_CODE('xshf')
  103. weTagAlignment = FOUR_CHAR_CODE('pjst')
  104. weTagDirection = FOUR_CHAR_CODE('LDIR')
  105. weTagLineSpacing = FOUR_CHAR_CODE('ledg')
  106. weTagLeftIndent = FOUR_CHAR_CODE('lein')
  107. weTagRightIndent = FOUR_CHAR_CODE('riin')
  108. weTagFirstLineIndent = FOUR_CHAR_CODE('fidt')
  109. weTagSpaceBefore = FOUR_CHAR_CODE('spbe')
  110. weTagSpaceAfter = FOUR_CHAR_CODE('spaf')
  111. weTagBottomBorderStyle = FOUR_CHAR_CODE('BBRD')
  112. weTagForceFontFamily = FOUR_CHAR_CODE('ffnt')
  113. weTagAddFontSize = FOUR_CHAR_CODE('+siz')
  114. weTagAddVerticalShift = FOUR_CHAR_CODE('+shf')
  115. weTagTextEncoding = FOUR_CHAR_CODE('ptxe')
  116. weTagQDStyles = FOUR_CHAR_CODE('qdst')
  117. weTagTETextStyle = FOUR_CHAR_CODE('tets')
  118. weTagAlignmentDefault = FOUR_CHAR_CODE('deft')
  119. weTagAlignmentLeft = FOUR_CHAR_CODE('left')
  120. weTagAlignmentCenter = FOUR_CHAR_CODE('cent')
  121. weTagAlignmentRight = FOUR_CHAR_CODE('rght')
  122. weTagAlignmentFull = FOUR_CHAR_CODE('full')
  123. weTagDirectionDefault = FOUR_CHAR_CODE('deft')
  124. weTagDirectionLeftToRight = FOUR_CHAR_CODE('L->R')
  125. weTagDirectionRightToLeft = FOUR_CHAR_CODE('R->L')
  126. weTagBorderStyleNone = FOUR_CHAR_CODE('NONE')
  127. weTagBorderStyleThin = FOUR_CHAR_CODE('SLDL')
  128. weTagBorderStyleDotted = FOUR_CHAR_CODE('DTDL')
  129. weTagBorderStyleThick = FOUR_CHAR_CODE('THKL')
  130. weLineSpacingSingle = 0
  131. weLineSpacingOneAndHalf = 32768
  132. weLineSpacingDouble = 65536
  133. weCharByteHook = FOUR_CHAR_CODE('cbyt')
  134. weCharToPixelHook = FOUR_CHAR_CODE('c2p ')
  135. weCharTypeHook = FOUR_CHAR_CODE('ctyp')
  136. weClickLoop = FOUR_CHAR_CODE('clik')
  137. weCurrentDrag = FOUR_CHAR_CODE('drag')
  138. weDrawTextHook = FOUR_CHAR_CODE('draw')
  139. weDrawTSMHiliteHook = FOUR_CHAR_CODE('dtsm')
  140. weEraseHook = FOUR_CHAR_CODE('eras')
  141. weFontFamilyToNameHook = FOUR_CHAR_CODE('ff2n')
  142. weFontNameToFamilyHook = FOUR_CHAR_CODE('fn2f')
  143. weFluxProc = FOUR_CHAR_CODE('flux')
  144. weHiliteDropAreaHook = FOUR_CHAR_CODE('hidr')
  145. weLineBreakHook = FOUR_CHAR_CODE('lbrk')
  146. wePixelToCharHook = FOUR_CHAR_CODE('p2c ')
  147. wePort = FOUR_CHAR_CODE('port')
  148. wePreTrackDragHook = FOUR_CHAR_CODE('ptrk')
  149. weRefCon = FOUR_CHAR_CODE('refc')
  150. weScrollProc = FOUR_CHAR_CODE('scrl')
  151. weText = FOUR_CHAR_CODE('text')
  152. weTranslateDragHook = FOUR_CHAR_CODE('xdrg')
  153. weTranslucencyThreshold = FOUR_CHAR_CODE('tluc')
  154. weTSMDocumentID = FOUR_CHAR_CODE('tsmd')
  155. weTSMPreUpdate = FOUR_CHAR_CODE('pre ')
  156. weTSMPostUpdate = FOUR_CHAR_CODE('post')
  157. weURLHint = FOUR_CHAR_CODE('urlh')
  158. weWordBreakHook = FOUR_CHAR_CODE('wbrk')
  159. weNewHandler = FOUR_CHAR_CODE('new ')
  160. weDisposeHandler = FOUR_CHAR_CODE('free')
  161. weDrawHandler = FOUR_CHAR_CODE('draw')
  162. weClickHandler = FOUR_CHAR_CODE('clik')
  163. weStreamHandler = FOUR_CHAR_CODE('strm')
  164. weHoverHandler = FOUR_CHAR_CODE('hovr')
  165. kTypeText = FOUR_CHAR_CODE('TEXT')
  166. kTypeStyles = FOUR_CHAR_CODE('styl')
  167. kTypeSoup = FOUR_CHAR_CODE('SOUP')
  168. kTypeFontTable = FOUR_CHAR_CODE('FISH')
  169. kTypeParaFormat = FOUR_CHAR_CODE('WEpf')
  170. kTypeRulerScrap = FOUR_CHAR_CODE('WEru')
  171. kTypeCharFormat = FOUR_CHAR_CODE('WEcf')
  172. kTypeStyleScrap = FOUR_CHAR_CODE('WEst')
  173. kTypeUnicodeText = FOUR_CHAR_CODE('utxt')
  174. kTypeUTF8Text = FOUR_CHAR_CODE('UTF8')
  175. kTypeStyledText = FOUR_CHAR_CODE('STXT')
  176. weAKNone = 0
  177. weAKUnspecified = 1
  178. weAKTyping = 2
  179. weAKCut = 3
  180. weAKPaste = 4
  181. weAKClear = 5
  182. weAKDrag = 6
  183. weAKSetStyle = 7
  184. weAKSetRuler = 8
  185. weAKBackspace = 9
  186. weAKFwdDelete = 10
  187. weAKCaseChange = 11
  188. weAKObjectChange = 12
  189. weToScrap = 0
  190. weToDrag = 1
  191. weToSoup = 2
  192. weMouseEnter = 0
  193. weMouseWithin = 1
  194. weMouseLeave = 2
  195. kCurrentSelection = -1
  196. kNullStyle = -2
  197.