Gesture.connectBegin

gulong connectBegin(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.event_sequence.EventSequence))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.gesture.Gesture))) && Parameters!T.length < 3)

Connect to Begin signal.

This signal is emitted when the gesture is recognized. This means the number of touch sequences matches #GtkGesture:n-points, and the #GtkGesture::check handler(s) returned #TRUE.

Note

These conditions may also happen when an extra touch (eg. a third touch

on a 2-touches gesture) is lifted, in that situation sequence won't pertain to the current set of active touches, so don't rely on this being true.

Parameters

callbacksignal callback delegate or function to connect void callback(gdk.event_sequence.EventSequence sequence, gtk.gesture.Gesture gesture) sequence the #GdkEventSequence that made the gesture to be recognized (optional) gesture 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