DragContext.connectCancel

gulong connectCancel(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gdk.types.DragCancelReason))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gdk.drag_context.DragContext))) && Parameters!T.length < 3)

Connect to Cancel signal.

The drag and drop operation was cancelled.

This signal will only be emitted if the #GdkDragContext manages the drag and drop operation. See [gdk.drag_context.DragContext.manageDnd] for more information.

Parameters

callbacksignal callback delegate or function to connect void callback(gdk.types.DragCancelReason reason, gdk.drag_context.DragContext dragContext) reason The reason the context was cancelled (optional) dragContext the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID