Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Exported types
- Methods
- fontSizeToPixels
- fontSizeToPoints
- getAllowFileAccessFromFileUrls
- getAllowModalDialogs
- getAllowTopNavigationToDataUrls
- getAllowUniversalAccessFromFileUrls
- getAutoLoadImages
- getCursiveFontFamily
- 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
- getSansSerifFontFamily
- getSerifFontFamily
- getUserAgent
- getZoomTextOnly
- new
- setAllowFileAccessFromFileUrls
- setAllowModalDialogs
- setAllowTopNavigationToDataUrls
- setAllowUniversalAccessFromFileUrls
- setAutoLoadImages
- setCursiveFontFamily
- 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
- setSansSerifFontFamily
- setSerifFontFamily
- setUserAgent
- setUserAgentWithApplicationDetails
- setZoomTextOnly
- Properties
- allowFileAccessFromFileUrls
- allowModalDialogs
- allowTopNavigationToDataUrls
- allowUniversalAccessFromFileUrls
- autoLoadImages
- cursiveFontFamily
- defaultCharset
- defaultFontFamily
- defaultFontSize
- defaultMonospaceFontSize
- disableWebSecurity
- drawCompositingIndicators
- enableBackForwardNavigationGestures
- enableCaretBrowsing
- enableDeveloperExtras
- enableDnsPrefetching
- enableEncryptedMedia
- enableFullscreen
- enableHtml5Database
- enableHtml5LocalStorage
- enableHyperlinkAuditing
- enableJavascript
- enableJavascriptMarkup
- enableMedia
- enableMediaCapabilities
- enableMediaStream
- enableMediasource
- enableMockCaptureDevices
- enableOfflineWebApplicationCache
- enablePageCache
- enableResizableTextAreas
- enableSiteSpecificQuirks
- enableSmoothScrolling
- enableSpatialNavigation
- enableTabsToLinks
- enableWebaudio
- enableWebgl
- enableWebrtc
- enableWriteConsoleMessagesToStdout
- fantasyFontFamily
- hardwareAccelerationPolicy
- javascriptCanAccessClipboard
- javascriptCanOpenWindowsAutomatically
- loadIconsIgnoringImageLoadSetting
- mediaContentTypesRequiringHardwareSupport
- mediaPlaybackAllowsInline
- mediaPlaybackRequiresUserGesture
- minimumFontSize
- monospaceFontFamily
- pictographFontFamily
- printBackgrounds
- sansSerifFontFamily
- serifFontFamily
- userAgent
- zoomTextOnly
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
- newtype Settings = Settings (ManagedPtr Settings)
- class (GObject o, IsDescendantOf Settings o) => IsSettings o
- toSettings :: (MonadIO m, IsSettings o) => o -> m Settings
- settingsFontSizeToPixels :: (HasCallStack, MonadIO m) => Word32 -> m Word32
- settingsFontSizeToPoints :: (HasCallStack, MonadIO m) => Word32 -> m Word32
- settingsGetAllowFileAccessFromFileUrls :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetAllowModalDialogs :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetAllowTopNavigationToDataUrls :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetAllowUniversalAccessFromFileUrls :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetAutoLoadImages :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetCursiveFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Text
- settingsGetDefaultCharset :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Text
- settingsGetDefaultFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Text
- settingsGetDefaultFontSize :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Word32
- settingsGetDefaultMonospaceFontSize :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Word32
- settingsGetDisableWebSecurity :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetDrawCompositingIndicators :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableBackForwardNavigationGestures :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableCaretBrowsing :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableDeveloperExtras :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableDnsPrefetching :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableEncryptedMedia :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableFullscreen :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableHtml5Database :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableHtml5LocalStorage :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableHyperlinkAuditing :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableJavascript :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableJavascriptMarkup :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableMedia :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableMediaCapabilities :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableMediaStream :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableMediasource :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableMockCaptureDevices :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableOfflineWebApplicationCache :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnablePageCache :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableResizableTextAreas :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableSiteSpecificQuirks :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableSmoothScrolling :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableSpatialNavigation :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableTabsToLinks :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableWebaudio :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableWebgl :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableWebrtc :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableWriteConsoleMessagesToStdout :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetFantasyFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Text
- settingsGetHardwareAccelerationPolicy :: (HasCallStack, MonadIO m, IsSettings a) => a -> m HardwareAccelerationPolicy
- settingsGetJavascriptCanAccessClipboard :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetJavascriptCanOpenWindowsAutomatically :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetLoadIconsIgnoringImageLoadSetting :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetMediaContentTypesRequiringHardwareSupport :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Text
- settingsGetMediaPlaybackAllowsInline :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetMediaPlaybackRequiresUserGesture :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetMinimumFontSize :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Word32
- settingsGetMonospaceFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Text
- settingsGetPictographFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Text
- settingsGetPrintBackgrounds :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetSansSerifFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Text
- settingsGetSerifFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Text
- settingsGetUserAgent :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Text
- settingsGetZoomTextOnly :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsNew :: (HasCallStack, MonadIO m) => m Settings
- settingsSetAllowFileAccessFromFileUrls :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetAllowModalDialogs :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetAllowTopNavigationToDataUrls :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetAllowUniversalAccessFromFileUrls :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetAutoLoadImages :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetCursiveFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m ()
- settingsSetDefaultCharset :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m ()
- settingsSetDefaultFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m ()
- settingsSetDefaultFontSize :: (HasCallStack, MonadIO m, IsSettings a) => a -> Word32 -> m ()
- settingsSetDefaultMonospaceFontSize :: (HasCallStack, MonadIO m, IsSettings a) => a -> Word32 -> m ()
- settingsSetDisableWebSecurity :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetDrawCompositingIndicators :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableBackForwardNavigationGestures :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableCaretBrowsing :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableDeveloperExtras :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableDnsPrefetching :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableEncryptedMedia :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableFullscreen :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableHtml5Database :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableHtml5LocalStorage :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableHyperlinkAuditing :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableJavascript :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableJavascriptMarkup :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableMedia :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableMediaCapabilities :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableMediaStream :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableMediasource :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableMockCaptureDevices :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableOfflineWebApplicationCache :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnablePageCache :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableResizableTextAreas :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableSiteSpecificQuirks :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableSmoothScrolling :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableSpatialNavigation :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableTabsToLinks :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableWebaudio :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableWebgl :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableWebrtc :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnableWriteConsoleMessagesToStdout :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetFantasyFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m ()
- settingsSetHardwareAccelerationPolicy :: (HasCallStack, MonadIO m, IsSettings a) => a -> HardwareAccelerationPolicy -> m ()
- settingsSetJavascriptCanAccessClipboard :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetJavascriptCanOpenWindowsAutomatically :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetLoadIconsIgnoringImageLoadSetting :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetMediaContentTypesRequiringHardwareSupport :: (HasCallStack, MonadIO m, IsSettings a) => a -> Maybe Text -> m ()
- settingsSetMediaPlaybackAllowsInline :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetMediaPlaybackRequiresUserGesture :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetMinimumFontSize :: (HasCallStack, MonadIO m, IsSettings a) => a -> Word32 -> m ()
- settingsSetMonospaceFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m ()
- settingsSetPictographFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m ()
- settingsSetPrintBackgrounds :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetSansSerifFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m ()
- settingsSetSerifFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m ()
- settingsSetUserAgent :: (HasCallStack, MonadIO m, IsSettings a) => a -> Maybe Text -> m ()
- settingsSetUserAgentWithApplicationDetails :: (HasCallStack, MonadIO m, IsSettings a) => a -> Maybe Text -> Maybe Text -> m ()
- settingsSetZoomTextOnly :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- constructSettingsAllowFileAccessFromFileUrls :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsAllowFileAccessFromFileUrls :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsAllowFileAccessFromFileUrls :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsAllowModalDialogs :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsAllowModalDialogs :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsAllowModalDialogs :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsAllowTopNavigationToDataUrls :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsAllowTopNavigationToDataUrls :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsAllowTopNavigationToDataUrls :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsAllowUniversalAccessFromFileUrls :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsAllowUniversalAccessFromFileUrls :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsAllowUniversalAccessFromFileUrls :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsAutoLoadImages :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsAutoLoadImages :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsAutoLoadImages :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsCursiveFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsCursiveFontFamily :: (MonadIO m, IsSettings o) => o -> m Text
- setSettingsCursiveFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsDefaultCharset :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsDefaultCharset :: (MonadIO m, IsSettings o) => o -> m Text
- setSettingsDefaultCharset :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsDefaultFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsDefaultFontFamily :: (MonadIO m, IsSettings o) => o -> m Text
- setSettingsDefaultFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsDefaultFontSize :: (IsSettings o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingsDefaultFontSize :: (MonadIO m, IsSettings o) => o -> m Word32
- setSettingsDefaultFontSize :: (MonadIO m, IsSettings o) => o -> Word32 -> m ()
- constructSettingsDefaultMonospaceFontSize :: (IsSettings o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingsDefaultMonospaceFontSize :: (MonadIO m, IsSettings o) => o -> m Word32
- setSettingsDefaultMonospaceFontSize :: (MonadIO m, IsSettings o) => o -> Word32 -> m ()
- constructSettingsDisableWebSecurity :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsDisableWebSecurity :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsDisableWebSecurity :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsDrawCompositingIndicators :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsDrawCompositingIndicators :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsDrawCompositingIndicators :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableBackForwardNavigationGestures :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableBackForwardNavigationGestures :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableBackForwardNavigationGestures :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableCaretBrowsing :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableCaretBrowsing :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableCaretBrowsing :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableDeveloperExtras :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableDeveloperExtras :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableDeveloperExtras :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableDnsPrefetching :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableDnsPrefetching :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableDnsPrefetching :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableEncryptedMedia :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableEncryptedMedia :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableEncryptedMedia :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableFullscreen :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableFullscreen :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableFullscreen :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableHtml5Database :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableHtml5Database :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableHtml5Database :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableHtml5LocalStorage :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableHtml5LocalStorage :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableHtml5LocalStorage :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableHyperlinkAuditing :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableHyperlinkAuditing :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableHyperlinkAuditing :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableJavascript :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableJavascript :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableJavascript :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableJavascriptMarkup :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableJavascriptMarkup :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableJavascriptMarkup :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableMedia :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableMedia :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableMedia :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableMediaCapabilities :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableMediaCapabilities :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableMediaCapabilities :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableMediaStream :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableMediaStream :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableMediaStream :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableMediasource :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableMediasource :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableMediasource :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableMockCaptureDevices :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableMockCaptureDevices :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableMockCaptureDevices :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableOfflineWebApplicationCache :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableOfflineWebApplicationCache :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableOfflineWebApplicationCache :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnablePageCache :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnablePageCache :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnablePageCache :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableResizableTextAreas :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableResizableTextAreas :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableResizableTextAreas :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableSiteSpecificQuirks :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableSiteSpecificQuirks :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableSiteSpecificQuirks :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableSmoothScrolling :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableSmoothScrolling :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableSmoothScrolling :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableSpatialNavigation :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableSpatialNavigation :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableSpatialNavigation :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableTabsToLinks :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableTabsToLinks :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableTabsToLinks :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableWebaudio :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableWebaudio :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableWebaudio :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableWebgl :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableWebgl :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableWebgl :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableWebrtc :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableWebrtc :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableWebrtc :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnableWriteConsoleMessagesToStdout :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableWriteConsoleMessagesToStdout :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableWriteConsoleMessagesToStdout :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsFantasyFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsFantasyFontFamily :: (MonadIO m, IsSettings o) => o -> m Text
- setSettingsFantasyFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsHardwareAccelerationPolicy :: (IsSettings o, MonadIO m) => HardwareAccelerationPolicy -> m (GValueConstruct o)
- getSettingsHardwareAccelerationPolicy :: (MonadIO m, IsSettings o) => o -> m HardwareAccelerationPolicy
- setSettingsHardwareAccelerationPolicy :: (MonadIO m, IsSettings o) => o -> HardwareAccelerationPolicy -> m ()
- constructSettingsJavascriptCanAccessClipboard :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsJavascriptCanAccessClipboard :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsJavascriptCanAccessClipboard :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsJavascriptCanOpenWindowsAutomatically :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsJavascriptCanOpenWindowsAutomatically :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsJavascriptCanOpenWindowsAutomatically :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsLoadIconsIgnoringImageLoadSetting :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsLoadIconsIgnoringImageLoadSetting :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsLoadIconsIgnoringImageLoadSetting :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- clearSettingsMediaContentTypesRequiringHardwareSupport :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsMediaContentTypesRequiringHardwareSupport :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsMediaContentTypesRequiringHardwareSupport :: (MonadIO m, IsSettings o) => o -> m Text
- setSettingsMediaContentTypesRequiringHardwareSupport :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsMediaPlaybackAllowsInline :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsMediaPlaybackAllowsInline :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsMediaPlaybackAllowsInline :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsMediaPlaybackRequiresUserGesture :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsMediaPlaybackRequiresUserGesture :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsMediaPlaybackRequiresUserGesture :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsMinimumFontSize :: (IsSettings o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingsMinimumFontSize :: (MonadIO m, IsSettings o) => o -> m Word32
- setSettingsMinimumFontSize :: (MonadIO m, IsSettings o) => o -> Word32 -> m ()
- constructSettingsMonospaceFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsMonospaceFontFamily :: (MonadIO m, IsSettings o) => o -> m Text
- setSettingsMonospaceFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsPictographFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsPictographFontFamily :: (MonadIO m, IsSettings o) => o -> m Text
- setSettingsPictographFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsPrintBackgrounds :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsPrintBackgrounds :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsPrintBackgrounds :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsSansSerifFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsSansSerifFontFamily :: (MonadIO m, IsSettings o) => o -> m Text
- setSettingsSansSerifFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsSerifFontFamily :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsSerifFontFamily :: (MonadIO m, IsSettings o) => o -> m Text
- setSettingsSerifFontFamily :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- clearSettingsUserAgent :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsUserAgent :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsUserAgent :: (MonadIO m, IsSettings o) => o -> m Text
- setSettingsUserAgent :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsZoomTextOnly :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsZoomTextOnly :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsZoomTextOnly :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Settings Source # | |
GObject Settings Source # | |
Defined in GI.WebKit.Objects.Settings | |
ManagedPtrNewtype Settings Source # | |
Defined in GI.WebKit.Objects.Settings toManagedPtr :: Settings -> ManagedPtr Settings | |
TypedObject Settings Source # | |
Defined in GI.WebKit.Objects.Settings | |
HasParentTypes Settings Source # | |
Defined in GI.WebKit.Objects.Settings | |
IsGValue (Maybe Settings) Source # | Convert |
Defined in GI.WebKit.Objects.Settings gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Settings -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Settings) | |
type ParentTypes Settings Source # | |
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
(GObject o, IsDescendantOf Settings o) => IsSettings o Source # | |
Defined in GI.WebKit.Objects.Settings |
toSettings :: (MonadIO m, IsSettings o) => o -> m Settings Source #
Methods
Click to display all available methods, including inherited ones
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 #
:: (HasCallStack, MonadIO m) | |
=> Word32 |
|
-> 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 #
:: (HasCallStack, MonadIO m) | |
=> Word32 |
|
-> 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 #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:allowFileAccessFromFileUrls property.
Since: 2.10
getAllowModalDialogs
settingsGetAllowModalDialogs Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:allowModalDialogs property.
getAllowTopNavigationToDataUrls
settingsGetAllowTopNavigationToDataUrls Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:allowTopNavigationToDataUrls property.
Since: 2.28
getAllowUniversalAccessFromFileUrls
settingsGetAllowUniversalAccessFromFileUrls Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:allowUniversalAccessFromFileUrls property.
Since: 2.14
getAutoLoadImages
settingsGetAutoLoadImages Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:autoLoadImages property.
getCursiveFontFamily
settingsGetCursiveFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Text | Returns: The default font family used to display content marked with cursive font. |
Gets the Settings:cursiveFontFamily property.
getDefaultCharset
settingsGetDefaultCharset Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Text | Returns: Default charset. |
Gets the Settings:defaultCharset property.
getDefaultFontFamily
settingsGetDefaultFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> 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 #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Word32 | Returns: The default font size, in pixels. |
Gets the Settings:defaultFontSize property.
getDefaultMonospaceFontSize
settingsGetDefaultMonospaceFontSize Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Word32 | Returns: Default monospace font size, in pixels. |
Gets the Settings:defaultMonospaceFontSize property.
getDisableWebSecurity
settingsGetDisableWebSecurity Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:disableWebSecurity property.
Since: 2.40
getDrawCompositingIndicators
settingsGetDrawCompositingIndicators Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:drawCompositingIndicators property.
getEnableBackForwardNavigationGestures
settingsGetEnableBackForwardNavigationGestures Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableBackForwardNavigationGestures property.
Since: 2.24
getEnableCaretBrowsing
settingsGetEnableCaretBrowsing Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableCaretBrowsing property.
getEnableDeveloperExtras
settingsGetEnableDeveloperExtras Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableDeveloperExtras property.
getEnableDnsPrefetching
settingsGetEnableDnsPrefetching Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableDnsPrefetching property.
getEnableEncryptedMedia
settingsGetEnableEncryptedMedia Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableEncryptedMedia property.
Since: 2.20
getEnableFullscreen
settingsGetEnableFullscreen Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableFullscreen property.
getEnableHtml5Database
settingsGetEnableHtml5Database Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableHtml5Database property.
getEnableHtml5LocalStorage
settingsGetEnableHtml5LocalStorage Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableHtml5LocalStorage property.
getEnableHyperlinkAuditing
settingsGetEnableHyperlinkAuditing Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableHyperlinkAuditing property.
getEnableJavascript
settingsGetEnableJavascript Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool |
Get the Settings:enableJavascript property.
getEnableJavascriptMarkup
settingsGetEnableJavascriptMarkup Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableJavascriptMarkup property.
Since: 2.24
getEnableMedia
settingsGetEnableMedia Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableMedia property.
Since: 2.26
getEnableMediaCapabilities
settingsGetEnableMediaCapabilities Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableMediaCapabilities property.
Since: 2.22
getEnableMediaStream
settingsGetEnableMediaStream Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableMediaStream property.
Since: 2.4
getEnableMediasource
settingsGetEnableMediasource Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableMediasource property.
Since: 2.4
getEnableMockCaptureDevices
settingsGetEnableMockCaptureDevices Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableMockCaptureDevices property.
Since: 2.24
getEnableOfflineWebApplicationCache
settingsGetEnableOfflineWebApplicationCache Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableOfflineWebApplicationCache property.
getEnablePageCache
settingsGetEnablePageCache Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool |
Get the Settings:enablePageCache property.
getEnableResizableTextAreas
settingsGetEnableResizableTextAreas Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableResizableTextAreas property.
getEnableSiteSpecificQuirks
settingsGetEnableSiteSpecificQuirks Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableSiteSpecificQuirks property.
getEnableSmoothScrolling
settingsGetEnableSmoothScrolling Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableSmoothScrolling property.
getEnableSpatialNavigation
settingsGetEnableSpatialNavigation Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableSpatialNavigation property.
Since: 2.2
getEnableTabsToLinks
settingsGetEnableTabsToLinks Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableTabsToLinks property.
getEnableWebaudio
settingsGetEnableWebaudio Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableWebaudio property.
getEnableWebgl
settingsGetEnableWebgl Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableWebgl property.
getEnableWebrtc
settingsGetEnableWebrtc Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the [propertysettings
:enable-webrtc] property.
Since: 2.38
getEnableWriteConsoleMessagesToStdout
settingsGetEnableWriteConsoleMessagesToStdout Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:enableWriteConsoleMessagesToStdout property.
Since: 2.2
getFantasyFontFamily
settingsGetFantasyFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Text | Returns: The default font family used to display content marked with fantasy font. |
Gets the Settings:fantasyFontFamily property.
getHardwareAccelerationPolicy
settingsGetHardwareAccelerationPolicy Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m HardwareAccelerationPolicy | Returns: a |
Get the Settings:hardwareAccelerationPolicy property.
Since: 2.16
getJavascriptCanAccessClipboard
settingsGetJavascriptCanAccessClipboard Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:javascriptCanAccessClipboard property.
getJavascriptCanOpenWindowsAutomatically
settingsGetJavascriptCanOpenWindowsAutomatically Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:javascriptCanOpenWindowsAutomatically property.
getLoadIconsIgnoringImageLoadSetting
settingsGetLoadIconsIgnoringImageLoadSetting Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:loadIconsIgnoringImageLoadSetting property.
getMediaContentTypesRequiringHardwareSupport
settingsGetMediaContentTypesRequiringHardwareSupport Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Text | Returns: Media content types requiring hardware support, or |
Gets the Settings:mediaContentTypesRequiringHardwareSupport property.
Since: 2.30
getMediaPlaybackAllowsInline
settingsGetMediaPlaybackAllowsInline Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:mediaPlaybackAllowsInline property.
getMediaPlaybackRequiresUserGesture
settingsGetMediaPlaybackRequiresUserGesture Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:mediaPlaybackRequiresUserGesture property.
getMinimumFontSize
settingsGetMinimumFontSize Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Word32 | Returns: Minimum font size, in pixels. |
Gets the Settings:minimumFontSize property.
getMonospaceFontFamily
settingsGetMonospaceFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Text | Returns: Default font family used to display content marked with monospace font. |
Gets the Settings:monospaceFontFamily property.
getPictographFontFamily
settingsGetPictographFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Text | Returns: The default font family used to display content marked with pictograph font. |
Gets the Settings:pictographFontFamily property.
getPrintBackgrounds
settingsGetPrintBackgrounds Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:printBackgrounds property.
getSansSerifFontFamily
settingsGetSansSerifFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Text | Returns: The default font family used to display content marked with sans-serif font. |
Gets the Settings:sansSerifFontFamily property.
getSerifFontFamily
settingsGetSerifFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Text | Returns: The default font family used to display content marked with serif font. |
Gets the Settings:serifFontFamily property.
getUserAgent
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Text | Returns: The current value of the user-agent property. |
Get the Settings:userAgent property.
getZoomTextOnly
settingsGetZoomTextOnly Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> m Bool | Returns: |
Get the Settings:zoomTextOnly property.
new
:: (HasCallStack, MonadIO m) | |
=> m Settings | Returns: a new |
setAllowFileAccessFromFileUrls
settingsSetAllowFileAccessFromFileUrls Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:allowFileAccessFromFileUrls property.
Since: 2.10
setAllowModalDialogs
settingsSetAllowModalDialogs Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:allowModalDialogs property.
setAllowTopNavigationToDataUrls
settingsSetAllowTopNavigationToDataUrls Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:allowTopNavigationToDataUrls property.
Since: 2.28
setAllowUniversalAccessFromFileUrls
settingsSetAllowUniversalAccessFromFileUrls Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:allowUniversalAccessFromFileUrls property.
Since: 2.14
setAutoLoadImages
settingsSetAutoLoadImages Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:autoLoadImages property.
setCursiveFontFamily
settingsSetCursiveFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Text |
|
-> m () |
Set the Settings:cursiveFontFamily property.
setDefaultCharset
settingsSetDefaultCharset Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Text |
|
-> m () |
Set the Settings:defaultCharset property.
setDefaultFontFamily
settingsSetDefaultFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Text |
|
-> m () |
Set the Settings:defaultFontFamily property.
setDefaultFontSize
settingsSetDefaultFontSize Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Word32 |
|
-> m () |
Set the Settings:defaultFontSize property.
setDefaultMonospaceFontSize
settingsSetDefaultMonospaceFontSize Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Word32 |
|
-> m () |
Set the Settings:defaultMonospaceFontSize property.
setDisableWebSecurity
settingsSetDisableWebSecurity Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:disableWebSecurity property.
Since: 2.40
setDrawCompositingIndicators
settingsSetDrawCompositingIndicators Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:drawCompositingIndicators property.
setEnableBackForwardNavigationGestures
settingsSetEnableBackForwardNavigationGestures Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableBackForwardNavigationGestures property.
Since: 2.24
setEnableCaretBrowsing
settingsSetEnableCaretBrowsing Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableCaretBrowsing property.
setEnableDeveloperExtras
settingsSetEnableDeveloperExtras Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableDeveloperExtras property.
setEnableDnsPrefetching
settingsSetEnableDnsPrefetching Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableDnsPrefetching property.
setEnableEncryptedMedia
settingsSetEnableEncryptedMedia Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableEncryptedMedia property.
Since: 2.20
setEnableFullscreen
settingsSetEnableFullscreen Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableFullscreen property.
setEnableHtml5Database
settingsSetEnableHtml5Database Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableHtml5Database property.
setEnableHtml5LocalStorage
settingsSetEnableHtml5LocalStorage Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableHtml5LocalStorage property.
setEnableHyperlinkAuditing
settingsSetEnableHyperlinkAuditing Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableHyperlinkAuditing property.
setEnableJavascript
settingsSetEnableJavascript Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableJavascript property.
setEnableJavascriptMarkup
settingsSetEnableJavascriptMarkup Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableJavascriptMarkup property.
Since: 2.24
setEnableMedia
settingsSetEnableMedia Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableMedia property.
Since: 2.26
setEnableMediaCapabilities
settingsSetEnableMediaCapabilities Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableMediaCapabilities property.
Since: 2.22
setEnableMediaStream
settingsSetEnableMediaStream Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableMediaStream property.
Since: 2.4
setEnableMediasource
settingsSetEnableMediasource Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableMediasource property.
Since: 2.4
setEnableMockCaptureDevices
settingsSetEnableMockCaptureDevices Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableMockCaptureDevices property.
Since: 2.4
setEnableOfflineWebApplicationCache
settingsSetEnableOfflineWebApplicationCache Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableOfflineWebApplicationCache property.
setEnablePageCache
settingsSetEnablePageCache Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enablePageCache property.
setEnableResizableTextAreas
settingsSetEnableResizableTextAreas Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableResizableTextAreas property.
setEnableSiteSpecificQuirks
settingsSetEnableSiteSpecificQuirks Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableSiteSpecificQuirks property.
setEnableSmoothScrolling
settingsSetEnableSmoothScrolling Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableSmoothScrolling property.
setEnableSpatialNavigation
settingsSetEnableSpatialNavigation Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableSpatialNavigation property.
Since: 2.2
setEnableTabsToLinks
settingsSetEnableTabsToLinks Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableTabsToLinks property.
setEnableWebaudio
settingsSetEnableWebaudio Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableWebaudio property.
setEnableWebgl
settingsSetEnableWebgl Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableWebgl property.
setEnableWebrtc
settingsSetEnableWebrtc Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> 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 #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:enableWriteConsoleMessagesToStdout property.
Since: 2.2
setFantasyFontFamily
settingsSetFantasyFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Text |
|
-> m () |
Set the Settings:fantasyFontFamily property.
setHardwareAccelerationPolicy
settingsSetHardwareAccelerationPolicy Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> HardwareAccelerationPolicy |
|
-> m () |
Set the Settings:hardwareAccelerationPolicy property.
Since: 2.16
setJavascriptCanAccessClipboard
settingsSetJavascriptCanAccessClipboard Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:javascriptCanAccessClipboard property.
setJavascriptCanOpenWindowsAutomatically
settingsSetJavascriptCanOpenWindowsAutomatically Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:javascriptCanOpenWindowsAutomatically property.
setLoadIconsIgnoringImageLoadSetting
settingsSetLoadIconsIgnoringImageLoadSetting Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:loadIconsIgnoringImageLoadSetting property.
setMediaContentTypesRequiringHardwareSupport
settingsSetMediaContentTypesRequiringHardwareSupport Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Maybe Text |
|
-> m () |
Set the Settings:mediaContentTypesRequiringHardwareSupport property.
Since: 2.30
setMediaPlaybackAllowsInline
settingsSetMediaPlaybackAllowsInline Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:mediaPlaybackAllowsInline property.
setMediaPlaybackRequiresUserGesture
settingsSetMediaPlaybackRequiresUserGesture Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:mediaPlaybackRequiresUserGesture property.
setMinimumFontSize
settingsSetMinimumFontSize Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Word32 |
|
-> m () |
Set the Settings:minimumFontSize property.
setMonospaceFontFamily
settingsSetMonospaceFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Text |
|
-> m () |
Set the Settings:monospaceFontFamily property.
setPictographFontFamily
settingsSetPictographFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Text |
|
-> m () |
Set the Settings:pictographFontFamily property.
setPrintBackgrounds
settingsSetPrintBackgrounds Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> m () |
Set the Settings:printBackgrounds property.
setSansSerifFontFamily
settingsSetSansSerifFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Text |
|
-> m () |
Set the Settings:sansSerifFontFamily property.
setSerifFontFamily
settingsSetSerifFontFamily Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Text |
|
-> m () |
Set the Settings:serifFontFamily property.
setUserAgent
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Maybe Text |
|
-> m () |
Set the Settings:userAgent property.
setUserAgentWithApplicationDetails
settingsSetUserAgentWithApplicationDetails Source #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Maybe Text |
|
-> Maybe Text |
|
-> 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 #
:: (HasCallStack, MonadIO m, IsSettings a) | |
=> a |
|
-> Bool |
|
-> 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/* 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 ]