gi-webkit2-4.0.14: WebKit2 bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2.Objects.Settings

Contents

Description

 

Synopsis

Exported types

Methods

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:allow-file-access-from-file-urls 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:allow-modal-dialogs property.

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:allow-universal-access-from-file-urls 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:auto-load-images 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:cursive-font-family property.

getDefaultCharset

settingsGetDefaultCharset Source #

Arguments

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

settings: a Settings

-> m Text

Returns: Default charset.

Gets the Settings:default-charset property.

getDefaultFontFamily

settingsGetDefaultFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Text Source #

No description available in the introspection data.

getDefaultFontSize

settingsGetDefaultFontSize Source #

Arguments

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

settings: a Settings

-> m Word32

Returns: The default font size.

Gets the Settings:default-font-size property.

getDefaultMonospaceFontSize

settingsGetDefaultMonospaceFontSize Source #

Arguments

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

settings: a Settings

-> m Word32

Returns: Default monospace font size.

Gets the Settings:default-monospace-font-size property.

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.

Get the Settings:draw-compositing-indicators property.

getEnableAccelerated2dCanvas

settingsGetEnableAccelerated2dCanvas Source #

Arguments

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

settings: a Settings

-> m Bool

Returns: True if accelerated 2D canvas is enabled or False otherwise.

Get the Settings:enable-accelerated-2d-canvas property.

Since: 2.2

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.

Get the Settings:enable-caret-browsing property.

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.

Get the Settings:enable-developer-extras property.

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.

Get the Settings:enable-dns-prefetching property.

getEnableFrameFlattening

settingsGetEnableFrameFlattening Source #

Arguments

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

settings: a Settings

-> m Bool

Returns: True If frame flattening is enabled or False otherwise.

Get the Settings:enable-frame-flattening property.

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:enable-fullscreen property.

getEnableHtml5Database

settingsGetEnableHtml5Database Source #

Arguments

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

settings: a Settings

-> m Bool

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

Get the Settings:enable-html5-database property.

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.

Get the Settings:enable-html5-local-storage property.

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.

Get the Settings:enable-hyperlink-auditing property.

getEnableJava

settingsGetEnableJava Source #

Arguments

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

settings: a Settings

-> m Bool

Returns: True If Java is enabled or False otherwise.

Get the Settings:enable-java property.

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:enable-javascript property.

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:enable-media-stream 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:enable-mediasource property.

Since: 2.4

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.

Get the Settings:enable-offline-web-application-cache property.

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:enable-page-cache property.

getEnablePlugins

settingsGetEnablePlugins Source #

Arguments

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

settings: a Settings

-> m Bool

Returns: True If plugins are enabled or False otherwise.

Get the Settings:enable-plugins property.

getEnablePrivateBrowsing

settingsGetEnablePrivateBrowsing Source #

Arguments

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

settings: a Settings

-> m Bool

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

Deprecated: (Since version 2.16.)Use WebView:is-ephemeral or WebContext:is-ephemeral instead.

Get the Settings:enable-private-browsing 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.

Get the Settings:enable-resizable-text-areas property.

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.

Get the Settings:enable-site-specific-quirks property.

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.

Get the Settings:enable-smooth-scrolling property.

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:enable-spatial-navigation 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:enable-tabs-to-links 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:enable-webaudio 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:enable-webgl property.

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.

Get the Settings:enable-write-console-messages-to-stdout property.

Since: 2.2

getEnableXssAuditor

settingsGetEnableXssAuditor Source #

Arguments

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

settings: a Settings

-> m Bool

Returns: True If XSS auditing is enabled or False otherwise.

Get the Settings:enable-xss-auditor property.

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:fantasy-font-family property.

getHardwareAccelerationPolicy

settingsGetHardwareAccelerationPolicy Source #

Get the Settings:hardware-acceleration-policy property.

Since: 2.16

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.

