Gdk.Drag::cancel
Description: Reference for signal Gdk.Drag::cancel

### Signal

# Gdk Drag::cancel

since: 4.0

#### Declaration

    void
    cancel (
      GdkDrag* self,
      GdkDragCancelReason* reason,
      gpointer user_data
    )

#### Description [src]

Emitted when the drag operation is cancelled.

Default handler: The default handler is called after the handlers added via `g_signal_connect()`.
Available since: 4.0

#### Parameters

`reason`

  Type: `GdkDragCancelReason`

  The reason the drag was cancelled.

  The data is owned by the caller of the function.