5.3 <GdkDragAction>

Flags: <GdkDragAction>

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

Members

none

No action.

copy

Copy the data.

move

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

link

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.

ask

Ask the user what to do with the data.

Procedures

Procedure: drag-action:is-unique? action ⇒ %return

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

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

action

Passed: a <GdkDragAction>, or a list of its symbols, or one of them.

a <GdkDragAction>

%return

Returned: a boolean.

#t if exactly one action was given