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); ```
- public bool allow_file_access_from_file_urls { get; set construct; }
Whether file access is allowed from file URLs.
- public bool allow_modal_dialogs { get; set construct; }
Determine whether it's allowed to create and run modal dialogs from a
WebView through JavaScript with <function>window.
- public bool allow_top_navigation_to_data_urls { get; set construct; }
Whether or not the top frame is allowed to navigate to data URLs.
- public bool allow_universal_access_from_file_urls { get; set construct; }
Whether or not JavaScript running in the context of a file scheme URL
should be allowed to access content from any origin.
- public bool auto_load_images { get; set construct; }
Determines whether images should be automatically loaded or not.
- public string cursive_font_family { get; set construct; }
The font family used as the default for content using a cursive font.
- public string default_charset { get; set construct; }
The default text charset used when interpreting content with an
unspecified charset.
- public string default_font_family { get; set construct; }
The font family to use as the default for content that does not
specify a font.
- public uint default_font_size { get; set construct; }
The default font size in pixels to use for content displayed if no
font size is specified.
- public uint default_monospace_font_size { get; set construct; }
The default font size in pixels to use for content displayed in
monospace font if no font size is specified.
- public bool draw_compositing_indicators { get; set construct; }
Whether to draw compositing borders and repaint counters on layers
drawn with accelerated compositing.
- public bool enable_accelerated_2d_canvas { get; set construct; }
Enable or disable accelerated 2D canvas.
- public bool enable_back_forward_navigation_gestures { get; set construct; }
Enable or disable horizontal swipe gesture for back-forward
navigation.
- public bool enable_caret_browsing { get; set construct; }
Whether to enable accessibility enhanced keyboard navigation.
- public bool enable_developer_extras { get; set construct; }
Determines whether or not developer tools, such as the Web Inspector,
are enabled.
- public bool enable_dns_prefetching { get; set construct; }
Determines whether or not to prefetch domain names.
- public bool enable_encrypted_media { get; set construct; }
Enable or disable support for Encrypted Media API on pages.
- public bool enable_frame_flattening { get; set construct; }
Whether to enable the frame flattening.
- public bool enable_fullscreen { get; set construct; }
Whether to enable the Javascript Fullscreen API.
- public bool enable_html5_database { get; set construct; }
Whether to enable HTML5 client-side SQL database support (IndexedDB).
- public bool enable_html5_local_storage { get; set construct; }
Whether to enable HTML5 local storage support.
- public bool enable_hyperlink_auditing { get; set construct; }
Determines whether or not hyperlink auditing is enabled.
- public bool enable_java { get; set construct; }
Determines whether or not Java is enabled on the page.
- public bool enable_javascript { get; set construct; }
Determines whether or not JavaScript executes within a page.
- public bool enable_javascript_markup { get; set construct; }
Determines whether or not JavaScript markup is allowed in document.
- public bool enable_media { get; set construct; }
Enable or disable support for media playback on pages.
- public bool enable_media_capabilities { get; set construct; }
Enable or disable support for MediaCapabilities on pages.
- public bool enable_media_stream { get; set construct; }
Enable or disable support for MediaStream on pages.
- public bool enable_mediasource { get; set construct; }
Enable or disable support for MediaSource on pages.
- public bool enable_mock_capture_devices { get; set construct; }
Enable or disable the Mock Capture Devices.
- public bool enable_offline_web_application_cache { get; set construct; }
Whether to enable HTML5 offline web application cache support.
- public bool enable_page_cache { get; set construct; }
Enable or disable the page cache.
- public bool enable_plugins { get; set construct; }
Determines whether or not plugins on the page are enabled.
- public bool enable_private_browsing { get; set construct; }
Determines whether or not private browsing is enabled.
- public bool enable_resizable_text_areas { get; set construct; }
Determines whether or not text areas can be resized.
- public bool enable_site_specific_quirks { get; set construct; }
Whether to turn on site-specific quirks.
- public bool enable_smooth_scrolling { get; set construct; }
Enable or disable smooth scrolling.
- public bool enable_spatial_navigation { get; set construct; }
Whether to enable Spatial Navigation.
- public bool enable_tabs_to_links { get; set construct; }
Determines whether the tab key cycles through the elements on the
page.
- public bool enable_webaudio { get; set construct; }
Enable or disable support for WebAudio on pages.
- public bool enable_webgl { get; set construct; }
Enable or disable support for WebGL on pages.
- public bool enable_webrtc { get; set construct; }
Enable WebRTC support for loaded pages.
- public bool enable_write_console_messages_to_stdout { get; set construct; }
Enable or disable writing console messages to stdout.
- public bool enable_xss_auditor { get; set construct; }
Whether to enable the XSS auditor.
- public string fantasy_font_family { get; set construct; }
The font family used as the default for content using a fantasy font.
- public HardwareAccelerationPolicy hardware_acceleration_policy { get; set construct; }
- public bool javascript_can_access_clipboard { get; set construct; }
Whether JavaScript can access the clipboard.
- public bool javascript_can_open_windows_automatically { get; set construct; }
Whether JavaScript can open popup windows automatically without user
intervention.
- public bool load_icons_ignoring_image_load_setting { get; set construct; }
Determines whether a site can load favicons irrespective of the value
of auto_load_images.
- public string media_content_types_requiring_hardware_support { get; set construct; }
List of media content types requiring hardware support, split by
semicolons (:).
- public bool media_playback_allows_inline { get; set construct; }
Whether media playback is full-screen only or inline playback is
allowed.
- public bool media_playback_requires_user_gesture { get; set construct; }
Whether a user gesture (such as clicking the play button) would be
required to start media playback or load media.
- public uint minimum_font_size { get; set construct; }
The minimum font size in pixels used to display text.
- public string monospace_font_family { get; set construct; }
The font family used as the default for content using a monospace
font.
- public string pictograph_font_family { get; set construct; }
The font family used as the default for content using a pictograph
font.
- public bool print_backgrounds { get; set construct; }
Whether background images should be drawn during printing.
- public string sans_serif_font_family { get; set construct; }
The font family used as the default for content using a sans-serif
font.
- public string serif_font_family { get; set construct; }
The font family used as the default for content using a serif font.
- public string user_agent { get; set construct; }
The user-agent string used by WebKit.
- public bool zoom_text_only { get; set construct; }
Whether
zoom_level affects only the text of the page or all the contents.