mirror of
https://github.com/python/cpython.git
synced 2025-09-23 00:43:12 +00:00
Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc).
This commit is contained in:
parent
c262a1f51c
commit
60087fb450
136 changed files with 207 additions and 0 deletions
58
Lib/plat-mac/Carbon/MacHelp.py
Normal file
58
Lib/plat-mac/Carbon/MacHelp.py
Normal file
|
@ -0,0 +1,58 @@
|
|||
# Generated from 'MacHelp.h'
|
||||
|
||||
def FOUR_CHAR_CODE(x): return x
|
||||
kMacHelpVersion = 0x0003
|
||||
kHMSupplyContent = 0
|
||||
kHMDisposeContent = 1
|
||||
kHMNoContent = FOUR_CHAR_CODE('none')
|
||||
kHMCFStringContent = FOUR_CHAR_CODE('cfst')
|
||||
kHMPascalStrContent = FOUR_CHAR_CODE('pstr')
|
||||
kHMStringResContent = FOUR_CHAR_CODE('str#')
|
||||
kHMTEHandleContent = FOUR_CHAR_CODE('txth')
|
||||
kHMTextResContent = FOUR_CHAR_CODE('text')
|
||||
kHMStrResContent = FOUR_CHAR_CODE('str ')
|
||||
kHMDefaultSide = 0
|
||||
kHMOutsideTopScriptAligned = 1
|
||||
kHMOutsideLeftCenterAligned = 2
|
||||
kHMOutsideBottomScriptAligned = 3
|
||||
kHMOutsideRightCenterAligned = 4
|
||||
kHMOutsideTopLeftAligned = 5
|
||||
kHMOutsideTopRightAligned = 6
|
||||
kHMOutsideLeftTopAligned = 7
|
||||
kHMOutsideLeftBottomAligned = 8
|
||||
kHMOutsideBottomLeftAligned = 9
|
||||
kHMOutsideBottomRightAligned = 10
|
||||
kHMOutsideRightTopAligned = 11
|
||||
kHMOutsideRightBottomAligned = 12
|
||||
kHMOutsideTopCenterAligned = 13
|
||||
kHMOutsideBottomCenterAligned = 14
|
||||
kHMInsideRightCenterAligned = 15
|
||||
kHMInsideLeftCenterAligned = 16
|
||||
kHMInsideBottomCenterAligned = 17
|
||||
kHMInsideTopCenterAligned = 18
|
||||
kHMInsideTopLeftCorner = 19
|
||||
kHMInsideTopRightCorner = 20
|
||||
kHMInsideBottomLeftCorner = 21
|
||||
kHMInsideBottomRightCorner = 22
|
||||
kHMAbsoluteCenterAligned = 23
|
||||
kHMTopSide = kHMOutsideTopScriptAligned
|
||||
kHMLeftSide = kHMOutsideLeftCenterAligned
|
||||
kHMBottomSide = kHMOutsideBottomScriptAligned
|
||||
kHMRightSide = kHMOutsideRightCenterAligned
|
||||
kHMTopLeftCorner = kHMOutsideTopLeftAligned
|
||||
kHMTopRightCorner = kHMOutsideTopRightAligned
|
||||
kHMLeftTopCorner = kHMOutsideLeftTopAligned
|
||||
kHMLeftBottomCorner = kHMOutsideLeftBottomAligned
|
||||
kHMBottomLeftCorner = kHMOutsideBottomLeftAligned
|
||||
kHMBottomRightCorner = kHMOutsideBottomRightAligned
|
||||
kHMRightTopCorner = kHMOutsideRightTopAligned
|
||||
kHMRightBottomCorner = kHMOutsideRightBottomAligned
|
||||
kHMContentProvided = 0
|
||||
kHMContentNotProvided = 1
|
||||
kHMContentNotProvidedDontPropagate = 2
|
||||
kHMMinimumContentIndex = 0
|
||||
kHMMaximumContentIndex = 1
|
||||
errHMIllegalContentForMinimumState = -10980
|
||||
errHMIllegalContentForMaximumState = -10981
|
||||
kHMIllegalContentForMinimumState = errHMIllegalContentForMinimumState
|
||||
kHelpTagEventHandlerTag = FOUR_CHAR_CODE('hevt')
|
Loading…
Add table
Add a link
Reference in a new issue