DragContext.dragDropDone

Inform GDK if the drop ended successfully. Passing %FALSE for @success may trigger a drag cancellation animation.

This function is called by the drag source, and should be the last call before dropping the reference to the @context.

The #GdkDragContext will only take the first gdk_drag_drop_done() call as effective, if this function is called multiple times, all subsequent calls will be ignored.

class DragContext
static
void
dragDropDone

Parameters

context DragContext

a #GdkDragContext

success bool

whether the drag was ultimatively successful

Meta

Since

3.20