summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/Carbon/Dragconst.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-mac/Carbon/Dragconst.py')
-rw-r--r--Lib/plat-mac/Carbon/Dragconst.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/Lib/plat-mac/Carbon/Dragconst.py b/Lib/plat-mac/Carbon/Dragconst.py
index f08f478..e5c8b89 100644
--- a/Lib/plat-mac/Carbon/Dragconst.py
+++ b/Lib/plat-mac/Carbon/Dragconst.py
@@ -3,6 +3,7 @@
def FOUR_CHAR_CODE(x): return x
from Carbon.TextEdit import *
from Carbon.QuickDraw import *
+fkDragActionAll = -1
kDragHasLeftSenderWindow = (1 << 0)
@@ -34,7 +35,8 @@ kZoomDecelerate = 2
flavorSenderOnly = (1 << 0)
flavorSenderTranslated = (1 << 1)
flavorNotSaved = (1 << 2)
-flavorSystemTranslated = (1 << 8)
+flavorSystemTranslated = (1 << 8)
+flavorDataPromised = (1 << 9)
kDragFlavorTypeHFS = FOUR_CHAR_CODE('hfs ')
kDragFlavorTypePromiseHFS = FOUR_CHAR_CODE('phfs')
flavorTypeHFS = kDragFlavorTypeHFS
@@ -54,6 +56,14 @@ kDragTrackingEnterWindow = 2
kDragTrackingInWindow = 3
kDragTrackingLeaveWindow = 4
kDragTrackingLeaveHandler = 5
+kDragActionNothing = 0L
+kDragActionCopy = 1L
+kDragActionAlias = (1L << 1)
+kDragActionGeneric = (1L << 2)
+kDragActionPrivate = (1L << 3)
+kDragActionMove = (1L << 4)
+kDragActionDelete = (1L << 5)
+# kDragActionAll = (long)0xFFFFFFFF
dragHasLeftSenderWindow = kDragHasLeftSenderWindow
dragInsideSenderApplication = kDragInsideSenderApplication
dragInsideSenderWindow = kDragInsideSenderWindow