SaveDelegate.connectClose

gulong connectClose(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] : panel.save_delegate.SaveDelegate))) && Parameters!T.length < 2)

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].

Parameters

callbacksignal callback delegate or function to connect void callback(panel.save_delegate.SaveDelegate saveDelegate) saveDelegate 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