DragContext.connectActionChanged
gulong connectActionChanged(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.DragAction)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gdk.drag_context.DragContext)))
&& Parameters!T.length < 3)Connect to ActionChanged signal.
A new action is being chosen for the drag and drop operation.
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
callback | signal callback delegate or function to connect void callback(gdk.types.DragAction action, gdk.drag_context.DragContext dragContext) action The action currently chosen (optional) dragContext the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID