DragAction#

class DragAction#

Used in GdkDrop and GdkDrag to indicate the actions that the destination can and should do with the dropped data.

Methods#

class DragAction
is_unique() bool#

Checks if action represents a single action or includes multiple actions.

When action is GDK_ACTION_NONE - ie no action was given, TRUE is returned.

Fields#

class DragAction
ASK#

Ask the user what to do with the data.

COPY#

Copy the data.

Add a link to the data. Note that this is only useful if source and destination agree on what it means, and is not supported on all platforms.

MOVE#

Move the data, i.e. first copy it, then delete it from the source using the DELETE target of the X selection protocol.

NONE#

No action.

Added in version 4.20.