WebKit2.WebView.prototype.set_settings

function set_settings(settings: WebKit2.Settings): void {
    // Gjs wrapper for webkit_web_view_set_settings()
}
  

Sets the WebKit2.Settings to be applied to web_view. The existing WebKit2.Settings of web_view will be replaced by settings. New settings are applied immediately on web_view. The same WebKit2.Settings object can be shared by multiple WebKit2.WebView<!-- -->s.

settings

a WebKit2.Settings