| ||||||||
| ||||||||
| ||||||||
Description | ||||||||
Control the behaviour of a WebView | ||||||||
Synopsis | ||||||||
Types | ||||||||
| ||||||||
Constructors | ||||||||
| ||||||||
Create a new WebSettings instance. A WebSettings can be applied to a WebView to control the to be used text encoding, color, font size, printing mode,script support, loading of images and various other things. | ||||||||
Methods | ||||||||
| ||||||||
Copy an existing WebSettings instance. | ||||||||
| ||||||||
| ||||||||
Attributes | ||||||||
| ||||||||
Load images automatically Default value: True | ||||||||
| ||||||||
Automatically shrink standalone images to fit Default value: True | ||||||||
| ||||||||
The default Cursive font family used to display text Default value serif | ||||||||
| ||||||||
The default encoding used to display text Default value iso-8859-1 | ||||||||
| ||||||||
The default font family used to display text Default value: sans-serif | ||||||||
| ||||||||
The default font size used to display text Default value: >=5 | ||||||||
| ||||||||
The default font size used to display monospace text Allowed values: >= 5 Default value: 10 | ||||||||
| ||||||||
This settings controls various editing behaviors | ||||||||
| ||||||||
Whether to enable caret browsing mode. | ||||||||
| ||||||||
Whether developer extensions should be enabled. This enables, for now, the WebInspector | ||||||||
| ||||||||
Whether to enable HTML5 client-side SQL database support. | ||||||||
| ||||||||
Whether to enable HTML5 localStorage support. | ||||||||
| ||||||||
Whether to enable HTML5 offline web application cache support. | ||||||||
| ||||||||
Enable embedded plugin objects. | ||||||||
| ||||||||
Whether to enable private browsing mode. | ||||||||
| ||||||||
Enable embedded scripting languages | ||||||||
| ||||||||
Whether to enable speel checking while typing. | ||||||||
| ||||||||
Whether to allow files loaded through file: | ||||||||
| ||||||||
Whether to enable the XSS Auditor. This feature filters some kinds of reflective XSS attacks on vulnerable web sites. | ||||||||
| ||||||||
Enforce a resolution of 96 DPI. | ||||||||
| ||||||||
The default Fantasy font family used to display text | ||||||||
| ||||||||
Whether JavaScript can open popup windows automatically without user intervention. | ||||||||
| ||||||||
The minimum font size used to display text. Allowed values: >=1 Default value: 5 | ||||||||
| ||||||||
The minimum logical font size used to display text Allowed values: >=1 Default value: 5 | ||||||||
| ||||||||
The default font family used to display monospace text. Default value: monospace | ||||||||
| ||||||||
Whether background images should be printed Default value: True | ||||||||
| ||||||||
Whether text areas are resizable Default value : True | ||||||||
| ||||||||
The default Sans Serif font family used to display text Default value sans-serif | ||||||||
| ||||||||
The default Serif font family used to display text Default value: serif | ||||||||
| ||||||||
The languages to be used for spell checking, separated by commas The locale string typically is in the form lang_COUNTRY, where lang is an ISO-639 language code, and COUNTRY is an ISO-3166 country code. For instance, sv_FI for Swedish as written in Finland or pt_BR for Portuguese as written in Brazil. If no value is specified then the value returned by gtk_get_default_language will be used. Default value: Nothing | ||||||||
| ||||||||
The User-Agent string used by WebKit This will return a default User-Agent string if a custom string wasn't provided by the application. Setting this property to a ((void *)0) value or an empty string will result in the User-Agent string being reset to the default value. Default value: "Mozilla5.0 (X11; U; Linux x86_64; c) AppleWebKit531.2+ (KHTML, like Gecko) Safari/531.2+" | ||||||||
| ||||||||
The URI of a stylesheet that is applied to every page. Default value: Nothing | ||||||||
| ||||||||
The value by which the zoom level is changed when zooming in or out Allowed values: >= 0 Default value: 0.1 | ||||||||
| ||||||||
Enables the site-specific compatibility workarounds. Default value: False | ||||||||
Produced by Haddock version 2.6.1 |