GLWindow.connectMouseEvent
gulong connectMouseEvent(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] == string)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == int)))
&& (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] == double)))
&& (Parameters!T.length < 5 || (ParameterStorageClassTuple!T[4] == ParameterStorageClass.none && is(Parameters!T[4] : gstgl.glwindow.GLWindow)))
&& Parameters!T.length < 6)Connect to MouseEvent signal.
Will be emitted when a mouse event is received by the GstGLwindow.
Parameters
callback | signal callback delegate or function to connect void callback(string id, int button, double x, double y, gstgl.glwindow.GLWindow gLWindow) id the name of the event (optional) button the id of the button (optional) x the x coordinate of the mouse event (optional) y the y coordinate of the mouse event (optional) gLWindow the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID