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