Window.connectFromEmbedder
gulong connectFromEmbedder(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] == double)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == double)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.out_ && is(Parameters!T[2] == double)))
&& (Parameters!T.length < 4 || (ParameterStorageClassTuple!T[3] == ParameterStorageClass.out_ && is(Parameters!T[3] == double)))
&& (Parameters!T.length < 5 || (ParameterStorageClassTuple!T[4] == ParameterStorageClass.none && is(Parameters!T[4] : gdk.window.Window)))
&& Parameters!T.length < 6)Connect to FromEmbedder signal.
The ::from-embedder signal is emitted to translate coordinates in the embedder of an offscreen window to the offscreen window.
See also #GdkWindow::to-embedder.
Parameters
callback | signal callback delegate or function to connect void callback(double embedderX, double embedderY, out double offscreenX, out double offscreenY, gdk.window.Window window) embedderX x coordinate in the embedder window (optional) embedderY y coordinate in the embedder window (optional) offscreenX return location for the x coordinate in the offscreen window (optional) offscreenY return location for the y coordinate in the offscreen window (optional) window 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