Function
WPEWebKitWebViewBackendnew
Declaration [src]
WebKitWebViewBackend*
webkit_web_view_backend_new (
wpe_view_backend* backend,
GDestroyNotify notify,
gpointer user_data
)
Description [src]
Create a new WebKitWebViewBackend for the given WPE backend. You can pass a GDestroyNotify
that will be called when the object is destroyed passing user_data as the argument. If notify
is NULL, wpe_view_backend_destroy() will be used with backend as argument.
The returned WebKitWebViewBackend should never be freed by the user; it must be passed to a
WebKitWebView constructor that will take the ownership.
| Available since: | 2.20 |
Parameters
backend |
wpe_view_backend* |
A #wpe_view_backend. |
|
The argument can be NULL. | |
| The called function takes ownership of the data, and is responsible for freeing it. | |
notify |
GDestroyNotify |
A |
|
user_data |
gpointer |
User data to pass to |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. |
Return value
| Returns: | WebKitWebViewBackend |
A newly created |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. |