GestureClick.connectReleased

Connect to Released signal.

Emitted when a button or touch is released.

n_press will report the number of press that is paired to this event, note that gtk.gesture_click.GestureClick.stopped may have been emitted between the press and its release, n_press will only start over at the next press.

class GestureClick
ulong
connectReleased
(
T
)
(,
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 &&
)
)
&&
Parameters!T.length < 5
)

Parameters

callback T

signal callback delegate or function to connect

void callback(int nPress, double x, double y, gtk.gesture_click.GestureClick gestureClick)

nPress number of press that is paired with this release (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)

after Flag!"After"

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

Return Value

Type: ulong

Signal ID