Window.connectToEmbedder

Connect to ToEmbedder signal.

The ::to-embedder signal is emitted to translate coordinates in an offscreen window to its embedder.

See also #GdkWindow::from-embedder.

class Window
gulong
connectToEmbedder
(
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] == 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
)

Parameters

callback T

signal callback delegate or function to connect

void callback(double offscreenX, double offscreenY, out double embedderX, out double embedderY, gdk.window.Window window)

offscreenX x coordinate in the offscreen window (optional)

offscreenY y coordinate in the offscreen window (optional)

embedderX return location for the x coordinate in the embedder window (optional)

embedderY return location for the y coordinate in the embedder window (optional)

window 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: gulong

Signal ID