Window.connectCloseRequest
gulong connectCloseRequest(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.window.Window)))
&& Parameters!T.length < 2)Connect to CloseRequest signal.
Emitted when the user clicks on the close button of the window.
Parameters
callback | signal callback delegate or function to connect bool callback(gtk.window.Window window) window the instance the signal is connected to (optional) Returns true to stop other handlers from being invoked for the signal |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID