gi-webkit-6.0.2: WebKit bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.WebKit.Objects.Settings

Contents

Description

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 code

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

Exported types

newtype Settings Source #

Memory-managed wrapper type.

Constructors

Settings (ManagedPtr Settings) 

Instances

Instances details
Eq Settings Source # 
Instance details

Defined in GI.WebKit.Objects.Settings

GObject Settings Source # 
Instance details

Defined in GI.WebKit.Objects.Settings

ManagedPtrNewtype Settings Source # 
Instance details

Defined in GI.WebKit.Objects.Settings

Methods

toManagedPtr :: Settings -> ManagedPtr Settings

TypedObject Settings Source # 
Instance details

Defined in GI.WebKit.Objects.Settings

Methods

glibType :: IO GType

HasParentTypes Settings Source # 
Instance details

Defined in GI.WebKit.Objects.Settings

IsGValue (Maybe Settings) Source #

Convert Settings to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.WebKit.Objects.Settings

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe Settings -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe Settings)

type ParentTypes Settings Source # 
Instance details

Defined in GI.WebKit.Objects.Settings

type ParentTypes Settings = '[Object]

class (GObject o, IsDescendantOf Settings o) => IsSettings o Source #

Type class for types which can be safely cast to Settings, for instance with toSettings.

Instances

Instances details
(GObject o, IsDescendantOf Settings o) => IsSettings o Source # 
Instance details

Defined in GI.WebKit.Objects.Settings

toSettings :: (MonadIO m, IsSettings o) => o -> m Settings Source #

Cast to Settings, for types for which this is known to be safe. For general casts, use castTo.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.

Getters

getAllowFileAccessFromFileUrls, getAllowModalDialogs, getAllowTopNavigationToDataUrls, getAllowUniversalAccessFromFileUrls, getAutoLoadImages, getCursiveFontFamily, getData, getDefaultCharset, getDefaultFontFamily, getDefaultFontSize, getDefaultMonospaceFontSize, getDisableWebSecurity, getDrawCompositingIndicators, getEnableBackForwardNavigationGestures, getEnableCaretBrowsing, getEnableDeveloperExtras, getEnableDnsPrefetching, getEnableEncryptedMedia, getEnableFullscreen, getEnableHtml5Database, getEnableHtml5LocalStorage, getEnableHyperlinkAuditing, getEnableJavascript, getEnableJavascriptMarkup, getEnableMedia, getEnableMediaCapabilities, getEnableMediaStream, getEnableMediasource, getEnableMockCaptureDevices, getEnableOfflineWebApplicationCache, getEnablePageCache, getEnableResizableTextAreas, getEnableSiteSpecificQuirks, getEnableSmoothScrolling, getEnableSpatialNavigation, getEnableTabsToLinks, getEnableWebaudio, getEnableWebgl, getEnableWebrtc, getEnableWriteConsoleMessagesToStdout, getFantasyFontFamily, getHardwareAccelerationPolicy, getJavascriptCanAccessClipboard, getJavascriptCanOpenWindowsAutomatically, getLoadIconsIgnoringImageLoadSetting, getMediaContentTypesRequiringHardwareSupport, getMediaPlaybackAllowsInline, getMediaPlaybackRequiresUserGesture, getMinimumFontSize, getMonospaceFontFamily, getPictographFontFamily, getPrintBackgrounds, getProperty, getQdata, getSansSerifFontFamily, getSerifFontFamily, getUserAgent, getZoomTextOnly.

Setters

setAllowFileAccessFromFileUrls, setAllowModalDialogs, setAllowTopNavigationToDataUrls, setAllowUniversalAccessFromFileUrls, setAutoLoadImages, setCursiveFontFamily, setData, setDataFull, setDefaultCharset, setDefaultFontFamily, setDefaultFontSize, setDefaultMonospaceFontSize, setDisableWebSecurity, setDrawCompositingIndicators, setEnableBackForwardNavigationGestures, setEnableCaretBrowsing, setEnableDeveloperExtras, setEnableDnsPrefetching, setEnableEncryptedMedia, setEnableFullscreen, setEnableHtml5Database, setEnableHtml5LocalStorage, setEnableHyperlinkAuditing, setEnableJavascript, setEnableJavascriptMarkup, setEnableMedia, setEnableMediaCapabilities, setEnableMediaStream, setEnableMediasource, setEnableMockCaptureDevices, setEnableOfflineWebApplicationCache, setEnablePageCache, setEnableResizableTextAreas, setEnableSiteSpecificQuirks, setEnableSmoothScrolling, setEnableSpatialNavigation, setEnableTabsToLinks, setEnableWebaudio, setEnableWebgl, setEnableWebrtc, setEnableWriteConsoleMessagesToStdout, setFantasyFontFamily, setHardwareAccelerationPolicy, setJavascriptCanAccessClipboard, setJavascriptCanOpenWindowsAutomatically, setLoadIconsIgnoringImageLoadSetting, setMediaContentTypesRequiringHardwareSupport, setMediaPlaybackAllowsInline, setMediaPlaybackRequiresUserGesture, setMinimumFontSize, setMonospaceFontFamily, setPictographFontFamily, setPrintBackgrounds, setProperty, setSansSerifFontFamily, setSerifFontFamily, setUserAgent, setUserAgentWithApplicationDetails, setZoomTextOnly.

fontSizeToPixels

settingsFontSizeToPixels Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Word32

points: the font size in points to convert to pixels

-> m Word32

Returns: the equivalent font size in pixels.

Convert points to the equivalent value in pixels.

Convert points to the equivalent value in pixels, based on the current screen DPI. Applications can use this function to convert font size values in points to font size values in pixels when setting the font size properties of Settings.

Since: 2.20

fontSizeToPoints

settingsFontSizeToPoints Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Word32

pixels: the font size in pixels to convert to points

-> m Word32

Returns: the equivalent font size in points.

Convert pixels to the equivalent value in points.

Convert pixels to the equivalent value in points, based on the current screen DPI. Applications can use this function to convert font size values in pixels to font size values in points when getting the font size properties of Settings.

Since: 2.20

getAllowFileAccessFromFileUrls

settingsGetAllowFileAccessFromFileUrls Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If file access from file URLs is allowed or False otherwise.

Get the Settings:allowFileAccessFromFileUrls property.

Since: 2.10

getAllowModalDialogs

settingsGetAllowModalDialogs Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True if it's allowed to create and run modal dialogs or False otherwise.

Get the Settings:allowModalDialogs property.

getAllowTopNavigationToDataUrls

settingsGetAllowTopNavigationToDataUrls Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If navigation to data URLs from the top frame is allowed or False -- otherwise.

Get the Settings:allowTopNavigationToDataUrls property.

Since: 2.28

getAllowUniversalAccessFromFileUrls

settingsGetAllowUniversalAccessFromFileUrls Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If universal access from file URLs is allowed or False otherwise.

Get the Settings:allowUniversalAccessFromFileUrls property.

Since: 2.14

getAutoLoadImages

settingsGetAutoLoadImages Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If auto loading of images is enabled or False otherwise.

Get the Settings:autoLoadImages property.

getCursiveFontFamily

settingsGetCursiveFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Text

Returns: The default font family used to display content marked with cursive font.

Gets the Settings:cursiveFontFamily property.

getDefaultCharset

settingsGetDefaultCharset Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Text

Returns: Default charset.

Gets the Settings:defaultCharset property.

getDefaultFontFamily

settingsGetDefaultFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Text

Returns: The default font family used to display content that does not specify a font.

Gets the Settings:defaultFontFamily property.

getDefaultFontSize

settingsGetDefaultFontSize Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Word32

Returns: The default font size, in pixels.

Gets the Settings:defaultFontSize property.

getDefaultMonospaceFontSize

settingsGetDefaultMonospaceFontSize Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Word32

Returns: Default monospace font size, in pixels.

getDisableWebSecurity

settingsGetDisableWebSecurity Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If web security support is disabled or False otherwise.

Get the Settings:disableWebSecurity property.

Since: 2.40

getDrawCompositingIndicators

settingsGetDrawCompositingIndicators Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If compositing borders are drawn or False otherwise.

getEnableBackForwardNavigationGestures

settingsGetEnableBackForwardNavigationGestures Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True if horizontal swipe gesture will trigger back-forward navigaiton or False otherwise.

getEnableCaretBrowsing

settingsGetEnableCaretBrowsing Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If caret browsing is enabled or False otherwise.

getEnableDeveloperExtras

settingsGetEnableDeveloperExtras Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If developer extras is enabled or False otherwise.

getEnableDnsPrefetching

settingsGetEnableDnsPrefetching Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If DNS prefetching is enabled or False otherwise.

getEnableEncryptedMedia

settingsGetEnableEncryptedMedia Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True if EncryptedMedia support is enabled or False otherwise.

Get the Settings:enableEncryptedMedia property.

Since: 2.20

getEnableFullscreen

settingsGetEnableFullscreen Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If fullscreen support is enabled or False otherwise.

Get the Settings:enableFullscreen property.

getEnableHtml5Database

settingsGetEnableHtml5Database Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True if IndexedDB support is enabled or False otherwise.

getEnableHtml5LocalStorage

settingsGetEnableHtml5LocalStorage Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If HTML5 local storage support is enabled or False otherwise.

getEnableHyperlinkAuditing

settingsGetEnableHyperlinkAuditing Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If hyper link auditing is enabled or False otherwise.

getEnableJavascript

settingsGetEnableJavascript Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If JavaScript is enabled or False otherwise.

Get the Settings:enableJavascript property.

getEnableJavascriptMarkup

settingsGetEnableJavascriptMarkup Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True if JavaScript markup is enabled or False otherwise.

Get the Settings:enableJavascriptMarkup property.

Since: 2.24

getEnableMedia

settingsGetEnableMedia Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True if media support is enabled or False otherwise.

Get the Settings:enableMedia property.

Since: 2.26

getEnableMediaCapabilities

settingsGetEnableMediaCapabilities Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True if MediaCapabilities support is enabled or False otherwise.

Get the Settings:enableMediaCapabilities property.

Since: 2.22

getEnableMediaStream

settingsGetEnableMediaStream Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If mediastream support is enabled or False otherwise.

Get the Settings:enableMediaStream property.

Since: 2.4

getEnableMediasource

settingsGetEnableMediasource Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If MediaSource support is enabled or False otherwise.

Get the Settings:enableMediasource property.

Since: 2.4

getEnableMockCaptureDevices

settingsGetEnableMockCaptureDevices Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If mock capture devices is enabled or False otherwise.

Get the Settings:enableMockCaptureDevices property.

Since: 2.24

getEnableOfflineWebApplicationCache

settingsGetEnableOfflineWebApplicationCache Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If HTML5 offline web application cache support is enabled or False otherwise.

getEnablePageCache

settingsGetEnablePageCache Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True if page cache enabled or False otherwise.

Get the Settings:enablePageCache property.

getEnableResizableTextAreas

settingsGetEnableResizableTextAreas Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If text areas can be resized or False otherwise.

getEnableSiteSpecificQuirks

settingsGetEnableSiteSpecificQuirks Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True if site specific quirks are enabled or False otherwise.

getEnableSmoothScrolling

settingsGetEnableSmoothScrolling Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True if smooth scrolling is enabled or False otherwise.

getEnableSpatialNavigation

settingsGetEnableSpatialNavigation Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If HTML5 spatial navigation support is enabled or False otherwise.

Get the Settings:enableSpatialNavigation property.

Since: 2.2

getEnableTabsToLinks

settingsGetEnableTabsToLinks Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If tabs to link is enabled or False otherwise.

Get the Settings:enableTabsToLinks property.

getEnableWebaudio

settingsGetEnableWebaudio Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If webaudio support is enabled or False otherwise.

Get the Settings:enableWebaudio property.

getEnableWebgl

settingsGetEnableWebgl Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If WebGL support is enabled or False otherwise.

Get the Settings:enableWebgl property.

getEnableWebrtc

settingsGetEnableWebrtc Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If WebRTC support is enabled or False otherwise.

Get the [propertysettings:enable-webrtc] property.

Since: 2.38

getEnableWriteConsoleMessagesToStdout

settingsGetEnableWriteConsoleMessagesToStdout Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True if writing console messages to stdout is enabled or False otherwise.

getFantasyFontFamily

settingsGetFantasyFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Text

Returns: The default font family used to display content marked with fantasy font.

Gets the Settings:fantasyFontFamily property.

getHardwareAccelerationPolicy

getJavascriptCanAccessClipboard

settingsGetJavascriptCanAccessClipboard Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If javascript-can-access-clipboard is enabled or False otherwise.

getJavascriptCanOpenWindowsAutomatically

settingsGetJavascriptCanOpenWindowsAutomatically Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If JavaScript can open window automatically or False otherwise.

getLoadIconsIgnoringImageLoadSetting

settingsGetLoadIconsIgnoringImageLoadSetting Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If site icon can be loaded irrespective of image loading preference or False otherwise.

getMediaContentTypesRequiringHardwareSupport

settingsGetMediaContentTypesRequiringHardwareSupport Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Text

Returns: Media content types requiring hardware support, or Nothing.

getMediaPlaybackAllowsInline

settingsGetMediaPlaybackAllowsInline Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If inline playback is allowed for media or False if only fullscreen playback is allowed.

getMediaPlaybackRequiresUserGesture

settingsGetMediaPlaybackRequiresUserGesture Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If an user gesture is needed to play or load media or False if no user gesture is needed.

getMinimumFontSize

settingsGetMinimumFontSize Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Word32

Returns: Minimum font size, in pixels.

Gets the Settings:minimumFontSize property.

getMonospaceFontFamily

settingsGetMonospaceFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Text

Returns: Default font family used to display content marked with monospace font.

Gets the Settings:monospaceFontFamily property.

getPictographFontFamily

settingsGetPictographFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Text

Returns: The default font family used to display content marked with pictograph font.

getPrintBackgrounds

settingsGetPrintBackgrounds Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If background images should be printed or False otherwise.

Get the Settings:printBackgrounds property.

getSansSerifFontFamily

settingsGetSansSerifFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Text

Returns: The default font family used to display content marked with sans-serif font.

Gets the Settings:sansSerifFontFamily property.

getSerifFontFamily

settingsGetSerifFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Text

Returns: The default font family used to display content marked with serif font.

Gets the Settings:serifFontFamily property.

getUserAgent

settingsGetUserAgent Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Text

Returns: The current value of the user-agent property.

Get the Settings:userAgent property.

getZoomTextOnly

settingsGetZoomTextOnly Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> m Bool

