mirror of
https://github.com/python/cpython.git
synced 2025-08-22 01:35:16 +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
35
Lib/plat-mac/Carbon/Lists.py
Normal file
35
Lib/plat-mac/Carbon/Lists.py
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Generated from 'Lists.h'
|
||||
|
||||
def FOUR_CHAR_CODE(x): return x
|
||||
listNotifyNothing = FOUR_CHAR_CODE('nada')
|
||||
listNotifyClick = FOUR_CHAR_CODE('clik')
|
||||
listNotifyDoubleClick = FOUR_CHAR_CODE('dblc')
|
||||
listNotifyPreClick = FOUR_CHAR_CODE('pclk')
|
||||
lDrawingModeOffBit = 3
|
||||
lDoVAutoscrollBit = 1
|
||||
lDoHAutoscrollBit = 0
|
||||
lDrawingModeOff = 8
|
||||
lDoVAutoscroll = 2
|
||||
lDoHAutoscroll = 1
|
||||
lOnlyOneBit = 7
|
||||
lExtendDragBit = 6
|
||||
lNoDisjointBit = 5
|
||||
lNoExtendBit = 4
|
||||
lNoRectBit = 3
|
||||
lUseSenseBit = 2
|
||||
lNoNilHiliteBit = 1
|
||||
lOnlyOne = -128
|
||||
lExtendDrag = 64
|
||||
lNoDisjoint = 32
|
||||
lNoExtend = 16
|
||||
lNoRect = 8
|
||||
lUseSense = 4
|
||||
lNoNilHilite = 2
|
||||
lInitMsg = 0
|
||||
lDrawMsg = 1
|
||||
lHiliteMsg = 2
|
||||
lCloseMsg = 3
|
||||
kListDefProcPtr = 0
|
||||
kListDefUserProcType = kListDefProcPtr
|
||||
kListDefStandardTextType = 1
|
||||
kListDefStandardIconType = 2
|
Loading…
Add table
Add a link
Reference in a new issue