create_web_view


Description:

public signal unowned WebView create_web_view ()

This signal is emitted when the automation client requests a new browsing context to interact with it.

The callback handler should return a WebView created with is_controlled_by_automation construct property enabled and automation_presentation_type construct property set if needed.

If the signal is emitted with "tab" detail, the returned WebView should be a new web view added to a new tab of the current browsing context window. If the signal is emitted with "window" detail, the returned WebView should be a new web view added to a new window. When creating a new web view and there's an active browsing context, the new window or tab shouldn't be focused.

Returns:

a WebView widget.