SaveDelegate.connectClose

Connect to Close signal.

This signal is emitted when the save delegate should close the widget it is related to. This can happen after saving as part of a close request and it is now save for the delegate to close.

Implementations are encouraged to connect to this signal (or implement the virtual method) and call panel.widget.Widget.forceClose.

class SaveDelegate
ulong
connectClose
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == void)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 2
)

Parameters

callback T

signal callback delegate or function to connect

void callback(panel.save_delegate.SaveDelegate saveDelegate)

saveDelegate 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: ulong

Signal ID