GestureClick.connectPressed

gulong connectPressed(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] == int))) && (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] == double))) && (Parameters!T.length < 4 || (ParameterStorageClassTuple!T[3] == ParameterStorageClass.none && is(Parameters!T[3] : gtk.gesture_click.GestureClick))) && Parameters!T.length < 5)

Connect to Pressed signal.

Emitted whenever a button or touch press happens.

Parameters

callbacksignal callback delegate or function to connect void callback(int nPress, double x, double y, gtk.gesture_click.GestureClick gestureClick) nPress how many touch/button presses happened with this one (optional) x The X coordinate, in widget allocation coordinates (optional) y The Y coordinate, in widget allocation coordinates (optional) gestureClick 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