Settings


Object Hierarchy:

WebKit.Settings WebKit.Settings WebKit.Settings GLib.Object GLib.Object GLib.Object->WebKit.Settings

Description:

[ CCode ( type_id = "webkit_settings_get_type ()" ) ]
public class Settings : Object

Control the behaviour of a WebView.

Settings can be applied to a WebView to control text charset, color, font sizes, printing mode, script support, loading of images and various other things on a WebView. After creation, a Settings object contains default settings.

```c // Disable JavaScript WebKitSettings *settings = webkit_web_view_group_get_settings (my_view_group); webkit_settings_set_enable_javascript (settings, FALSE); ```


Namespace: WebKit
Package: webkit2gtk-4.0

Content:

Properties:

Static methods:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org