1 # Generated from 'Drag.h' 2 3 def FOUR_CHAR_CODE(x): return x 4 from Carbon.TextEdit import * 5 from Carbon.QuickDraw import * 6 fkDragActionAll = -1 7 8 9 kDragHasLeftSenderWindow = (1 << 0) 10 kDragInsideSenderApplication = (1 << 1) 11 kDragInsideSenderWindow = (1 << 2) 12 kDragRegionAndImage = (1 << 4) 13 flavorSenderOnly = (1 << 0) 14 flavorSenderTranslated = (1 << 1) 15 flavorNotSaved = (1 << 2) 16 flavorSystemTranslated = (1 << 8) 17 kDragHasLeftSenderWindow = (1L << 0) 18 kDragInsideSenderApplication = (1L << 1) 19 kDragInsideSenderWindow = (1L << 2) 20 kDragBehaviorNone = 0 21 kDragBehaviorZoomBackAnimation = (1L << 0) 22 kDragRegionAndImage = (1L << 4) 23 kDragStandardTranslucency = 0L 24 kDragDarkTranslucency = 1L 25 kDragDarkerTranslucency = 2L 26 kDragOpaqueTranslucency = 3L 27 kDragRegionBegin = 1 28 kDragRegionDraw = 2 29 kDragRegionHide = 3 30 kDragRegionIdle = 4 31 kDragRegionEnd = 5 32 kZoomNoAcceleration = 0 33 kZoomAccelerate = 1 34 kZoomDecelerate = 2 35 flavorSenderOnly = (1 << 0) 36 flavorSenderTranslated = (1 << 1) 37 flavorNotSaved = (1 << 2) 38 flavorSystemTranslated = (1 << 8) 39 flavorDataPromised = (1 << 9) 40 kDragFlavorTypeHFS = FOUR_CHAR_CODE('hfs ') 41 kDragFlavorTypePromiseHFS = FOUR_CHAR_CODE('phfs') 42 flavorTypeHFS = kDragFlavorTypeHFS 43 flavorTypePromiseHFS = kDragFlavorTypePromiseHFS 44 kDragPromisedFlavorFindFile = FOUR_CHAR_CODE('rWm1') 45 kDragPromisedFlavor = FOUR_CHAR_CODE('fssP') 46 kDragPseudoCreatorVolumeOrDirectory = FOUR_CHAR_CODE('MACS') 47 kDragPseudoFileTypeVolume = FOUR_CHAR_CODE('disk') 48 kDragPseudoFileTypeDirectory = FOUR_CHAR_CODE('fold') 49 flavorTypeDirectory = FOUR_CHAR_CODE('diry') 50 kFlavorTypeClippingName = FOUR_CHAR_CODE('clnm') 51 kFlavorTypeClippingFilename = FOUR_CHAR_CODE('clfn') 52 kFlavorTypeDragToTrashOnly = FOUR_CHAR_CODE('fdtt') 53 kFlavorTypeFinderNoTrackingBehavior = FOUR_CHAR_CODE('fntb') 54 kDragTrackingEnterHandler = 1 55 kDragTrackingEnterWindow = 2 56 kDragTrackingInWindow = 3 57 kDragTrackingLeaveWindow = 4 58 kDragTrackingLeaveHandler = 5 59 kDragActionNothing = 0L 60 kDragActionCopy = 1L 61 kDragActionAlias = (1L << 1) 62 kDragActionGeneric = (1L << 2) 63 kDragActionPrivate = (1L << 3) 64 kDragActionMove = (1L << 4) 65 kDragActionDelete = (1L << 5) 66 # kDragActionAll = (long)0xFFFFFFFF 67 dragHasLeftSenderWindow = kDragHasLeftSenderWindow 68 dragInsideSenderApplication = kDragInsideSenderApplication 69 dragInsideSenderWindow = kDragInsideSenderWindow 70 dragTrackingEnterHandler = kDragTrackingEnterHandler 71 dragTrackingEnterWindow = kDragTrackingEnterWindow 72 dragTrackingInWindow = kDragTrackingInWindow 73 dragTrackingLeaveWindow = kDragTrackingLeaveWindow 74 dragTrackingLeaveHandler = kDragTrackingLeaveHandler 75 dragRegionBegin = kDragRegionBegin 76 dragRegionDraw = kDragRegionDraw 77 dragRegionHide = kDragRegionHide 78 dragRegionIdle = kDragRegionIdle 79 dragRegionEnd = kDragRegionEnd 80 zoomNoAcceleration = kZoomNoAcceleration 81 zoomAccelerate = kZoomAccelerate 82 zoomDecelerate = kZoomDecelerate 83 kDragStandardImage = kDragStandardTranslucency 84 kDragDarkImage = kDragDarkTranslucency 85 kDragDarkerImage = kDragDarkerTranslucency 86 kDragOpaqueImage = kDragOpaqueTranslucency 87