Drop.finish

void finish(gdk.types.DragAction action)

Ends the drag operation after a drop.

The action must be a single action selected from the actions available via [gdk.drop.Drop.getActions].

Parameters

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