Application.connectWindowRemoved

gulong connectWindowRemoved(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] : gtk.window.Window))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.application.Application))) && Parameters!T.length < 3)

Connect to WindowRemoved signal.

Emitted when a [gtk.window.Window] is removed from application.

This can happen as a side-effect of the window being destroyed or explicitly through [gtk.application.Application.removeWindow].

Parameters

callbacksignal callback delegate or function to connect void callback(gtk.window.Window window, gtk.application.Application application) window the [gtk.window.Window] that is being removed (optional) application 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