Returns: True If zoom level of the view should only affect the text or False if all view contents should be scaled.

Get the Settings:zoomTextOnly property.

new

settingsNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Settings

Returns: a new Settings instance.

Creates a new Settings instance with default values.

It must be manually attached to a WebView. See also webkit_settings_new_with_settings().

setAllowFileAccessFromFileUrls

settingsSetAllowFileAccessFromFileUrls Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

allowed: Value to be set

-> m () 

Set the Settings:allowFileAccessFromFileUrls property.

Since: 2.10

setAllowModalDialogs

settingsSetAllowModalDialogs Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

allowed: Value to be set

-> m () 

Set the Settings:allowModalDialogs property.

setAllowTopNavigationToDataUrls

settingsSetAllowTopNavigationToDataUrls Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

allowed: Value to be set

-> m () 

Set the Settings:allowTopNavigationToDataUrls property.

Since: 2.28

setAllowUniversalAccessFromFileUrls

settingsSetAllowUniversalAccessFromFileUrls Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

allowed: Value to be set

-> m () 

Set the Settings:allowUniversalAccessFromFileUrls property.

Since: 2.14

setAutoLoadImages

settingsSetAutoLoadImages Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:autoLoadImages property.

setCursiveFontFamily

settingsSetCursiveFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Text

cursiveFontFamily: the new default cursive font family

-> m () 

Set the Settings:cursiveFontFamily property.

setDefaultCharset

settingsSetDefaultCharset Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Text

defaultCharset: default charset to be set

-> m () 

Set the Settings:defaultCharset property.

setDefaultFontFamily

settingsSetDefaultFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Text

defaultFontFamily: the new default font family

-> m () 

Set the Settings:defaultFontFamily property.

setDefaultFontSize

settingsSetDefaultFontSize Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Word32

fontSize: default font size to be set in pixels

-> m () 

Set the Settings:defaultFontSize property.

setDefaultMonospaceFontSize

settingsSetDefaultMonospaceFontSize Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Word32

fontSize: default monospace font size to be set in pixels

-> m () 

setDisableWebSecurity

settingsSetDisableWebSecurity Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

disabled: Value to be set

-> m () 

Set the Settings:disableWebSecurity property.

Since: 2.40

setDrawCompositingIndicators

settingsSetDrawCompositingIndicators Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setEnableBackForwardNavigationGestures

settingsSetEnableBackForwardNavigationGestures Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: value to be set

-> m () 

setEnableCaretBrowsing

settingsSetEnableCaretBrowsing Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setEnableDeveloperExtras

settingsSetEnableDeveloperExtras Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setEnableDnsPrefetching

settingsSetEnableDnsPrefetching Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setEnableEncryptedMedia

settingsSetEnableEncryptedMedia Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableEncryptedMedia property.

Since: 2.20

setEnableFullscreen

settingsSetEnableFullscreen Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableFullscreen property.

setEnableHtml5Database

settingsSetEnableHtml5Database Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setEnableHtml5LocalStorage

settingsSetEnableHtml5LocalStorage Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setEnableHyperlinkAuditing

settingsSetEnableHyperlinkAuditing Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setEnableJavascript

settingsSetEnableJavascript Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableJavascript property.

setEnableJavascriptMarkup

settingsSetEnableJavascriptMarkup Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableJavascriptMarkup property.

Since: 2.24

setEnableMedia

settingsSetEnableMedia Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableMedia property.

Since: 2.26

setEnableMediaCapabilities

settingsSetEnableMediaCapabilities Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableMediaCapabilities property.

Since: 2.22

setEnableMediaStream

settingsSetEnableMediaStream Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableMediaStream property.

Since: 2.4

setEnableMediasource

settingsSetEnableMediasource Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableMediasource property.

Since: 2.4

setEnableMockCaptureDevices

settingsSetEnableMockCaptureDevices Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableMockCaptureDevices property.

Since: 2.4

setEnableOfflineWebApplicationCache

settingsSetEnableOfflineWebApplicationCache Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setEnablePageCache

settingsSetEnablePageCache Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enablePageCache property.

setEnableResizableTextAreas

settingsSetEnableResizableTextAreas Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setEnableSiteSpecificQuirks

settingsSetEnableSiteSpecificQuirks Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setEnableSmoothScrolling

settingsSetEnableSmoothScrolling Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setEnableSpatialNavigation

settingsSetEnableSpatialNavigation Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableSpatialNavigation property.

Since: 2.2

setEnableTabsToLinks

settingsSetEnableTabsToLinks Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableTabsToLinks property.

setEnableWebaudio

settingsSetEnableWebaudio Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableWebaudio property.

setEnableWebgl

settingsSetEnableWebgl Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enableWebgl property.

setEnableWebrtc

settingsSetEnableWebrtc Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the [propertysettings:enable-webrtc] property.

Setting this property to True implies the media-stream web-setting will also be enabled.

Since: 2.38

setEnableWriteConsoleMessagesToStdout

settingsSetEnableWriteConsoleMessagesToStdout Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setFantasyFontFamily

settingsSetFantasyFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Text

fantasyFontFamily: the new default fantasy font family

-> m () 

Set the Settings:fantasyFontFamily property.

setHardwareAccelerationPolicy

setJavascriptCanAccessClipboard

settingsSetJavascriptCanAccessClipboard Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setJavascriptCanOpenWindowsAutomatically

settingsSetJavascriptCanOpenWindowsAutomatically Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setLoadIconsIgnoringImageLoadSetting

settingsSetLoadIconsIgnoringImageLoadSetting Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setMediaContentTypesRequiringHardwareSupport

settingsSetMediaContentTypesRequiringHardwareSupport Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Maybe Text

contentTypes: list of media content types requiring hardware support split by semicolons (:) or Nothing to use the default value.

-> m () 

setMediaPlaybackAllowsInline

settingsSetMediaPlaybackAllowsInline Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setMediaPlaybackRequiresUserGesture

settingsSetMediaPlaybackRequiresUserGesture Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

setMinimumFontSize

settingsSetMinimumFontSize Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Word32

fontSize: minimum font size to be set in pixels

-> m () 

Set the Settings:minimumFontSize property.

setMonospaceFontFamily

settingsSetMonospaceFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Text

monospaceFontFamily: the new default monospace font family

-> m () 

setPictographFontFamily

settingsSetPictographFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Text

pictographFontFamily: the new default pictograph font family

-> m () 

setPrintBackgrounds

settingsSetPrintBackgrounds Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

printBackgrounds: Value to be set

-> m () 

Set the Settings:printBackgrounds property.

setSansSerifFontFamily

settingsSetSansSerifFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Text

sansSerifFontFamily: the new default sans-serif font family

-> m () 

setSerifFontFamily

settingsSetSerifFontFamily Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Text

serifFontFamily: the new default serif font family

-> m () 

Set the Settings:serifFontFamily property.

setUserAgent

settingsSetUserAgent Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Maybe Text

userAgent: The new custom user agent string or Nothing to use the default user agent

-> m () 

Set the Settings:userAgent property.

setUserAgentWithApplicationDetails

settingsSetUserAgentWithApplicationDetails Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Maybe Text

applicationName: The application name used for the user agent or Nothing to use the default user agent.

-> Maybe Text

applicationVersion: The application version for the user agent or Nothing to user the default version.

-> m () 

Set the Settings:userAgent property by appending the application details.

Set the Settings:userAgent property by appending the application details to the default user agent. If no application name or version is given, the default user agent used will be used. If only the version is given, the default engine version is used with the given application name.

