WebView.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] : webkit.web_view.WebView))) && Parameters!T.length < 2)

Connect to Close signal.

Emitted when closing a #WebKitWebView is requested. This occurs when a call is made from JavaScript's <function>window.close</function> function or after trying to close the web_view with [webkit.web_view.WebView.tryClose]. It is the owner's responsibility to handle this signal to hide or destroy the #WebKitWebView, if necessary.

Parameters

callbacksignal callback delegate or function to connect void callback(webkit.web_view.WebView webView) webView 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