Signal
WebKit2WebView::create
Declaration
GtkWidget*
create (
WebKitWebView* self,
WebKitNavigationAction* navigation_action,
gpointer user_data
)
Description [src]
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
webkit_web_view_new_with_related_view()
for more details.
The new WebKitWebView
should not be displayed to the user
until the WebKitWebView::ready-to-show
signal is emitted.
Default handler: | The default handler is called after the handlers added via |
Parameters
navigation_action |
WebKitNavigationAction |
A |
|
The data is owned by the caller of the function. |
Return value
Returns: | GtkWidget |
A newly allocated |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |