webkit.web_view
Module for [WebView] class
Types 3
The central class of the WPE WebKit and WebKitGTK APIs.
#WebKitWebView is the central class of the WPE WebKit and WebKitGTK APIs. It is responsible for managing the drawing of the content and forwarding of events. You can load any URI into the #WebKitWebView or a data string. With #WebKitSettings you can control various aspects of the rendering and loading of the content.
Note that in WebKitGTK, #WebKitWebView is scrollable by itself, so you don't need to embed it in a #GtkScrolledWindow.
Methods
WebViewGidBuilder builder()Get builder for [webkit.web_view.WebView] Returns: New builder objectwebkit.types.AutomationBrowsingContextPresentation automationPresentationType() @propertyGet `automationPresentationType` property. Returns: The #WebKitAutomationBrowsingContextPresentation of #WebKitWebView. This should only be used when creating a new #WebKitWebView as a response to ...webkit.types.MediaCaptureState cameraCaptureState() @propertyGet `cameraCaptureState` property. Returns: Capture state of the camera device. Whenever the user grants a media-request sent by the web page, requesting video capture capabilities (`navigator.medi...void cameraCaptureState(webkit.types.MediaCaptureState propval) @propertySet `cameraCaptureState` property. Params: propval = Capture state of the camera device. Whenever the user grants a media-request sent by the web page, requesting video capture capabilities (`navig...string defaultContentSecurityPolicy() @propertyGet `defaultContentSecurityPolicy` property. Returns: The default Content-Security-Policy used by the webview as if it were set by an HTTP header.webkit.types.MediaCaptureState displayCaptureState() @propertyGet `displayCaptureState` property. Returns: Capture state of the display device. Whenever the user grants a media-request sent by the web page, requesting screencasting capabilities (`navigator.me...void displayCaptureState(webkit.types.MediaCaptureState propval) @propertySet `displayCaptureState` property. Params: propval = Capture state of the display device. Whenever the user grants a media-request sent by the web page, requesting screencasting capabilities (`nav...bool editable() @propertyGet `editable` property. Returns: Whether the pages loaded inside #WebKitWebView are editable. For more information see [webkit.web_view.WebView.setEditable].void editable(bool propval) @propertySet `editable` property. Params: propval = Whether the pages loaded inside #WebKitWebView are editable. For more information see [webkit.web_view.WebView.setEditable].double estimatedLoadProgress() @propertyGet `estimatedLoadProgress` property. Returns: An estimate of the percent completion for the current loading operation. This value will range from 0.0 to 1.0 and, once a load completes, will remain...gdk.texture.Texture favicon() @propertyGet `favicon` property. Returns: The favicon currently associated to the #WebKitWebView. See [webkit.web_view.WebView.getFavicon] for more details.bool isMuted() @propertyGet `isMuted` property. Returns: Whether the #WebKitWebView audio is muted. When true, audio is silenced. It may still be playing, i.e. #WebKitWebView:is-playing-audio may be true.void isMuted(bool propval) @propertySet `isMuted` property. Params: propval = Whether the #WebKitWebView audio is muted. When true, audio is silenced. It may still be playing, i.e. #WebKitWebView:is-playing-audio may be true.bool isWebProcessResponsive() @propertyGet `isWebProcessResponsive` property. Returns: Whether the web process currently associated to the #WebKitWebView is responsive.webkit.types.MediaCaptureState microphoneCaptureState() @propertyGet `microphoneCaptureState` property. Returns: Capture state of the microphone device. Whenever the user grants a media-request sent by the web page, requesting audio capture capabilities (`naviga...void microphoneCaptureState(webkit.types.MediaCaptureState propval) @propertySet `microphoneCaptureState` property. Params: propval = Capture state of the microphone device. Whenever the user grants a media-request sent by the web page, requesting audio capture capabilities...webkit.network_session.NetworkSession networkSession() @propertyGet `networkSession` property. Returns: The #WebKitNetworkSession of the viewulong pageId() @propertyGet `pageId` property. Returns: The identifier of the #WebKitWebPage corresponding to the #WebKitWebView.void settings(webkit.settings.Settings propval) @propertySet `settings` property. Params: propval = The #WebKitSettings of the view.string title() @propertyGet `title` property. Returns: The main frame document title of this #WebKitWebView. If the title has not been received yet, it will be null.string uri() @propertyGet `uri` property. Returns: The current active URI of the #WebKitWebView. See [webkit.web_view.WebView.getUri] for more details.webkit.user_content_manager.UserContentManager userContentManager() @propertyGet `userContentManager` property. Returns: The #WebKitUserContentManager of the view.webkit.web_context.WebContext webContext() @propertyGet `webContext` property. Returns: The #WebKitWebContext of the view.webkit.types.WebExtensionMode webExtensionMode() @propertyGet `webExtensionMode` property. Returns: This configures @web_view to treat the content as a WebExtension.webkit.website_policies.WebsitePolicies websitePolicies() @propertyGet `websitePolicies` property. Returns: The #WebKitWebsitePolicies for the view.double zoomLevel() @propertyGet `zoomLevel` property. Returns: The zoom level of the #WebKitWebView content. See [webkit.web_view.WebView.setZoomLevel] for more details.void zoomLevel(double propval) @propertySet `zoomLevel` property. Params: propval = The zoom level of the #WebKitWebView content. See [webkit.web_view.WebView.setZoomLevel] for more details.void callAsyncJavascriptFunction(string body_, glib.variant.Variant arguments = null, string worldName = null, string sourceUri = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Asynchronously call body with arguments in the script world with name worldname of the main frame current context in webview. The arguments values must be one of the following types, or contain onl...javascriptcore.value.Value callAsyncJavascriptFunctionFinish(gio.async_result.AsyncResult result)Finish an asynchronous operation started with [webkit.web_view.WebView.callAsyncJavascriptFunction].void canExecuteEditingCommand(string command, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Asynchronously check if it is possible to execute the given editing command.bool canExecuteEditingCommandFinish(gio.async_result.AsyncResult result)Finish an asynchronous operation started with [webkit.web_view.WebView.canExecuteEditingCommand].bool canGoBack()Determines whether web_view has a previous history item. Returns: true if able to move back or false otherwise.bool canGoForward()Determines whether web_view has a next history item. Returns: true if able to move forward or false otherwise.bool canShowMimeType(string mimeType)Whether or not a MIME type can be displayed in web_view.webkit.download.Download downloadUri(string uri)Requests downloading of the specified URI string for web_view.void evaluateJavascript(string script, string worldName = null, string sourceUri = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Asynchronously evaluate script in the script world with name worldname of the main frame current context in webview. If worldname is null, the default world is used. Any value that is not null is a...javascriptcore.value.Value evaluateJavascriptFinish(gio.async_result.AsyncResult result)Finish an asynchronous operation started with [webkit.web_view.WebView.evaluateJavascript].void executeEditingCommand(string command)Request to execute the given command for web_view.void executeEditingCommandWithArgument(string command, string argument)Request to execute the given command with argument for web_view.webkit.types.AutomationBrowsingContextPresentation getAutomationPresentationType()Get the presentation type of #WebKitWebView when created for automation. Returns: a #WebKitAutomationBrowsingContextPresentation.webkit.back_forward_list.BackForwardList getBackForwardList()Obtains the #WebKitBackForwardList associated with the given #WebKitWebView.void getBackgroundColor(out gdk.rgba.RGBA rgba)Gets the color that is used to draw the web_view background.webkit.types.MediaCaptureState getCameraCaptureState()Get the camera capture state of a #WebKitWebView. Returns: The #WebKitMediaCaptureState of the camera device. If #WebKitSettings:enable-mediastream is false, this method will return [webkit.types.M...webkit.web_context.WebContext getContext()Gets the web context of web_view. Returns: the #WebKitWebContext of the viewstring getCustomCharset()Returns the current custom character encoding name of web_view. Returns: the current custom character encoding name or null if no custom character encoding has been set.string getDefaultContentSecurityPolicy()Gets the configured default Content-Security-Policy. Returns: The default policy or nullwebkit.types.MediaCaptureState getDisplayCaptureState()Get the display capture state of a #WebKitWebView. Returns: The #WebKitMediaCaptureState of the display device. If #WebKitSettings:enable-mediastream is false, this method will return [webkit.types...webkit.editor_state.EditorState getEditorState()Gets the web editor state of web_view. Returns: the #WebKitEditorState of the viewdouble getEstimatedLoadProgress()Gets the value of the #WebKitWebView:estimated-load-progress property.gdk.texture.Texture getFavicon()Returns favicon currently associated to web_view.webkit.find_controller.FindController getFindController()Gets the #WebKitFindController.webkit.input_method_context.InputMethodContext getInputMethodContext()Get the #WebKitInputMethodContext currently in use by web_view.webkit.web_inspector.WebInspector getInspector()Get the #WebKitWebInspector associated to webview Returns: the #WebKitWebInspector of webviewbool getIsMuted()Gets the mute state of webview. Returns: true if webview audio is muted or false is audio is not muted.bool getIsWebProcessResponsive()Get whether the current web process of a #WebKitWebView is responsive. Returns: true if the web process attached to web_view is responsive, or false otherwise.webkit.web_resource.WebResource getMainResource()Return the main resource of web_view. Returns: the main #WebKitWebResource of the view or null if nothing has been loaded.webkit.types.MediaCaptureState getMicrophoneCaptureState()Get the microphone capture state of a #WebKitWebView. Returns: The #WebKitMediaCaptureState of the microphone device. If #WebKitSettings:enable-mediastream is false, this method will return [webkit...webkit.network_session.NetworkSession getNetworkSession()Get the #WebKitNetworkSession associated to web_view. Returns: a #WebKitNetworkSessionulong getPageId()Get the identifier of the #WebKitWebPage corresponding to the #WebKitWebView Returns: the page ID of web_view.webkit.web_view_session_state.WebViewSessionState getSessionState()Gets the current session state of web_view Returns: a #WebKitWebViewSessionStatewebkit.settings.Settings getSettings()Gets the #WebKitSettings currently applied to web_view.void getSnapshot(webkit.types.SnapshotRegion region, webkit.types.SnapshotOptions options, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Asynchronously retrieves a snapshot of web_view for region.gdk.texture.Texture getSnapshotFinish(gio.async_result.AsyncResult result)Finishes an asynchronous operation started with [webkit.web_view.WebView.getSnapshot].string getTitle()Gets the value of the #WebKitWebView:title property.bool getTlsInfo(out gio.tls_certificate.TlsCertificate certificate, out gio.types.TlsCertificateFlags errors)Retrieves the #GTlsCertificate associated with the main resource of web_view.string getUri()Returns the current active URI of web_view.webkit.user_content_manager.UserContentManager getUserContentManager()Gets the user content manager associated to web_view. Returns: the #WebKitUserContentManager associated with the viewwebkit.types.WebExtensionMode getWebExtensionMode()Get the view's #WebKitWebExtensionMode. Returns: the #WebKitWebExtensionModewebkit.website_policies.WebsitePolicies getWebsitePolicies()Gets the default website policies.webkit.window_properties.WindowProperties getWindowProperties()Get the #WebKitWindowProperties object.double getZoomLevel()Set the zoom level of web_view.void goBack()Loads the previous history item.void goForward()Loads the next history item.void goToBackForwardListItem(webkit.back_forward_list_item.BackForwardListItem listItem)Loads the specific history item list_item.bool isControlledByAutomation()Get whether a #WebKitWebView was created with #WebKitWebView:is-controlled-by-automation property enabled.bool isEditable()Gets whether the user is allowed to edit the HTML document.bool isLoading()Gets the value of the #WebKitWebView:is-loading property.bool isPlayingAudio()Gets the value of the #WebKitWebView:is-playing-audio property.void loadAlternateHtml(string content, string contentUri, string baseUri = null)Load the given content string for the URI content_uri.void loadBytes(glib.bytes.Bytes bytes, string mimeType = null, string encoding = null, string baseUri = null)Load the specified bytes into webview using the given mimetype and encoding.void loadHtml(string content, string baseUri = null)Load the given content string with the specified base_uri.void loadPlainText(string plainText)Load the specified plaintext string into webview.void loadRequest(webkit.urirequest.URIRequest request)Requests loading of the specified #WebKitURIRequest.void loadUri(string uri)Requests loading of the specified URI string.void reload()Reloads the current contents of web_view.void reloadBypassCache()Reloads the current contents of web_view without using any cached data.void restoreSessionState(webkit.web_view_session_state.WebViewSessionState state)Restore the web_view session state from statevoid save(webkit.types.SaveMode saveMode, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Asynchronously save the current web page.gio.input_stream.InputStream saveFinish(gio.async_result.AsyncResult result)Finish an asynchronous operation started with [webkit.web_view.WebView.save].void saveToFile(gio.file.File file, webkit.types.SaveMode saveMode, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Asynchronously save the current web page.bool saveToFileFinish(gio.async_result.AsyncResult result)Finish an asynchronous operation started with [webkit.web_view.WebView.saveToFile].void sendMessageToPage(webkit.user_message.UserMessage message, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Send message to the #WebKitWebPage corresponding to web_view.webkit.user_message.UserMessage sendMessageToPageFinish(gio.async_result.AsyncResult result)Finish an asynchronous operation started with [webkit.web_view.WebView.sendMessageToPage].void setBackgroundColor(gdk.rgba.RGBA rgba)Sets the color that will be used to draw the web_view background.void setCameraCaptureState(webkit.types.MediaCaptureState state)Set the camera capture state of a #WebKitWebView.void setCorsAllowlist(string[] allowlist = null)Sets the allowlist for CORS.void setCustomCharset(string charset = null)Sets the current custom character encoding override of web_view.void setDisplayCaptureState(webkit.types.MediaCaptureState state)Set the display capture state of a #WebKitWebView.void setEditable(bool editable)Sets whether the user is allowed to edit the HTML document.void setInputMethodContext(webkit.input_method_context.InputMethodContext context = null)Set the #WebKitInputMethodContext to be used by web_view.void setIsMuted(bool muted)Sets the mute state of web_view.void setMicrophoneCaptureState(webkit.types.MediaCaptureState state)Set the microphone capture state of a #WebKitWebView.void setSettings(webkit.settings.Settings settings)Sets the #WebKitSettings to be applied to web_view.void setZoomLevel(double zoomLevel)Set the zoom level of web_view.void stopLoading()Stops any ongoing loading operation in web_view.void terminateWebProcess()Terminates the web process associated to web_view.void tryClose()Tries to close the web_view.gulong connectAuthenticate(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.authentication_request.AuthenticationRequest)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `Authenticate` signal.gulong connectClose(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.web_view.WebView)))
&& Parameters!T.length < 2)Connect to `Close` signal.gulong connectContextMenu(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.context_menu.ContextMenu)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.hit_test_result.HitTestResult)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : webkit.web_view.WebView)))
&& Parameters!T.length < 4)Connect to `ContextMenu` signal.gulong connectContextMenuDismissed(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.web_view.WebView)))
&& Parameters!T.length < 2)Connect to `ContextMenuDismissed` signal.gulong connectCreate(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T : gtk.widget.Widget)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == webkit.navigation_action.NavigationAction)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `Create` signal.gulong connectDecidePolicy(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.policy_decision.PolicyDecision)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == webkit.types.PolicyDecisionType)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : webkit.web_view.WebView)))
&& Parameters!T.length < 4)Connect to `DecidePolicy` signal.gulong connectEnterFullscreen(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.web_view.WebView)))
&& Parameters!T.length < 2)Connect to `EnterFullscreen` signal.gulong connectInsecureContentDetected(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == webkit.types.InsecureContentEvent)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `InsecureContentDetected` signal.gulong connectLeaveFullscreen(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.web_view.WebView)))
&& Parameters!T.length < 2)Connect to `LeaveFullscreen` signal.gulong connectLoadChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == webkit.types.LoadEvent)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `LoadChanged` signal.gulong connectLoadFailed(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == webkit.types.LoadEvent)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == string)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] == glib.error.ErrorWrap)))
&& (Parameters!T.length < 4 || (ParameterStorageClassTuple!T[3] == ParameterStorageClass.none && is(Parameters!T[3] : webkit.web_view.WebView)))
&& Parameters!T.length < 5)Connect to `LoadFailed` signal.gulong connectLoadFailedWithTlsErrors(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == string)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gio.tls_certificate.TlsCertificate)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] == gio.types.TlsCertificateFlags)))
&& (Parameters!T.length < 4 || (ParameterStorageClassTuple!T[3] == ParameterStorageClass.none && is(Parameters!T[3] : webkit.web_view.WebView)))
&& Parameters!T.length < 5)Connect to `LoadFailedWithTlsErrors` signal.gulong connectMouseTargetChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.hit_test_result.HitTestResult)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == uint)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : webkit.web_view.WebView)))
&& Parameters!T.length < 4)Connect to `MouseTargetChanged` signal.gulong connectPermissionRequest(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.permission_request.PermissionRequest)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `PermissionRequest` signal.gulong connectPrint(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.print_operation.PrintOperation)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `Print` signal.gulong connectQueryPermissionState(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == webkit.permission_state_query.PermissionStateQuery)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `QueryPermissionState` signal.gulong connectReadyToShow(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.web_view.WebView)))
&& Parameters!T.length < 2)Connect to `ReadyToShow` signal.gulong connectResourceLoadStarted(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.web_resource.WebResource)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.urirequest.URIRequest)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : webkit.web_view.WebView)))
&& Parameters!T.length < 4)Connect to `ResourceLoadStarted` signal.gulong connectRunAsModal(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.web_view.WebView)))
&& Parameters!T.length < 2)Connect to `RunAsModal` signal.gulong connectRunColorChooser(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.color_chooser_request.ColorChooserRequest)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `RunColorChooser` signal.gulong connectRunFileChooser(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.file_chooser_request.FileChooserRequest)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `RunFileChooser` signal.gulong connectScriptDialog(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == webkit.script_dialog.ScriptDialog)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `ScriptDialog` signal.gulong connectShowNotification(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.notification.Notification)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `ShowNotification` signal.gulong connectShowOptionMenu(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.option_menu.OptionMenu)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == gdk.rectangle.Rectangle)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : webkit.web_view.WebView)))
&& Parameters!T.length < 4)Connect to `ShowOptionMenu` signal.gulong connectSubmitForm(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.form_submission_request.FormSubmissionRequest)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `SubmitForm` signal.gulong connectUserMessageReceived(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.user_message.UserMessage)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `UserMessageReceived` signal.gulong connectWebProcessTerminated(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == webkit.types.WebProcessTerminationReason)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.web_view.WebView)))
&& Parameters!T.length < 3)Connect to `WebProcessTerminated` signal.Methods
T automationPresentationType(webkit.types.AutomationBrowsingContextPresentation propval)Set `automationPresentationType` property. Params: propval = The #WebKitAutomationBrowsingContextPresentation of #WebKitWebView. This should only be used when creating a new #WebKitWebView as a res...T cameraCaptureState(webkit.types.MediaCaptureState propval)Set `cameraCaptureState` property. Params: propval = Capture state of the camera device. Whenever the user grants a media-request sent by the web page, requesting video capture capabilities (`navig...T defaultContentSecurityPolicy(string propval)Set `defaultContentSecurityPolicy` property. Params: propval = The default Content-Security-Policy used by the webview as if it were set by an HTTP header.T displayCaptureState(webkit.types.MediaCaptureState propval)Set `displayCaptureState` property. Params: propval = Capture state of the display device. Whenever the user grants a media-request sent by the web page, requesting screencasting capabilities (`nav...T editable(bool propval)Set `editable` property. Params: propval = Whether the pages loaded inside #WebKitWebView are editable. For more information see [webkit.web_view.WebView.setEditable]. Returns: Builder instance for...T isMuted(bool propval)Set `isMuted` property. Params: propval = Whether the #WebKitWebView audio is muted. When true, audio is silenced. It may still be playing, i.e. #WebKitWebView:is-playing-audio may be true. Returns...T microphoneCaptureState(webkit.types.MediaCaptureState propval)Set `microphoneCaptureState` property. Params: propval = Capture state of the microphone device. Whenever the user grants a media-request sent by the web page, requesting audio capture capabilities...T networkSession(webkit.network_session.NetworkSession propval)Set `networkSession` property. Params: propval = The #WebKitNetworkSession of the view Returns: Builder instance for fluent chainingT relatedView(webkit.web_view.WebView propval)Set `relatedView` property. Params: propval = The related #WebKitWebView used when creating the view to share the same web process and network session. This property is not readable because the rel...T settings(webkit.settings.Settings propval)Set `settings` property. Params: propval = The #WebKitSettings of the view. Returns: Builder instance for fluent chainingT userContentManager(webkit.user_content_manager.UserContentManager propval)Set `userContentManager` property. Params: propval = The #WebKitUserContentManager of the view. Returns: Builder instance for fluent chainingT webContext(webkit.web_context.WebContext propval)Set `webContext` property. Params: propval = The #WebKitWebContext of the view. Returns: Builder instance for fluent chainingT webExtensionMode(webkit.types.WebExtensionMode propval)Set `webExtensionMode` property. Params: propval = This configures @web_view to treat the content as a WebExtension.T websitePolicies(webkit.website_policies.WebsitePolicies propval)Set `websitePolicies` property. Params: propval = The #WebKitWebsitePolicies for the view. Returns: Builder instance for fluent chainingT zoomLevel(double propval)Set `zoomLevel` property. Params: propval = The zoom level of the #WebKitWebView content. See [webkit.web_view.WebView.setZoomLevel] for more details. Returns: Builder instance for fluent chaining