finish

open fun finish(action: DragAction)

Ends the drag operation after a drop.

The @action must be a single action selected from the actions available via method@Gdk.Drop.get_actions.

Parameters

action

the action performed by the destination or 0 if the drop failed