DropTarget.connectMotion
gulong connectMotion(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == gdk.types.DragAction)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == double)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == double)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.drop_target.DropTarget)))
&& Parameters!T.length < 4)Connect to Motion signal.
Emitted while the pointer is moving over the drop target.
Parameters
callback | signal callback delegate or function to connect gdk.types.DragAction callback(double x, double y, gtk.drop_target.DropTarget dropTarget) x the x coordinate of the current pointer position (optional) y the y coordinate of the current pointer position (optional) dropTarget the instance the signal is connected to (optional) Returns Preferred action for this drag operation or 0 if dropping is not supported at the current x,y location. |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID