summaryrefslogtreecommitdiff
path: root/gdk/gdkdnd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/gdkdnd.h')
-rw-r--r--gdk/gdkdnd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdk/gdkdnd.h b/gdk/gdkdnd.h
index f153af44a1..d7a20d2866 100644
--- a/gdk/gdkdnd.h
+++ b/gdk/gdkdnd.h
@@ -60,6 +60,15 @@ typedef enum
} GdkDragAction;
/**
+ * GDK_ACTION_ALL:
+ *
+ * Defines all possible DND actions. This can be used in gdk_drop_status()
+ * messages when any drop can be accepted or a more specific drop method
+ * is not yet known.
+ */
+#define GDK_ACTION_ALL (GDK_ACTION_COPY | GDK_ACTION_MOVE | GDK_ACTION_LINK)
+
+/**
* GdkDragCancelReason:
* @GDK_DRAG_CANCEL_NO_TARGET: There is no suitable drop target.
* @GDK_DRAG_CANCEL_USER_CANCELLED: Drag cancelled by the user