Constructor

WPEWebKitWebViewnew_with_context

Declaration [src]

WebKitWebView*
webkit_web_view_new_with_context (
  WebKitWebViewBackend* backend,
  WebKitWebContext* context
)

Description [src]

Creates a new web view with a given context.

The new web view will use the given WebKitWebContext and will not have an associated WebKitUserContentManager.

See also webkit_web_view_new_with_user_content_manager() and webkit_web_view_new_with_settings().

Parameters

backend 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.
context WebKitWebContext
 

The web context the new WebKitWebView will use.

 The data is owned by the caller of the function.

Return value

Returns: WebKitWebView
 

The newly created web view.

 The caller of the function takes ownership of the data, and is responsible for freeing it.