Get the Settings:javascript-can-access-clipboard property.

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.

Get the Settings:javascript-can-open-windows-automatically property.

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.

Get the Settings:load-icons-ignoring-image-load-setting property.

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.

Get the Settings:media-playback-allows-inline property.

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.

Get the Settings:media-playback-requires-user-gesture property.

getMinimumFontSize

settingsGetMinimumFontSize Source #

Arguments

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

settings: a Settings

-> m Word32

Returns: Minimum font size.

Gets the Settings:minimum-font-size 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:monospace-font-family 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.

Gets the Settings:pictograph-font-family property.

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:print-backgrounds 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:sans-serif-font-family 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:serif-font-family 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:user-agent 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:zoom-text-only 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:allow-file-access-from-file-urls 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:allow-modal-dialogs property.

setAllowUniversalAccessFromFileUrls

settingsSetAllowUniversalAccessFromFileUrls Source #

Arguments

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

settings: a Settings

-> Bool

allowed: Value to be set

-> m () 

Set the Settings:allow-universal-access-from-file-urls 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:auto-load-images 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:cursive-font-family 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:default-charset 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:default-font-family 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:default-font-size 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 () 

Set the Settings:default-monospace-font-size property.

setDrawCompositingIndicators

settingsSetDrawCompositingIndicators Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:draw-compositing-indicators property.

setEnableAccelerated2dCanvas

settingsSetEnableAccelerated2dCanvas Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-accelerated-2d-canvas property.

Since: 2.2

setEnableCaretBrowsing

settingsSetEnableCaretBrowsing Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-caret-browsing property.

setEnableDeveloperExtras

settingsSetEnableDeveloperExtras Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-developer-extras property.

setEnableDnsPrefetching

settingsSetEnableDnsPrefetching Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-dns-prefetching property.

setEnableFrameFlattening

settingsSetEnableFrameFlattening Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-frame-flattening property.

setEnableFullscreen

settingsSetEnableFullscreen Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-fullscreen property.

setEnableHtml5Database

settingsSetEnableHtml5Database Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-html5-database property.

setEnableHtml5LocalStorage

settingsSetEnableHtml5LocalStorage Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-html5-local-storage property.

setEnableHyperlinkAuditing

settingsSetEnableHyperlinkAuditing Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-hyperlink-auditing property.

setEnableJava

settingsSetEnableJava Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-java property.

setEnableJavascript

settingsSetEnableJavascript Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-javascript property.

setEnableMediaStream

settingsSetEnableMediaStream Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-media-stream 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:enable-mediasource property.

Since: 2.4

setEnableOfflineWebApplicationCache

settingsSetEnableOfflineWebApplicationCache Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-offline-web-application-cache property.

setEnablePageCache

settingsSetEnablePageCache Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-page-cache property.

setEnablePlugins

settingsSetEnablePlugins Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-plugins property.

setEnablePrivateBrowsing

settingsSetEnablePrivateBrowsing Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Deprecated: (Since version 2.16.)Use WebView:is-ephemeral or WebContext:is-ephemeral instead.

Set the Settings:enable-private-browsing property.

setEnableResizableTextAreas

settingsSetEnableResizableTextAreas Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-resizable-text-areas property.

setEnableSiteSpecificQuirks

settingsSetEnableSiteSpecificQuirks Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-site-specific-quirks property.

setEnableSmoothScrolling

settingsSetEnableSmoothScrolling Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-smooth-scrolling property.

setEnableSpatialNavigation

settingsSetEnableSpatialNavigation Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-spatial-navigation 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:enable-tabs-to-links property.

setEnableWebaudio

settingsSetEnableWebaudio Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-webaudio property.

setEnableWebgl

settingsSetEnableWebgl Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-webgl property.

setEnableWriteConsoleMessagesToStdout

settingsSetEnableWriteConsoleMessagesToStdout Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-write-console-messages-to-stdout property.

Since: 2.2

setEnableXssAuditor

settingsSetEnableXssAuditor Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:enable-xss-auditor property.

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:fantasy-font-family property.

setHardwareAccelerationPolicy

settingsSetHardwareAccelerationPolicy Source #

Arguments

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

settings: a Settings

-> HardwareAccelerationPolicy

policy: a HardwareAccelerationPolicy

-> m () 

Set the Settings:hardware-acceleration-policy property.

Since: 2.16

setJavascriptCanAccessClipboard

settingsSetJavascriptCanAccessClipboard Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:javascript-can-access-clipboard property.

setJavascriptCanOpenWindowsAutomatically

settingsSetJavascriptCanOpenWindowsAutomatically Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:javascript-can-open-windows-automatically property.

setLoadIconsIgnoringImageLoadSetting

settingsSetLoadIconsIgnoringImageLoadSetting Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:load-icons-ignoring-image-load-setting property.

setMediaPlaybackAllowsInline

settingsSetMediaPlaybackAllowsInline Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:media-playback-allows-inline property.

setMediaPlaybackRequiresUserGesture

settingsSetMediaPlaybackRequiresUserGesture Source #

Arguments

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

settings: a Settings

-> Bool

enabled: Value to be set

-> m () 

Set the Settings:media-playback-requires-user-gesture property.

setMinimumFontSize

settingsSetMinimumFontSize Source #

Arguments

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

settings: a Settings

-> Word32

fontSize: minimum font size to be set in points

-> m () 

Set the Settings:minimum-font-size property.

setMonospaceFontFamily

settingsSetMonospaceFontFamily Source #

Arguments

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

settings: a Settings

-> Text

monospaceFontFamily: the new default monospace font family

-> m () 

Set the Settings:monospace-font-family property.

setPictographFontFamily

settingsSetPictographFontFamily Source #

Arguments

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

settings: a Settings

-> Text

pictographFontFamily: the new default pictograph font family

-> m () 

Set the Settings:pictograph-font-family property.

setPrintBackgrounds

settingsSetPrintBackgrounds Source #

Arguments

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

settings: a Settings

-> Bool

printBackgrounds: Value to be set

-> m () 

Set the Settings:print-backgrounds property.

setSansSerifFontFamily

settingsSetSansSerifFontFamily Source #

Arguments

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

settings: a Settings

-> Text

sansSerifFontFamily: the new default sans-serif font family

-> m () 

Set the Settings:sans-serif-font-family property.

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:serif-font-family 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:user-agent 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:user-agent 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:zoom-text-only property.

Properties

allowFileAccessFromFileUrls

allowModalDialogs

allowUniversalAccessFromFileUrls

autoLoadImages

cursiveFontFamily

defaultCharset

defaultFontFamily

defaultFontSize

defaultMonospaceFontSize

drawCompositingIndicators

enableAccelerated2dCanvas

enableCaretBrowsing

enableDeveloperExtras

enableDnsPrefetching

enableFrameFlattening

enableFullscreen

enableHtml5Database

enableHtml5LocalStorage

enableHyperlinkAuditing

enableJava

enableJavascript

enableMediaStream

enableMediasource

enableOfflineWebApplicationCache

enablePageCache

enablePlugins

enablePrivateBrowsing

enableResizableTextAreas

enableSiteSpecificQuirks

enableSmoothScrolling

enableSpatialNavigation

enableTabsToLinks

enableWebaudio

enableWebgl

enableWriteConsoleMessagesToStdout

enableXssAuditor

fantasyFontFamily

hardwareAccelerationPolicy

javascriptCanAccessClipboard

javascriptCanOpenWindowsAutomatically

loadIconsIgnoringImageLoadSetting

mediaPlaybackAllowsInline

mediaPlaybackRequiresUserGesture

minimumFontSize

monospaceFontFamily

pictographFontFamily

printBackgrounds

sansSerifFontFamily

serifFontFamily

userAgent

zoomTextOnly