Function

Coghandle_web_view_web_process_terminated

Declaration [src]

gboolean
cog_handle_web_view_web_process_terminated (
  WebKitWebView* web_view,
  WebKitWebProcessTerminationReason reason,
  void* userdata
)

Description [src]

Handles unexpected web process termination, showing a simple error page and logging a message to the standard error output.

This function is typically used in a callback that handles the WebKit.WebView::web-process-terminated signal, and can be used directly as a callback for it:

WebKitWebView* web_view = webkit_web_view_new(...);
g_signal_connect(web_view, "web-process-terminated",
                 G_CALLBACK(cog_handle_web_view_web_process_terminated),
                 NULL);

This function is not directly available to language bindings.

Parameters

web_view

Type: WebKitWebView*

A WebKit.WebView.

The data is owned by the caller of the function.
reason

Type: WebKitWebProcessTerminationReason

Cause for process termination.

userdata

Type: void*

User data.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gboolean

No description available.