setZoomTextOnly

settingsSetZoomTextOnly Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) 
=> a

settings: a Settings

-> Bool

zoomTextOnly: Value to be set

-> m () 

Set the Settings:zoomTextOnly property.

Properties

allowFileAccessFromFileUrls

Whether file access is allowed from file URLs. By default, when something is loaded in a WebView using a file URI, cross origin requests to other file resources are not allowed. This setting allows you to change that behaviour, so that it would be possible to do a XMLHttpRequest of a local file, for example.

Since: 2.10

constructSettingsAllowFileAccessFromFileUrls :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “allow-file-access-from-file-urls” property. This is rarely needed directly, but it is used by new.

getSettingsAllowFileAccessFromFileUrls :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “allow-file-access-from-file-urls” property. When overloading is enabled, this is equivalent to

get settings #allowFileAccessFromFileUrls

setSettingsAllowFileAccessFromFileUrls :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “allow-file-access-from-file-urls” property. When overloading is enabled, this is equivalent to

set settings [ #allowFileAccessFromFileUrls := value ]

allowModalDialogs

Determine whether it's allowed to create and run modal dialogs from a WebView through JavaScript with <function>window.showModalDialog</function>. If it's set to False, the associated WebView won't be able to create new modal dialogs, so not even the WebView::create signal will be emitted.

constructSettingsAllowModalDialogs :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “allow-modal-dialogs” property. This is rarely needed directly, but it is used by new.

getSettingsAllowModalDialogs :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “allow-modal-dialogs” property. When overloading is enabled, this is equivalent to

get settings #allowModalDialogs

setSettingsAllowModalDialogs :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “allow-modal-dialogs” property. When overloading is enabled, this is equivalent to

set settings [ #allowModalDialogs := value ]

allowTopNavigationToDataUrls

Whether or not the top frame is allowed to navigate to data URLs. It is disabled by default due to the risk it poses when loading untrusted URLs, with data URLs being used in scamming and phishing attacks. In contrast, a scenario where it could be enabled could be an app that embeds a WebView and you have control of the pages being show instead of a generic browser.

Since: 2.28

constructSettingsAllowTopNavigationToDataUrls :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “allow-top-navigation-to-data-urls” property. This is rarely needed directly, but it is used by new.

getSettingsAllowTopNavigationToDataUrls :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “allow-top-navigation-to-data-urls” property. When overloading is enabled, this is equivalent to

get settings #allowTopNavigationToDataUrls

setSettingsAllowTopNavigationToDataUrls :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “allow-top-navigation-to-data-urls” property. When overloading is enabled, this is equivalent to

set settings [ #allowTopNavigationToDataUrls := value ]

allowUniversalAccessFromFileUrls

Whether or not JavaScript running in the context of a file scheme URL should be allowed to access content from any origin. By default, when something is loaded in a WebView using a file scheme URL, access to the local file system and arbitrary local storage is not allowed. This setting allows you to change that behaviour, so that it would be possible to use local storage, for example.

Since: 2.14

constructSettingsAllowUniversalAccessFromFileUrls :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “allow-universal-access-from-file-urls” property. This is rarely needed directly, but it is used by new.

getSettingsAllowUniversalAccessFromFileUrls :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “allow-universal-access-from-file-urls” property. When overloading is enabled, this is equivalent to

get settings #allowUniversalAccessFromFileUrls

setSettingsAllowUniversalAccessFromFileUrls :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “allow-universal-access-from-file-urls” property. When overloading is enabled, this is equivalent to

set settings [ #allowUniversalAccessFromFileUrls := value ]

autoLoadImages

Determines whether images should be automatically loaded or not. On devices where network bandwidth is of concern, it might be useful to turn this property off.

constructSettingsAutoLoadImages :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “auto-load-images” property. This is rarely needed directly, but it is used by new.

getSettingsAutoLoadImages :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “auto-load-images” property. When overloading is enabled, this is equivalent to

get settings #autoLoadImages

setSettingsAutoLoadImages :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “auto-load-images” property. When overloading is enabled, this is equivalent to

set settings [ #autoLoadImages := value ]

cursiveFontFamily

The font family used as the default for content using a cursive font.

constructSettingsCursiveFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “cursive-font-family” property. This is rarely needed directly, but it is used by new.

getSettingsCursiveFontFamily :: (MonadIO m, IsSettings o) => o -> m Text Source #

Get the value of the “cursive-font-family” property. When overloading is enabled, this is equivalent to

get settings #cursiveFontFamily

setSettingsCursiveFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “cursive-font-family” property. When overloading is enabled, this is equivalent to

set settings [ #cursiveFontFamily := value ]

defaultCharset

The default text charset used when interpreting content with an unspecified charset.

constructSettingsDefaultCharset :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “default-charset” property. This is rarely needed directly, but it is used by new.

getSettingsDefaultCharset :: (MonadIO m, IsSettings o) => o -> m Text Source #

Get the value of the “default-charset” property. When overloading is enabled, this is equivalent to

get settings #defaultCharset

setSettingsDefaultCharset :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “default-charset” property. When overloading is enabled, this is equivalent to

set settings [ #defaultCharset := value ]

defaultFontFamily

The font family to use as the default for content that does not specify a font.

constructSettingsDefaultFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “default-font-family” property. This is rarely needed directly, but it is used by new.

getSettingsDefaultFontFamily :: (MonadIO m, IsSettings o) => o -> m Text Source #

Get the value of the “default-font-family” property. When overloading is enabled, this is equivalent to

get settings #defaultFontFamily

setSettingsDefaultFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “default-font-family” property. When overloading is enabled, this is equivalent to

set settings [ #defaultFontFamily := value ]

defaultFontSize

The default font size in pixels to use for content displayed if no font size is specified.

constructSettingsDefaultFontSize :: (IsSettings o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “default-font-size” property. This is rarely needed directly, but it is used by new.

getSettingsDefaultFontSize :: (MonadIO m, IsSettings o) => o -> m Word32 Source #

Get the value of the “default-font-size” property. When overloading is enabled, this is equivalent to

get settings #defaultFontSize

setSettingsDefaultFontSize :: (MonadIO m, IsSettings o) => o -> Word32 -> m () Source #

Set the value of the “default-font-size” property. When overloading is enabled, this is equivalent to

set settings [ #defaultFontSize := value ]

defaultMonospaceFontSize

The default font size in pixels to use for content displayed in monospace font if no font size is specified.

constructSettingsDefaultMonospaceFontSize :: (IsSettings o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “default-monospace-font-size” property. This is rarely needed directly, but it is used by new.

getSettingsDefaultMonospaceFontSize :: (MonadIO m, IsSettings o) => o -> m Word32 Source #

Get the value of the “default-monospace-font-size” property. When overloading is enabled, this is equivalent to

get settings #defaultMonospaceFontSize

setSettingsDefaultMonospaceFontSize :: (MonadIO m, IsSettings o) => o -> Word32 -> m () Source #

Set the value of the “default-monospace-font-size” property. When overloading is enabled, this is equivalent to

set settings [ #defaultMonospaceFontSize := value ]

disableWebSecurity

Enable or disable support for Web Security on pages.

This setting disables the same-origin policy, allowing every website full control over all other websites. This is for use in special environments where you wish to disable all security and allow websites to hack each other. It is impossible to use this setting securely.

Since: 2.40

constructSettingsDisableWebSecurity :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “disable-web-security” property. This is rarely needed directly, but it is used by new.

getSettingsDisableWebSecurity :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “disable-web-security” property. When overloading is enabled, this is equivalent to

get settings #disableWebSecurity

setSettingsDisableWebSecurity :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “disable-web-security” property. When overloading is enabled, this is equivalent to

set settings [ #disableWebSecurity := value ]

drawCompositingIndicators

Whether to draw compositing borders and repaint counters on layers drawn with accelerated compositing. This is useful for debugging issues related to web content that is composited with the GPU.

constructSettingsDrawCompositingIndicators :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “draw-compositing-indicators” property. This is rarely needed directly, but it is used by new.

getSettingsDrawCompositingIndicators :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “draw-compositing-indicators” property. When overloading is enabled, this is equivalent to

get settings #drawCompositingIndicators

setSettingsDrawCompositingIndicators :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “draw-compositing-indicators” property. When overloading is enabled, this is equivalent to

set settings [ #drawCompositingIndicators := value ]

enableBackForwardNavigationGestures

Enable or disable horizontal swipe gesture for back-forward navigation.

Since: 2.24

constructSettingsEnableBackForwardNavigationGestures :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-back-forward-navigation-gestures” property. This is rarely needed directly, but it is used by new.

getSettingsEnableBackForwardNavigationGestures :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-back-forward-navigation-gestures” property. When overloading is enabled, this is equivalent to

get settings #enableBackForwardNavigationGestures

setSettingsEnableBackForwardNavigationGestures :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-back-forward-navigation-gestures” property. When overloading is enabled, this is equivalent to

set settings [ #enableBackForwardNavigationGestures := value ]

enableCaretBrowsing

Whether to enable accessibility enhanced keyboard navigation.

constructSettingsEnableCaretBrowsing :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-caret-browsing” property. This is rarely needed directly, but it is used by new.

getSettingsEnableCaretBrowsing :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-caret-browsing” property. When overloading is enabled, this is equivalent to

get settings #enableCaretBrowsing

setSettingsEnableCaretBrowsing :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-caret-browsing” property. When overloading is enabled, this is equivalent to

set settings [ #enableCaretBrowsing := value ]

enableDeveloperExtras

Determines whether or not developer tools, such as the Web Inspector, are enabled.

constructSettingsEnableDeveloperExtras :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-developer-extras” property. This is rarely needed directly, but it is used by new.

getSettingsEnableDeveloperExtras :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-developer-extras” property. When overloading is enabled, this is equivalent to

get settings #enableDeveloperExtras

setSettingsEnableDeveloperExtras :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-developer-extras” property. When overloading is enabled, this is equivalent to

set settings [ #enableDeveloperExtras := value ]

enableDnsPrefetching

Determines whether or not to prefetch domain names. DNS prefetching attempts to resolve domain names before a user tries to follow a link.

constructSettingsEnableDnsPrefetching :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-dns-prefetching” property. This is rarely needed directly, but it is used by new.

getSettingsEnableDnsPrefetching :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-dns-prefetching” property. When overloading is enabled, this is equivalent to

get settings #enableDnsPrefetching

setSettingsEnableDnsPrefetching :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-dns-prefetching” property. When overloading is enabled, this is equivalent to

set settings [ #enableDnsPrefetching := value ]

enableEncryptedMedia

Enable or disable support for Encrypted Media API on pages. EncryptedMedia is an experimental JavaScript API for playing encrypted media in HTML. This property will only work as intended if the EncryptedMedia feature is enabled at build time with the ENABLE_ENCRYPTED_MEDIA flag.

See https://www.w3.org/TR/encrypted-media/

Since: 2.20

constructSettingsEnableEncryptedMedia :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-encrypted-media” property. This is rarely needed directly, but it is used by new.

getSettingsEnableEncryptedMedia :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-encrypted-media” property. When overloading is enabled, this is equivalent to

get settings #enableEncryptedMedia

setSettingsEnableEncryptedMedia :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-encrypted-media” property. When overloading is enabled, this is equivalent to

set settings [ #enableEncryptedMedia := value ]

enableFullscreen

Whether to enable the Javascript Fullscreen API. The API allows any HTML element to request fullscreen display. See also the current draft of the spec: http://www.w3.org/TR/fullscreen/

constructSettingsEnableFullscreen :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-fullscreen” property. This is rarely needed directly, but it is used by new.

getSettingsEnableFullscreen :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-fullscreen” property. When overloading is enabled, this is equivalent to

get settings #enableFullscreen

setSettingsEnableFullscreen :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-fullscreen” property. When overloading is enabled, this is equivalent to

set settings [ #enableFullscreen := value ]

enableHtml5Database

Whether to enable HTML5 client-side SQL database support (IndexedDB).

constructSettingsEnableHtml5Database :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-html5-database” property. This is rarely needed directly, but it is used by new.

getSettingsEnableHtml5Database :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-html5-database” property. When overloading is enabled, this is equivalent to

get settings #enableHtml5Database

setSettingsEnableHtml5Database :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-html5-database” property. When overloading is enabled, this is equivalent to

set settings [ #enableHtml5Database := value ]

enableHtml5LocalStorage

Whether to enable HTML5 local storage support. Local storage provides simple synchronous storage access.

HTML5 local storage specification is available at http://dev.w3.org/html5/webstorage/.

constructSettingsEnableHtml5LocalStorage :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-html5-local-storage” property. This is rarely needed directly, but it is used by new.

getSettingsEnableHtml5LocalStorage :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-html5-local-storage” property. When overloading is enabled, this is equivalent to

get settings #enableHtml5LocalStorage

setSettingsEnableHtml5LocalStorage :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-html5-local-storage” property. When overloading is enabled, this is equivalent to

set settings [ #enableHtml5LocalStorage := value ]

enableHyperlinkAuditing

Determines whether or not hyperlink auditing is enabled.

The hyperlink auditing specification is available at http://www.whatwg.org/specs/web-apps/current-work/multipage/links.htmlhyperlink-auditing.

constructSettingsEnableHyperlinkAuditing :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-hyperlink-auditing” property. This is rarely needed directly, but it is used by new.

getSettingsEnableHyperlinkAuditing :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-hyperlink-auditing” property. When overloading is enabled, this is equivalent to

get settings #enableHyperlinkAuditing

setSettingsEnableHyperlinkAuditing :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-hyperlink-auditing” property. When overloading is enabled, this is equivalent to

set settings [ #enableHyperlinkAuditing := value ]

enableJavascript

Determines whether or not JavaScript executes within a page.

constructSettingsEnableJavascript :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-javascript” property. This is rarely needed directly, but it is used by new.

getSettingsEnableJavascript :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-javascript” property. When overloading is enabled, this is equivalent to

get settings #enableJavascript

setSettingsEnableJavascript :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-javascript” property. When overloading is enabled, this is equivalent to

set settings [ #enableJavascript := value ]

enableJavascriptMarkup

Determines whether or not JavaScript markup is allowed in document. When this setting is disabled, all JavaScript-related elements and attributes are removed from the document during parsing. Note that executing JavaScript is still allowed if Settings:enableJavascript is True.

Since: 2.24

constructSettingsEnableJavascriptMarkup :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-javascript-markup” property. This is rarely needed directly, but it is used by new.

getSettingsEnableJavascriptMarkup :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-javascript-markup” property. When overloading is enabled, this is equivalent to

get settings #enableJavascriptMarkup

setSettingsEnableJavascriptMarkup :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-javascript-markup” property. When overloading is enabled, this is equivalent to

set settings [ #enableJavascriptMarkup := value ]

enableMedia

Enable or disable support for media playback on pages. This setting is enabled by default. Disabling it means <audio>, <track> and <video> elements will have playback support disabled.

Since: 2.26

constructSettingsEnableMedia :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-media” property. This is rarely needed directly, but it is used by new.

getSettingsEnableMedia :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-media” property. When overloading is enabled, this is equivalent to

get settings #enableMedia

setSettingsEnableMedia :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-media” property. When overloading is enabled, this is equivalent to

set settings [ #enableMedia := value ]

enableMediaCapabilities

Enable or disable support for MediaCapabilities on pages. This specification intends to provide APIs to allow websites to make an optimal decision when picking media content for the user. The APIs will expose information about the decoding and encoding capabilities for a given format but also output capabilities to find the best match based on the device’s display.

See also https://wicg.github.io/media-capabilities/

Since: 2.22

constructSettingsEnableMediaCapabilities :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-media-capabilities” property. This is rarely needed directly, but it is used by new.

getSettingsEnableMediaCapabilities :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-media-capabilities” property. When overloading is enabled, this is equivalent to

get settings #enableMediaCapabilities

setSettingsEnableMediaCapabilities :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-media-capabilities” property. When overloading is enabled, this is equivalent to

set settings [ #enableMediaCapabilities := value ]

enableMediaStream

Enable or disable support for MediaStream on pages. MediaStream is an experimental proposal for allowing web pages to access audio and video devices for capture.

See also http://dev.w3.org/2011/webrtc/editor/getusermedia.html

Since: 2.4

constructSettingsEnableMediaStream :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-media-stream” property. This is rarely needed directly, but it is used by new.

getSettingsEnableMediaStream :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-media-stream” property. When overloading is enabled, this is equivalent to

get settings #enableMediaStream

setSettingsEnableMediaStream :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-media-stream” property. When overloading is enabled, this is equivalent to

set settings [ #enableMediaStream := value ]

enableMediasource

Enable or disable support for MediaSource on pages. MediaSource extends HTMLMediaElement to allow JavaScript to generate media streams for playback.

See also http://www.w3.org/TR/media-source/

Since: 2.4

constructSettingsEnableMediasource :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-mediasource” property. This is rarely needed directly, but it is used by new.

getSettingsEnableMediasource :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-mediasource” property. When overloading is enabled, this is equivalent to

get settings #enableMediasource

setSettingsEnableMediasource :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-mediasource” property. When overloading is enabled, this is equivalent to

set settings [ #enableMediasource := value ]

enableMockCaptureDevices

Enable or disable the Mock Capture Devices. Those are fake Microphone and Camera devices to be used as MediaStream sources.

Since: 2.24

constructSettingsEnableMockCaptureDevices :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-mock-capture-devices” property. This is rarely needed directly, but it is used by new.

getSettingsEnableMockCaptureDevices :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-mock-capture-devices” property. When overloading is enabled, this is equivalent to

get settings #enableMockCaptureDevices

setSettingsEnableMockCaptureDevices :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-mock-capture-devices” property. When overloading is enabled, this is equivalent to

set settings [ #enableMockCaptureDevices := value ]

enableOfflineWebApplicationCache

Whether to enable HTML5 offline web application cache support. Offline web application cache allows web applications to run even when the user is not connected to the network.

HTML5 offline web application specification is available at http://dev.w3.org/html5/spec/offline.html.

constructSettingsEnableOfflineWebApplicationCache :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-offline-web-application-cache” property. This is rarely needed directly, but it is used by new.

getSettingsEnableOfflineWebApplicationCache :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-offline-web-application-cache” property. When overloading is enabled, this is equivalent to

get settings #enableOfflineWebApplicationCache

setSettingsEnableOfflineWebApplicationCache :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-offline-web-application-cache” property. When overloading is enabled, this is equivalent to

set settings [ #enableOfflineWebApplicationCache := value ]

enablePageCache

Enable or disable the page cache. Disabling the page cache is generally only useful for special circumstances like low-memory scenarios or special purpose applications like static HTML viewers. This setting only controls the Page Cache, this cache is different than the disk-based or memory-based traditional resource caches, its point is to make going back and forth between pages much faster. For details about the different types of caches and their purposes see: http://webkit.org/blog/427/webkit-page-cache-i-the-basics/

constructSettingsEnablePageCache :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-page-cache” property. This is rarely needed directly, but it is used by new.

getSettingsEnablePageCache :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-page-cache” property. When overloading is enabled, this is equivalent to

get settings #enablePageCache

setSettingsEnablePageCache :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-page-cache” property. When overloading is enabled, this is equivalent to

set settings [ #enablePageCache := value ]

enableResizableTextAreas

Determines whether or not text areas can be resized.

constructSettingsEnableResizableTextAreas :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-resizable-text-areas” property. This is rarely needed directly, but it is used by new.

getSettingsEnableResizableTextAreas :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-resizable-text-areas” property. When overloading is enabled, this is equivalent to

get settings #enableResizableTextAreas

setSettingsEnableResizableTextAreas :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-resizable-text-areas” property. When overloading is enabled, this is equivalent to

set settings [ #enableResizableTextAreas := value ]

enableSiteSpecificQuirks

Whether to turn on site-specific quirks. Turning this on will tell WebKit to use some site-specific workarounds for better web compatibility. For example, older versions of MediaWiki will incorrectly send to WebKit a CSS file with KHTML workarounds. By turning on site-specific quirks, WebKit will special-case this and other cases to make some specific sites work.

constructSettingsEnableSiteSpecificQuirks :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-site-specific-quirks” property. This is rarely needed directly, but it is used by new.

getSettingsEnableSiteSpecificQuirks :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-site-specific-quirks” property. When overloading is enabled, this is equivalent to

get settings #enableSiteSpecificQuirks

setSettingsEnableSiteSpecificQuirks :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-site-specific-quirks” property. When overloading is enabled, this is equivalent to

set settings [ #enableSiteSpecificQuirks := value ]

enableSmoothScrolling

Enable or disable smooth scrolling.

constructSettingsEnableSmoothScrolling :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-smooth-scrolling” property. This is rarely needed directly, but it is used by new.

getSettingsEnableSmoothScrolling :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-smooth-scrolling” property. When overloading is enabled, this is equivalent to

get settings #enableSmoothScrolling

setSettingsEnableSmoothScrolling :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-smooth-scrolling” property. When overloading is enabled, this is equivalent to

set settings [ #enableSmoothScrolling := value ]

enableSpatialNavigation

Whether to enable Spatial Navigation. This feature consists in the ability to navigate between focusable elements in a Web page, such as hyperlinks and form controls, by using Left, Right, Up and Down arrow keys. For example, if an user presses the Right key, heuristics determine whether there is an element they might be trying to reach towards the right, and if there are multiple elements, which element they probably wants.

Since: 2.4

constructSettingsEnableSpatialNavigation :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-spatial-navigation” property. This is rarely needed directly, but it is used by new.

getSettingsEnableSpatialNavigation :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-spatial-navigation” property. When overloading is enabled, this is equivalent to

get settings #enableSpatialNavigation

setSettingsEnableSpatialNavigation :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-spatial-navigation” property. When overloading is enabled, this is equivalent to

set settings [ #enableSpatialNavigation := value ]

enableTabsToLinks

Determines whether the tab key cycles through the elements on the page. When this setting is enabled, users will be able to focus the next element in the page by pressing the tab key. If the selected element is editable, then pressing tab key will insert the tab character.

constructSettingsEnableTabsToLinks :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-tabs-to-links” property. This is rarely needed directly, but it is used by new.

getSettingsEnableTabsToLinks :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-tabs-to-links” property. When overloading is enabled, this is equivalent to

get settings #enableTabsToLinks

setSettingsEnableTabsToLinks :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-tabs-to-links” property. When overloading is enabled, this is equivalent to

set settings [ #enableTabsToLinks := value ]

enableWebaudio

Enable or disable support for WebAudio on pages. WebAudio is an API for processing and synthesizing audio in web applications

See also https://webaudio.github.io/web-audio-api

constructSettingsEnableWebaudio :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-webaudio” property. This is rarely needed directly, but it is used by new.

getSettingsEnableWebaudio :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-webaudio” property. When overloading is enabled, this is equivalent to

get settings #enableWebaudio

setSettingsEnableWebaudio :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-webaudio” property. When overloading is enabled, this is equivalent to

set settings [ #enableWebaudio := value ]

enableWebgl

Enable or disable support for WebGL on pages. WebGL enables web content to use an API based on OpenGL ES 2.0.

constructSettingsEnableWebgl :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-webgl” property. This is rarely needed directly, but it is used by new.

getSettingsEnableWebgl :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-webgl” property. When overloading is enabled, this is equivalent to

get settings #enableWebgl

setSettingsEnableWebgl :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-webgl” property. When overloading is enabled, this is equivalent to

set settings [ #enableWebgl := value ]

enableWebrtc

Enable WebRTC support for loaded pages.

Enabling this setting implies that [propertysettings:enable-media-stream] will be enabled as well.

See also https://www.w3.org/TR/webrtc/

Since: 2.38

constructSettingsEnableWebrtc :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-webrtc” property. This is rarely needed directly, but it is used by new.

getSettingsEnableWebrtc :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-webrtc” property. When overloading is enabled, this is equivalent to

get settings #enableWebrtc

setSettingsEnableWebrtc :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-webrtc” property. When overloading is enabled, this is equivalent to

set settings [ #enableWebrtc := value ]

enableWriteConsoleMessagesToStdout

Enable or disable writing console messages to stdout. These are messages sent to the console with console.log and related methods.

Since: 2.2

constructSettingsEnableWriteConsoleMessagesToStdout :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-write-console-messages-to-stdout” property. This is rarely needed directly, but it is used by new.

getSettingsEnableWriteConsoleMessagesToStdout :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “enable-write-console-messages-to-stdout” property. When overloading is enabled, this is equivalent to

get settings #enableWriteConsoleMessagesToStdout

setSettingsEnableWriteConsoleMessagesToStdout :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “enable-write-console-messages-to-stdout” property. When overloading is enabled, this is equivalent to

set settings [ #enableWriteConsoleMessagesToStdout := value ]

fantasyFontFamily

The font family used as the default for content using a fantasy font.

constructSettingsFantasyFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “fantasy-font-family” property. This is rarely needed directly, but it is used by new.

getSettingsFantasyFontFamily :: (MonadIO m, IsSettings o) => o -> m Text Source #

Get the value of the “fantasy-font-family” property. When overloading is enabled, this is equivalent to

get settings #fantasyFontFamily

setSettingsFantasyFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “fantasy-font-family” property. When overloading is enabled, this is equivalent to

set settings [ #fantasyFontFamily := value ]

hardwareAccelerationPolicy

The HardwareAccelerationPolicy to decide how to enable and disable hardware acceleration. Disabling hardware acceleration might cause some websites to not render correctly or consume more CPU.

Note that changing this setting might not be possible if hardware acceleration is not supported by the hardware or the system. In that case, you can get the value to know the actual policy being used, but changing the setting will not have any effect.

Since: 2.16

constructSettingsHardwareAccelerationPolicy :: (IsSettings o, MonadIO m) => HardwareAccelerationPolicy -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “hardware-acceleration-policy” property. This is rarely needed directly, but it is used by new.

getSettingsHardwareAccelerationPolicy :: (MonadIO m, IsSettings o) => o -> m HardwareAccelerationPolicy Source #

Get the value of the “hardware-acceleration-policy” property. When overloading is enabled, this is equivalent to

get settings #hardwareAccelerationPolicy

setSettingsHardwareAccelerationPolicy :: (MonadIO m, IsSettings o) => o -> HardwareAccelerationPolicy -> m () Source #

Set the value of the “hardware-acceleration-policy” property. When overloading is enabled, this is equivalent to

set settings [ #hardwareAccelerationPolicy := value ]

javascriptCanAccessClipboard

Whether JavaScript can access the clipboard. The default value is False. If set to True, document.execCommand() allows cut, copy and paste commands.

constructSettingsJavascriptCanAccessClipboard :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “javascript-can-access-clipboard” property. This is rarely needed directly, but it is used by new.

getSettingsJavascriptCanAccessClipboard :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “javascript-can-access-clipboard” property. When overloading is enabled, this is equivalent to

get settings #javascriptCanAccessClipboard

setSettingsJavascriptCanAccessClipboard :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “javascript-can-access-clipboard” property. When overloading is enabled, this is equivalent to

set settings [ #javascriptCanAccessClipboard := value ]

javascriptCanOpenWindowsAutomatically

Whether JavaScript can open popup windows automatically without user intervention.

constructSettingsJavascriptCanOpenWindowsAutomatically :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “javascript-can-open-windows-automatically” property. This is rarely needed directly, but it is used by new.

getSettingsJavascriptCanOpenWindowsAutomatically :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “javascript-can-open-windows-automatically” property. When overloading is enabled, this is equivalent to

get settings #javascriptCanOpenWindowsAutomatically

setSettingsJavascriptCanOpenWindowsAutomatically :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “javascript-can-open-windows-automatically” property. When overloading is enabled, this is equivalent to

set settings [ #javascriptCanOpenWindowsAutomatically := value ]

loadIconsIgnoringImageLoadSetting

Determines whether a site can load favicons irrespective of the value of Settings:autoLoadImages.

constructSettingsLoadIconsIgnoringImageLoadSetting :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “load-icons-ignoring-image-load-setting” property. This is rarely needed directly, but it is used by new.

getSettingsLoadIconsIgnoringImageLoadSetting :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “load-icons-ignoring-image-load-setting” property. When overloading is enabled, this is equivalent to

get settings #loadIconsIgnoringImageLoadSetting

setSettingsLoadIconsIgnoringImageLoadSetting :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “load-icons-ignoring-image-load-setting” property. When overloading is enabled, this is equivalent to

set settings [ #loadIconsIgnoringImageLoadSetting := value ]

mediaContentTypesRequiringHardwareSupport

List of media content types requiring hardware support, split by semicolons (:). For example: 'video/webm; codecs="vp*":video/mp4; codecs="avc*":video/&ast; codecs="av1*"'.

Since: 2.30

clearSettingsMediaContentTypesRequiringHardwareSupport :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “media-content-types-requiring-hardware-support” property to Nothing. When overloading is enabled, this is equivalent to

clear #mediaContentTypesRequiringHardwareSupport

constructSettingsMediaContentTypesRequiringHardwareSupport :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “media-content-types-requiring-hardware-support” property. This is rarely needed directly, but it is used by new.

getSettingsMediaContentTypesRequiringHardwareSupport :: (MonadIO m, IsSettings o) => o -> m Text Source #

Get the value of the “media-content-types-requiring-hardware-support” property. When overloading is enabled, this is equivalent to

get settings #mediaContentTypesRequiringHardwareSupport

setSettingsMediaContentTypesRequiringHardwareSupport :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “media-content-types-requiring-hardware-support” property. When overloading is enabled, this is equivalent to

set settings [ #mediaContentTypesRequiringHardwareSupport := value ]

mediaPlaybackAllowsInline

Whether media playback is full-screen only or inline playback is allowed. This is True by default, so media playback can be inline. Setting it to False allows specifying that media playback should be always fullscreen.

constructSettingsMediaPlaybackAllowsInline :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “media-playback-allows-inline” property. This is rarely needed directly, but it is used by new.

getSettingsMediaPlaybackAllowsInline :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “media-playback-allows-inline” property. When overloading is enabled, this is equivalent to

get settings #mediaPlaybackAllowsInline

setSettingsMediaPlaybackAllowsInline :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “media-playback-allows-inline” property. When overloading is enabled, this is equivalent to

set settings [ #mediaPlaybackAllowsInline := value ]

mediaPlaybackRequiresUserGesture

Whether a user gesture (such as clicking the play button) would be required to start media playback or load media. This is off by default, so media playback could start automatically. Setting it on requires a gesture by the user to start playback, or to load the media.

constructSettingsMediaPlaybackRequiresUserGesture :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “media-playback-requires-user-gesture” property. This is rarely needed directly, but it is used by new.

getSettingsMediaPlaybackRequiresUserGesture :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “media-playback-requires-user-gesture” property. When overloading is enabled, this is equivalent to

get settings #mediaPlaybackRequiresUserGesture

setSettingsMediaPlaybackRequiresUserGesture :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “media-playback-requires-user-gesture” property. When overloading is enabled, this is equivalent to

set settings [ #mediaPlaybackRequiresUserGesture := value ]

minimumFontSize

The minimum font size in pixels used to display text. This setting controls the absolute smallest size. Values other than 0 can potentially break page layouts.

constructSettingsMinimumFontSize :: (IsSettings o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “minimum-font-size” property. This is rarely needed directly, but it is used by new.

getSettingsMinimumFontSize :: (MonadIO m, IsSettings o) => o -> m Word32 Source #

Get the value of the “minimum-font-size” property. When overloading is enabled, this is equivalent to

get settings #minimumFontSize

setSettingsMinimumFontSize :: (MonadIO m, IsSettings o) => o -> Word32 -> m () Source #

Set the value of the “minimum-font-size” property. When overloading is enabled, this is equivalent to

set settings [ #minimumFontSize := value ]

monospaceFontFamily

The font family used as the default for content using a monospace font.

constructSettingsMonospaceFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “monospace-font-family” property. This is rarely needed directly, but it is used by new.

getSettingsMonospaceFontFamily :: (MonadIO m, IsSettings o) => o -> m Text Source #

Get the value of the “monospace-font-family” property. When overloading is enabled, this is equivalent to

get settings #monospaceFontFamily

setSettingsMonospaceFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “monospace-font-family” property. When overloading is enabled, this is equivalent to

set settings [ #monospaceFontFamily := value ]

pictographFontFamily

The font family used as the default for content using a pictograph font.

constructSettingsPictographFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “pictograph-font-family” property. This is rarely needed directly, but it is used by new.

getSettingsPictographFontFamily :: (MonadIO m, IsSettings o) => o -> m Text Source #

Get the value of the “pictograph-font-family” property. When overloading is enabled, this is equivalent to

get settings #pictographFontFamily

setSettingsPictographFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “pictograph-font-family” property. When overloading is enabled, this is equivalent to

set settings [ #pictographFontFamily := value ]

printBackgrounds

Whether background images should be drawn during printing.

constructSettingsPrintBackgrounds :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “print-backgrounds” property. This is rarely needed directly, but it is used by new.

getSettingsPrintBackgrounds :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “print-backgrounds” property. When overloading is enabled, this is equivalent to

get settings #printBackgrounds

setSettingsPrintBackgrounds :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “print-backgrounds” property. When overloading is enabled, this is equivalent to

set settings [ #printBackgrounds := value ]

sansSerifFontFamily

The font family used as the default for content using a sans-serif font.

constructSettingsSansSerifFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “sans-serif-font-family” property. This is rarely needed directly, but it is used by new.

getSettingsSansSerifFontFamily :: (MonadIO m, IsSettings o) => o -> m Text Source #

Get the value of the “sans-serif-font-family” property. When overloading is enabled, this is equivalent to

get settings #sansSerifFontFamily

setSettingsSansSerifFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “sans-serif-font-family” property. When overloading is enabled, this is equivalent to

set settings [ #sansSerifFontFamily := value ]

serifFontFamily

The font family used as the default for content using a serif font.

constructSettingsSerifFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “serif-font-family” property. This is rarely needed directly, but it is used by new.

getSettingsSerifFontFamily :: (MonadIO m, IsSettings o) => o -> m Text Source #

Get the value of the “serif-font-family” property. When overloading is enabled, this is equivalent to

get settings #serifFontFamily

setSettingsSerifFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “serif-font-family” property. When overloading is enabled, this is equivalent to

set settings [ #serifFontFamily := value ]

userAgent

The user-agent string used by WebKit. Unusual user-agent strings may cause web content to render incorrectly or fail to run, as many web pages are written to parse the user-agent strings of only the most popular browsers. Therefore, it's typically better to not completely override the standard user-agent, but to use settingsSetUserAgentWithApplicationDetails instead.

If this property is set to the empty string or Nothing, it will revert to the standard user-agent.

clearSettingsUserAgent :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “user-agent” property to Nothing. When overloading is enabled, this is equivalent to

clear #userAgent

constructSettingsUserAgent :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “user-agent” property. This is rarely needed directly, but it is used by new.

getSettingsUserAgent :: (MonadIO m, IsSettings o) => o -> m Text Source #

Get the value of the “user-agent” property. When overloading is enabled, this is equivalent to

get settings #userAgent

setSettingsUserAgent :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “user-agent” property. When overloading is enabled, this is equivalent to

set settings [ #userAgent := value ]

zoomTextOnly

Whether WebView:zoomLevel affects only the text of the page or all the contents. Other contents containing text like form controls will be also affected by zoom factor when this property is enabled.

constructSettingsZoomTextOnly :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “zoom-text-only” property. This is rarely needed directly, but it is used by new.

getSettingsZoomTextOnly :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “zoom-text-only” property. When overloading is enabled, this is equivalent to

get settings #zoomTextOnly

setSettingsZoomTextOnly :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “zoom-text-only” property. When overloading is enabled, this is equivalent to

set settings [ #zoomTextOnly := value ]