Constructor
WPEWebKitWebViewnew_with_related_view
since: 2.4
Declaration [src]
WebKitWebView*
webkit_web_view_new_with_related_view (
WebKitWebViewBackend* backend,
WebKitWebView* web_view
)
Description [src]
Creates a new web view sharing the same configuration and web process as another.
A related view should always be set when creating a WebKitWebView
in a handler
for the WebKitWebView::create
signal.
The new view will also have the same WebKitUserContentManager
and
WebKitSettings
as the related web_view
.
Available since: 2.4
Parameters
backend
-
Type:
WebKitWebViewBackend
Wrapped WPE view backend which will determine the behaviour of the new
WebKitWebView
.The called function takes ownership of the data, and is responsible for freeing it. web_view
-
Type:
WebKitWebView
The related web view.
The data is owned by the caller of the function.
Return value
Type: WebKitWebView
The newly created web view.
The caller of the function takes ownership of the data, and is responsible for freeing it. |