2001-08-19 19:13:00 -03:00
|
|
|
# Generated from 'Drag.h'
|
|
|
|
|
|
|
|
def FOUR_CHAR_CODE(x): return x
|
2002-08-28 18:18:37 -03:00
|
|
|
from Carbon.TextEdit import *
|
|
|
|
from Carbon.QuickDraw import *
|
2003-12-05 19:59:37 -04:00
|
|
|
fkDragActionAll = -1
|
2001-08-19 19:13:00 -03:00
|
|
|
|
|
|
|
|
2004-07-18 03:16:08 -03:00
|
|
|
kDragHasLeftSenderWindow = (1 << 0)
|
2001-08-19 19:13:00 -03:00
|
|
|
kDragInsideSenderApplication = (1 << 1)
|
2004-07-18 03:16:08 -03:00
|
|
|
kDragInsideSenderWindow = (1 << 2)
|
|
|
|
kDragRegionAndImage = (1 << 4)
|
|
|
|
flavorSenderOnly = (1 << 0)
|
|
|
|
flavorSenderTranslated = (1 << 1)
|
|
|
|
flavorNotSaved = (1 << 2)
|
|
|
|
flavorSystemTranslated = (1 << 8)
|
2001-08-19 19:13:00 -03:00
|
|
|
kDragHasLeftSenderWindow = (1L << 0)
|
|
|
|
kDragInsideSenderApplication = (1L << 1)
|
2004-07-18 03:16:08 -03:00
|
|
|
kDragInsideSenderWindow = (1L << 2)
|
2001-08-19 19:13:00 -03:00
|
|
|
kDragBehaviorNone = 0
|
2004-07-18 03:16:08 -03:00
|
|
|
kDragBehaviorZoomBackAnimation = (1L << 0)
|
|
|
|
kDragRegionAndImage = (1L << 4)
|
2001-08-19 19:13:00 -03:00
|
|
|
kDragStandardTranslucency = 0L
|
|
|
|
kDragDarkTranslucency = 1L
|
|
|
|
kDragDarkerTranslucency = 2L
|
2004-07-18 03:16:08 -03:00
|
|
|
kDragOpaqueTranslucency = 3L
|
2001-08-19 19:13:00 -03:00
|
|
|
kDragRegionBegin = 1
|
|
|
|
kDragRegionDraw = 2
|
|
|
|
kDragRegionHide = 3
|
|
|
|
kDragRegionIdle = 4
|
2004-07-18 03:16:08 -03:00
|
|
|
kDragRegionEnd = 5
|
2001-08-19 19:13:00 -03:00
|
|
|
kZoomNoAcceleration = 0
|
|
|
|
kZoomAccelerate = 1
|
2004-07-18 03:16:08 -03:00
|
|
|
kZoomDecelerate = 2
|
2001-08-19 19:13:00 -03:00
|
|
|
flavorSenderOnly = (1 << 0)
|
|
|
|
flavorSenderTranslated = (1 << 1)
|
|
|
|
flavorNotSaved = (1 << 2)
|
2003-12-05 19:59:37 -04:00
|
|
|
flavorSystemTranslated = (1 << 8)
|
2004-07-18 03:16:08 -03:00
|
|
|
flavorDataPromised = (1 << 9)
|
2001-08-19 19:13:00 -03:00
|
|
|
kDragFlavorTypeHFS = FOUR_CHAR_CODE('hfs ')
|
|
|
|
kDragFlavorTypePromiseHFS = FOUR_CHAR_CODE('phfs')
|
|
|
|
flavorTypeHFS = kDragFlavorTypeHFS
|
2004-07-18 03:16:08 -03:00
|
|
|
flavorTypePromiseHFS = kDragFlavorTypePromiseHFS
|
2001-08-19 19:13:00 -03:00
|
|
|
kDragPromisedFlavorFindFile = FOUR_CHAR_CODE('rWm1')
|
2004-07-18 03:16:08 -03:00
|
|
|
kDragPromisedFlavor = FOUR_CHAR_CODE('fssP')
|
2001-08-19 19:13:00 -03:00
|
|
|
kDragPseudoCreatorVolumeOrDirectory = FOUR_CHAR_CODE('MACS')
|
|
|
|
kDragPseudoFileTypeVolume = FOUR_CHAR_CODE('disk')
|
2004-07-18 03:16:08 -03:00
|
|
|
kDragPseudoFileTypeDirectory = FOUR_CHAR_CODE('fold')
|
|
|
|
flavorTypeDirectory = FOUR_CHAR_CODE('diry')
|
2001-08-19 19:13:00 -03:00
|
|
|
kFlavorTypeClippingName = FOUR_CHAR_CODE('clnm')
|
|
|
|
kFlavorTypeClippingFilename = FOUR_CHAR_CODE('clfn')
|
|
|
|
kFlavorTypeDragToTrashOnly = FOUR_CHAR_CODE('fdtt')
|
2004-07-18 03:16:08 -03:00
|
|
|
kFlavorTypeFinderNoTrackingBehavior = FOUR_CHAR_CODE('fntb')
|
2001-08-19 19:13:00 -03:00
|
|
|
kDragTrackingEnterHandler = 1
|
|
|
|
kDragTrackingEnterWindow = 2
|
|
|
|
kDragTrackingInWindow = 3
|
|
|
|
kDragTrackingLeaveWindow = 4
|
2004-07-18 03:16:08 -03:00
|
|
|
kDragTrackingLeaveHandler = 5
|
2003-12-05 19:59:37 -04:00
|
|
|
kDragActionNothing = 0L
|
|
|
|
kDragActionCopy = 1L
|
|
|
|
kDragActionAlias = (1L << 1)
|
|
|
|
kDragActionGeneric = (1L << 2)
|
|
|
|
kDragActionPrivate = (1L << 3)
|
|
|
|
kDragActionMove = (1L << 4)
|
|
|
|
kDragActionDelete = (1L << 5)
|
|
|
|
# kDragActionAll = (long)0xFFFFFFFF
|
2001-08-19 19:13:00 -03:00
|
|
|
dragHasLeftSenderWindow = kDragHasLeftSenderWindow
|
|
|
|
dragInsideSenderApplication = kDragInsideSenderApplication
|
2004-07-18 03:16:08 -03:00
|
|
|
dragInsideSenderWindow = kDragInsideSenderWindow
|
2001-08-19 19:13:00 -03:00
|
|
|
dragTrackingEnterHandler = kDragTrackingEnterHandler
|
|
|
|
dragTrackingEnterWindow = kDragTrackingEnterWindow
|
|
|
|
dragTrackingInWindow = kDragTrackingInWindow
|
|
|
|
dragTrackingLeaveWindow = kDragTrackingLeaveWindow
|
2004-07-18 03:16:08 -03:00
|
|
|
dragTrackingLeaveHandler = kDragTrackingLeaveHandler
|
2001-08-19 19:13:00 -03:00
|
|
|
dragRegionBegin = kDragRegionBegin
|
|
|
|
dragRegionDraw = kDragRegionDraw
|
|
|
|
dragRegionHide = kDragRegionHide
|
|
|
|
dragRegionIdle = kDragRegionIdle
|
2004-07-18 03:16:08 -03:00
|
|
|
dragRegionEnd = kDragRegionEnd
|
2001-08-19 19:13:00 -03:00
|
|
|
zoomNoAcceleration = kZoomNoAcceleration
|
|
|
|
zoomAccelerate = kZoomAccelerate
|
2004-07-18 03:16:08 -03:00
|
|
|
zoomDecelerate = kZoomDecelerate
|
2001-08-19 19:13:00 -03:00
|
|
|
kDragStandardImage = kDragStandardTranslucency
|
|
|
|
kDragDarkImage = kDragDarkTranslucency
|
|
|
|
kDragDarkerImage = kDragDarkerTranslucency
|
2004-07-18 03:16:08 -03:00
|
|
|
kDragOpaqueImage = kDragOpaqueTranslucency
|