Window.connectCloseRequest

Connect to CloseRequest signal.

Emitted when the user clicks on the close button of the window.

class Window
ulong
connectCloseRequest
(
T
)
(,
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
)

Parameters

callback T

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 Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID