Function

Gdkdrag_drop_done

since: 3.20

Declaration [src]

void
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

Parameters

context

Type: GdkDragContext

A GdkDragContext.

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

Type: gboolean

Whether the drag was ultimatively successful.