WebView.connectCreate
gulong connectCreate(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T : gtk.widget.Widget)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == webkit.navigation_action.NavigationAction)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to Create signal.
Emitted when the creation of a new #WebKitWebView is requested. If this signal is handled the signal handler should return the newly created #WebKitWebView.
The #WebKitNavigationAction parameter contains information about the navigation action that triggered this signal.
The new #WebKitWebView must be related to web_view, see #WebKitWebView:related-view for more details.
The new #WebKitWebView should not be displayed to the user until the #WebKitWebView::ready-to-show signal is emitted.
For creating views as response to automation tools requests, see the #WebKitAutomationSession::create-web-view signal.
Parameters
callback | signal callback delegate or function to connect gtk.widget.Widget callback(webkit.navigation_action.NavigationAction navigationAction, webkit.web_view.WebView webView) navigationAction a #WebKitNavigationAction (optional) webView the instance the signal is connected to (optional) Returns a newly allocated #WebKitWebView widget or null to propagate the event further. |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID