Gesture.connectEnd

Connect to End signal.

This signal is emitted when gesture either stopped recognizing the event sequences as something to be handled (the #GtkGesture::check handler returned false), or the number of touch sequences became higher or lower than #GtkGesture:n-points.

Note: sequence might not pertain to the group of sequences that were previously triggering recognition on gesture (ie. a just pressed touch sequence that exceeds #GtkGesture:n-points). This situation may be detected by checking through gtk.gesture.Gesture.handlesSequence.

class Gesture
gulong
connectEnd
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == void)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
is(Parameters!T[1] : gtk.gesture.Gesture)
)
)
&&
Parameters!T.length < 3
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gdk.event_sequence.EventSequence sequence, gtk.gesture.Gesture gesture)

sequence the #GdkEventSequence that made gesture recognition to finish (optional)

gesture the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: gulong

Signal ID