Declaration [src]

gdk_drag_drop_done (
  GdkDragContext* context,
  gboolean success

Description [src]

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.

Available since:3.20


context GdkDragContext

A GdkDragContext.

 The data is owned by the caller of the function.
success gboolean

Whether the drag was ultimatively successful.