| 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 |
GI.WebKit2.Objects.Settings
Contents
- Exported types
- Methods
- fontSizeToPixels
- fontSizeToPoints
- getAllFeatures
- getAllowFileAccessFromFileUrls
- getAllowModalDialogs
- getAllowTopNavigationToDataUrls
- getAllowUniversalAccessFromFileUrls
- getAutoLoadImages
- getCursiveFontFamily
- getDefaultCharset
- getDefaultFontFamily
- getDefaultFontSize
- getDefaultMonospaceFontSize
- getDevelopmentFeatures
- getDisableWebSecurity
- getDrawCompositingIndicators
- getEnableAccelerated2dCanvas
- getEnableBackForwardNavigationGestures
- getEnableCaretBrowsing
- getEnableDeveloperExtras
- getEnableDnsPrefetching
- getEnableEncryptedMedia
- getEnableFrameFlattening
- getEnableFullscreen
- getEnableHtml5Database
- getEnableHtml5LocalStorage
- getEnableHyperlinkAuditing
- getEnableJava
- getEnableJavascript
- getEnableJavascriptMarkup
- getEnableMedia
- getEnableMediaCapabilities
- getEnableMediaStream
- getEnableMediasource
- getEnableMockCaptureDevices
- getEnableOfflineWebApplicationCache
- getEnablePageCache
- getEnablePlugins
- getEnablePrivateBrowsing
- getEnableResizableTextAreas
- getEnableSiteSpecificQuirks
- getEnableSmoothScrolling
- getEnableSpatialNavigation
- getEnableTabsToLinks
- getEnableWebaudio
- getEnableWebgl
- getEnableWebrtc
- getEnableWriteConsoleMessagesToStdout
- getEnableXssAuditor
- getExperimentalFeatures
- getFantasyFontFamily
- getFeatureEnabled
- 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
- setEnableAccelerated2dCanvas
- setEnableBackForwardNavigationGestures
- setEnableCaretBrowsing
- setEnableDeveloperExtras
- setEnableDnsPrefetching
- setEnableEncryptedMedia
- setEnableFrameFlattening
- setEnableFullscreen
- setEnableHtml5Database
- setEnableHtml5LocalStorage
- setEnableHyperlinkAuditing
- setEnableJava
- setEnableJavascript
- setEnableJavascriptMarkup
- setEnableMedia
- setEnableMediaCapabilities
- setEnableMediaStream
- setEnableMediasource
- setEnableMockCaptureDevices
- setEnableOfflineWebApplicationCache
- setEnablePageCache
- setEnablePlugins
- setEnablePrivateBrowsing
- setEnableResizableTextAreas
- setEnableSiteSpecificQuirks
- setEnableSmoothScrolling
- setEnableSpatialNavigation
- setEnableTabsToLinks
- setEnableWebaudio
- setEnableWebgl
- setEnableWebrtc
- setEnableWriteConsoleMessagesToStdout
- setEnableXssAuditor
- setFantasyFontFamily
- setFeatureEnabled
- 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
- enableAccelerated2dCanvas
- enableBackForwardNavigationGestures
- enableCaretBrowsing
- enableDeveloperExtras
- enableDnsPrefetching
- enableEncryptedMedia
- enableFrameFlattening
- enableFullscreen
- enableHtml5Database
- enableHtml5LocalStorage
- enableHyperlinkAuditing
- enableJava
- enableJavascript
- enableJavascriptMarkup
- enableMedia
- enableMediaCapabilities
- enableMediaStream
- enableMediasource
- enableMockCaptureDevices
- enableOfflineWebApplicationCache
- enablePageCache
- enablePlugins
- enablePrivateBrowsing
- enableResizableTextAreas
- enableSiteSpecificQuirks
- enableSmoothScrolling
- enableSpatialNavigation
- enableTabsToLinks
- enableWebaudio
- enableWebgl
- enableWebrtc
- enableWriteConsoleMessagesToStdout
- enableXssAuditor
- fantasyFontFamily
- hardwareAccelerationPolicy
- javascriptCanAccessClipboard
- javascriptCanOpenWindowsAutomatically
- loadIconsIgnoringImageLoadSetting
- mediaContentTypesRequiringHardwareSupport
- mediaPlaybackAllowsInline
- mediaPlaybackRequiresUserGesture
- minimumFontSize
- monospaceFontFamily
- pictographFontFamily
- printBackgrounds
- sansSerifFontFamily
- serifFontFamily
- userAgent
- zoomTextOnly
Description
Control the behaviour of a WebView.
Settings can be applied to a WebView to control text charset,
color, font sizes, printing mode, script support, loading of images and various
other things on a WebView. After creation, a Settings object
contains default settings.
c code
// Disable JavaScript WebKitSettings *settings = webkit_web_view_group_get_settings (my_view_group); webkit_settings_set_enable_javascript (settings, FALSE);
Synopsis
- 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
- settingsGetAllFeatures :: (HasCallStack, MonadIO m) => m FeatureList
- 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
- settingsGetDevelopmentFeatures :: (HasCallStack, MonadIO m) => m FeatureList
- settingsGetDisableWebSecurity :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetDrawCompositingIndicators :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnableAccelerated2dCanvas :: (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
- settingsGetEnableFrameFlattening :: (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
- settingsGetEnableJava :: (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
- settingsGetEnablePlugins :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetEnablePrivateBrowsing :: (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
- settingsGetEnableXssAuditor :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
- settingsGetExperimentalFeatures :: (HasCallStack, MonadIO m) => m FeatureList
- settingsGetFantasyFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Text
- settingsGetFeatureEnabled :: (HasCallStack, MonadIO m, IsSettings a) => a -> Feature -> m Bool
- 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 ()
- settingsSetEnableAccelerated2dCanvas :: (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 ()
- settingsSetEnableFrameFlattening :: (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 ()
- settingsSetEnableJava :: (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 ()
- settingsSetEnablePlugins :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetEnablePrivateBrowsing :: (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 ()
- settingsSetEnableXssAuditor :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
- settingsSetFantasyFontFamily :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m ()
- settingsSetFeatureEnabled :: (HasCallStack, MonadIO m, IsSettings a) => a -> Feature -> Bool -> 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 ()
- constructSettingsEnableAccelerated2dCanvas :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableAccelerated2dCanvas :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableAccelerated2dCanvas :: (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 ()
- constructSettingsEnableFrameFlattening :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableFrameFlattening :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableFrameFlattening :: (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 ()
- constructSettingsEnableJava :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableJava :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableJava :: (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 ()
- constructSettingsEnablePlugins :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnablePlugins :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnablePlugins :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsEnablePrivateBrowsing :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnablePrivateBrowsing :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnablePrivateBrowsing :: (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 ()
- constructSettingsEnableXssAuditor :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsEnableXssAuditor :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsEnableXssAuditor :: (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.WebKit2.Objects.Settings | |
| ManagedPtrNewtype Settings Source # | |
Defined in GI.WebKit2.Objects.Settings Methods toManagedPtr :: Settings -> ManagedPtr Settings | |
| TypedObject Settings Source # | |
Defined in GI.WebKit2.Objects.Settings | |
| HasParentTypes Settings Source # | |
Defined in GI.WebKit2.Objects.Settings | |
| IsGValue (Maybe Settings) Source # | Convert |
Defined in GI.WebKit2.Objects.Settings Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Settings -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Settings) | |
| type ParentTypes Settings Source # | |
Defined in GI.WebKit2.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.WebKit2.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, getEnableAccelerated2dCanvas, getEnableBackForwardNavigationGestures, getEnableCaretBrowsing, getEnableDeveloperExtras, getEnableDnsPrefetching, getEnableEncryptedMedia, getEnableFrameFlattening, getEnableFullscreen, getEnableHtml5Database, getEnableHtml5LocalStorage, getEnableHyperlinkAuditing, getEnableJava, getEnableJavascript, getEnableJavascriptMarkup, getEnableMedia, getEnableMediaCapabilities, getEnableMediaStream, getEnableMediasource, getEnableMockCaptureDevices, getEnableOfflineWebApplicationCache, getEnablePageCache, getEnablePlugins, getEnablePrivateBrowsing, getEnableResizableTextAreas, getEnableSiteSpecificQuirks, getEnableSmoothScrolling, getEnableSpatialNavigation, getEnableTabsToLinks, getEnableWebaudio, getEnableWebgl, getEnableWebrtc, getEnableWriteConsoleMessagesToStdout, getEnableXssAuditor, getFantasyFontFamily, getFeatureEnabled, 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, setEnableAccelerated2dCanvas, setEnableBackForwardNavigationGestures, setEnableCaretBrowsing, setEnableDeveloperExtras, setEnableDnsPrefetching, setEnableEncryptedMedia, setEnableFrameFlattening, setEnableFullscreen, setEnableHtml5Database, setEnableHtml5LocalStorage, setEnableHyperlinkAuditing, setEnableJava, setEnableJavascript, setEnableJavascriptMarkup, setEnableMedia, setEnableMediaCapabilities, setEnableMediaStream, setEnableMediasource, setEnableMockCaptureDevices, setEnableOfflineWebApplicationCache, setEnablePageCache, setEnablePlugins, setEnablePrivateBrowsing, setEnableResizableTextAreas, setEnableSiteSpecificQuirks, setEnableSmoothScrolling, setEnableSpatialNavigation, setEnableTabsToLinks, setEnableWebaudio, setEnableWebgl, setEnableWebrtc, setEnableWriteConsoleMessagesToStdout, setEnableXssAuditor, setFantasyFontFamily, setFeatureEnabled, setHardwareAccelerationPolicy, setJavascriptCanAccessClipboard, setJavascriptCanOpenWindowsAutomatically, setLoadIconsIgnoringImageLoadSetting, setMediaContentTypesRequiringHardwareSupport, setMediaPlaybackAllowsInline, setMediaPlaybackRequiresUserGesture, setMinimumFontSize, setMonospaceFontFamily, setPictographFontFamily, setPrintBackgrounds, setProperty, setSansSerifFontFamily, setSerifFontFamily, setUserAgent, setUserAgentWithApplicationDetails, setZoomTextOnly.
fontSizeToPixels
settingsFontSizeToPixels Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Word32 |
|
| -> m Word32 | Returns: the equivalent font size in pixels. |
Convert points to the equivalent value in pixels.
Convert points to the equivalent value in pixels, based on the current
screen DPI. Applications can use this function to convert font size values
in points to font size values in pixels when setting the font size properties
of Settings.
Since: 2.20
fontSizeToPoints
settingsFontSizeToPoints Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Word32 |
|
| -> 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
getAllFeatures
settingsGetAllFeatures Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m FeatureList | Returns: List of all features. |
Gets the list of all available WebKit features.
Features can be toggled with [methodsettings.set_feature_enabled],
and their current state determined with
[methodsettings.get_feature_enabled].
Note that most applications should use
Settings.get_development_features and
Settings.get_experimental_features instead.
Since: 2.42
getAllowFileAccessFromFileUrls
settingsGetAllowFileAccessFromFileUrls Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:allowFileAccessFromFileUrls property.
Since: 2.10
getAllowModalDialogs
settingsGetAllowModalDialogs Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:allowModalDialogs property.
getAllowTopNavigationToDataUrls
settingsGetAllowTopNavigationToDataUrls Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:allowTopNavigationToDataUrls property.
Since: 2.28
getAllowUniversalAccessFromFileUrls
settingsGetAllowUniversalAccessFromFileUrls Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:allowUniversalAccessFromFileUrls property.
Since: 2.14
getAutoLoadImages
settingsGetAutoLoadImages Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:autoLoadImages property.
getCursiveFontFamily
settingsGetCursiveFontFamily Source #
Arguments
| :: (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 #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Text | Returns: Default charset. |
Gets the Settings:defaultCharset property.
getDefaultFontFamily
settingsGetDefaultFontFamily Source #
Arguments
| :: (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 #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Word32 | Returns: The default font size, in pixels. |
Gets the Settings:defaultFontSize property.
getDefaultMonospaceFontSize
settingsGetDefaultMonospaceFontSize Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Word32 | Returns: Default monospace font size, in pixels. |
Gets the Settings:defaultMonospaceFontSize property.
getDevelopmentFeatures
settingsGetDevelopmentFeatures Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m FeatureList | Returns: List of development features. |
Gets the list of available development WebKit features.
The returned features are a subset of those returned by
Settings.get_all_features, and includes those which
web and WebKit developers might find useful, but in general should
*not* be exposed to end users; see [enumfeatureStatus] for
more details.
Since: 2.42
getDisableWebSecurity
settingsGetDisableWebSecurity Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:disableWebSecurity property.
Since: 2.40
getDrawCompositingIndicators
settingsGetDrawCompositingIndicators Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:drawCompositingIndicators property.
getEnableAccelerated2dCanvas
settingsGetEnableAccelerated2dCanvas Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
getEnableBackForwardNavigationGestures
settingsGetEnableBackForwardNavigationGestures Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableBackForwardNavigationGestures property.
Since: 2.24
getEnableCaretBrowsing
settingsGetEnableCaretBrowsing Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableCaretBrowsing property.
getEnableDeveloperExtras
settingsGetEnableDeveloperExtras Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableDeveloperExtras property.
getEnableDnsPrefetching
settingsGetEnableDnsPrefetching Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableDnsPrefetching property.
getEnableEncryptedMedia
settingsGetEnableEncryptedMedia Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableEncryptedMedia property.
Since: 2.20
getEnableFrameFlattening
settingsGetEnableFrameFlattening Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Deprecated: (Since version 2.38)
Frame flattening is no longer supported. This function returns False.
getEnableFullscreen
settingsGetEnableFullscreen Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableFullscreen property.
getEnableHtml5Database
settingsGetEnableHtml5Database Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableHtml5Database property.
getEnableHtml5LocalStorage
settingsGetEnableHtml5LocalStorage Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableHtml5LocalStorage property.
getEnableHyperlinkAuditing
settingsGetEnableHyperlinkAuditing Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableHyperlinkAuditing property.
getEnableJava
settingsGetEnableJava Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Deprecated: (Since version 2.38.)This function always returns False.
Get the Settings:enableJava property.
getEnableJavascript
settingsGetEnableJavascript Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool |
Get the Settings:enableJavascript property.
getEnableJavascriptMarkup
settingsGetEnableJavascriptMarkup Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableJavascriptMarkup property.
Since: 2.24
getEnableMedia
settingsGetEnableMedia Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableMedia property.
Since: 2.26
getEnableMediaCapabilities
settingsGetEnableMediaCapabilities Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableMediaCapabilities property.
Since: 2.22
getEnableMediaStream
settingsGetEnableMediaStream Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableMediaStream property.
Since: 2.4
getEnableMediasource
settingsGetEnableMediasource Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableMediasource property.
Since: 2.4
getEnableMockCaptureDevices
settingsGetEnableMockCaptureDevices Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableMockCaptureDevices property.
Since: 2.24
getEnableOfflineWebApplicationCache
settingsGetEnableOfflineWebApplicationCache Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Deprecated: (Since version 2.44)
Get the Settings:enableOfflineWebApplicationCache property.
getEnablePageCache
settingsGetEnablePageCache Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool |
Get the Settings:enablePageCache property.
getEnablePlugins
settingsGetEnablePlugins Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool |
Deprecated: (Since version 2.32)
Get the Settings:enablePlugins property.
getEnablePrivateBrowsing
settingsGetEnablePrivateBrowsing Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Deprecated: (Since version 2.16.)Use WebView:isEphemeral or WebContext:is-ephemeral instead.
Get the Settings:enablePrivateBrowsing property.
getEnableResizableTextAreas
settingsGetEnableResizableTextAreas Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableResizableTextAreas property.
getEnableSiteSpecificQuirks
settingsGetEnableSiteSpecificQuirks Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableSiteSpecificQuirks property.
getEnableSmoothScrolling
settingsGetEnableSmoothScrolling Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableSmoothScrolling property.
getEnableSpatialNavigation
settingsGetEnableSpatialNavigation Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableSpatialNavigation property.
Since: 2.2
getEnableTabsToLinks
settingsGetEnableTabsToLinks Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableTabsToLinks property.
getEnableWebaudio
settingsGetEnableWebaudio Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableWebaudio property.
getEnableWebgl
settingsGetEnableWebgl Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableWebgl property.
getEnableWebrtc
settingsGetEnableWebrtc Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the [propertysettings:enable-webrtc] property.
Since: 2.38
getEnableWriteConsoleMessagesToStdout
settingsGetEnableWriteConsoleMessagesToStdout Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:enableWriteConsoleMessagesToStdout property.
Since: 2.2
getEnableXssAuditor
settingsGetEnableXssAuditor Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Deprecated: (Since version 2.38.)This function does nothing.
The XSS auditor has been removed. This function returns False.
getExperimentalFeatures
settingsGetExperimentalFeatures Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m FeatureList | Returns: List of experimental features. |
Gets the list of available experimental WebKit features.
The returned features are a subset of those returned by
Settings.get_all_features, and includes those which
certain applications may want to expose to end users; see
[enumfeatureStatus] for more details.
Since: 2.42
getFantasyFontFamily
settingsGetFantasyFontFamily Source #
Arguments
| :: (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.
getFeatureEnabled
settingsGetFeatureEnabled Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Feature |
|
| -> m Bool | Returns: Whether the feature is enabled. |
Gets whether a feature is enabled.
Since: 2.42
getHardwareAccelerationPolicy
settingsGetHardwareAccelerationPolicy Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m HardwareAccelerationPolicy | Returns: a |
Get the Settings:hardwareAccelerationPolicy property.
Since: 2.16
getJavascriptCanAccessClipboard
settingsGetJavascriptCanAccessClipboard Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:javascriptCanAccessClipboard property.
getJavascriptCanOpenWindowsAutomatically
settingsGetJavascriptCanOpenWindowsAutomatically Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:javascriptCanOpenWindowsAutomatically property.
getLoadIconsIgnoringImageLoadSetting
settingsGetLoadIconsIgnoringImageLoadSetting Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Deprecated: (Since version 2.42)
Setting no longer supported. This function returns False.
getMediaContentTypesRequiringHardwareSupport
settingsGetMediaContentTypesRequiringHardwareSupport Source #
Arguments
| :: (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 #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:mediaPlaybackAllowsInline property.
getMediaPlaybackRequiresUserGesture
settingsGetMediaPlaybackRequiresUserGesture Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:mediaPlaybackRequiresUserGesture property.
getMinimumFontSize
settingsGetMinimumFontSize Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Word32 | Returns: Minimum font size, in pixels. |
Gets the Settings:minimumFontSize property.
getMonospaceFontFamily
settingsGetMonospaceFontFamily Source #
Arguments
| :: (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 #
Arguments
| :: (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 #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:printBackgrounds property.
getSansSerifFontFamily
settingsGetSansSerifFontFamily Source #
Arguments
| :: (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 #
Arguments
| :: (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
Arguments
| :: (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 #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> m Bool | Returns: |
Get the Settings:zoomTextOnly property.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m Settings | Returns: a new |
setAllowFileAccessFromFileUrls
settingsSetAllowFileAccessFromFileUrls Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:allowFileAccessFromFileUrls property.
Since: 2.10
setAllowModalDialogs
settingsSetAllowModalDialogs Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:allowModalDialogs property.
setAllowTopNavigationToDataUrls
settingsSetAllowTopNavigationToDataUrls Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:allowTopNavigationToDataUrls property.
Since: 2.28
setAllowUniversalAccessFromFileUrls
settingsSetAllowUniversalAccessFromFileUrls Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:allowUniversalAccessFromFileUrls property.
Since: 2.14
setAutoLoadImages
settingsSetAutoLoadImages Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:autoLoadImages property.
setCursiveFontFamily
settingsSetCursiveFontFamily Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Text |
|
| -> m () |
Set the Settings:cursiveFontFamily property.
setDefaultCharset
settingsSetDefaultCharset Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Text |
|
| -> m () |
Set the Settings:defaultCharset property.
setDefaultFontFamily
settingsSetDefaultFontFamily Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Text |
|
| -> m () |
Set the Settings:defaultFontFamily property.
setDefaultFontSize
settingsSetDefaultFontSize Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Word32 |
|
| -> m () |
Set the Settings:defaultFontSize property.
setDefaultMonospaceFontSize
settingsSetDefaultMonospaceFontSize Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Word32 |
|
| -> m () |
Set the Settings:defaultMonospaceFontSize property.
setDisableWebSecurity
settingsSetDisableWebSecurity Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:disableWebSecurity property.
Since: 2.40
setDrawCompositingIndicators
settingsSetDrawCompositingIndicators Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:drawCompositingIndicators property.
setEnableAccelerated2dCanvas
settingsSetEnableAccelerated2dCanvas Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
setEnableBackForwardNavigationGestures
settingsSetEnableBackForwardNavigationGestures Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableBackForwardNavigationGestures property.
Since: 2.24
setEnableCaretBrowsing
settingsSetEnableCaretBrowsing Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableCaretBrowsing property.
setEnableDeveloperExtras
settingsSetEnableDeveloperExtras Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableDeveloperExtras property.
setEnableDnsPrefetching
settingsSetEnableDnsPrefetching Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableDnsPrefetching property.
setEnableEncryptedMedia
settingsSetEnableEncryptedMedia Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableEncryptedMedia property.
Since: 2.20
setEnableFrameFlattening
settingsSetEnableFrameFlattening Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Deprecated: (Since version 2.38)
Frame flattening is no longer supported. This function does nothing.
setEnableFullscreen
settingsSetEnableFullscreen Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableFullscreen property.
setEnableHtml5Database
settingsSetEnableHtml5Database Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableHtml5Database property.
setEnableHtml5LocalStorage
settingsSetEnableHtml5LocalStorage Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableHtml5LocalStorage property.
setEnableHyperlinkAuditing
settingsSetEnableHyperlinkAuditing Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableHyperlinkAuditing property.
setEnableJava
settingsSetEnableJava Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Deprecated: (Since version 2.38.)This function does nothing.
Set the Settings:enableJava property.
Deprecated function that does nothing.
setEnableJavascript
settingsSetEnableJavascript Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableJavascript property.
setEnableJavascriptMarkup
settingsSetEnableJavascriptMarkup Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableJavascriptMarkup property.
Since: 2.24
setEnableMedia
settingsSetEnableMedia Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableMedia property.
Since: 2.26
setEnableMediaCapabilities
settingsSetEnableMediaCapabilities Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableMediaCapabilities property.
Since: 2.22
setEnableMediaStream
settingsSetEnableMediaStream Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableMediaStream property.
Since: 2.4
setEnableMediasource
settingsSetEnableMediasource Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableMediasource property.
Since: 2.4
setEnableMockCaptureDevices
settingsSetEnableMockCaptureDevices Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableMockCaptureDevices property.
Since: 2.4
setEnableOfflineWebApplicationCache
settingsSetEnableOfflineWebApplicationCache Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Deprecated: (Since version 2.44)
Setting no longer supported. This function does nothing.
setEnablePageCache
settingsSetEnablePageCache Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enablePageCache property.
setEnablePlugins
settingsSetEnablePlugins Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Deprecated: (Since version 2.32)
Set the Settings:enablePlugins property.
setEnablePrivateBrowsing
settingsSetEnablePrivateBrowsing Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Deprecated: (Since version 2.16.)Use WebView:isEphemeral or WebContext:is-ephemeral instead.
Set the Settings:enablePrivateBrowsing property.
setEnableResizableTextAreas
settingsSetEnableResizableTextAreas Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableResizableTextAreas property.
setEnableSiteSpecificQuirks
settingsSetEnableSiteSpecificQuirks Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableSiteSpecificQuirks property.
setEnableSmoothScrolling
settingsSetEnableSmoothScrolling Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableSmoothScrolling property.
setEnableSpatialNavigation
settingsSetEnableSpatialNavigation Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableSpatialNavigation property.
Since: 2.2
setEnableTabsToLinks
settingsSetEnableTabsToLinks Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableTabsToLinks property.
setEnableWebaudio
settingsSetEnableWebaudio Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableWebaudio property.
setEnableWebgl
settingsSetEnableWebgl Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableWebgl property.
setEnableWebrtc
settingsSetEnableWebrtc Source #
Arguments
| :: (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 #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:enableWriteConsoleMessagesToStdout property.
Since: 2.2
setEnableXssAuditor
settingsSetEnableXssAuditor Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Deprecated: (Since version 2.38.)This function does nothing.
The XSS auditor has been removed. This function does nothing.
setFantasyFontFamily
settingsSetFantasyFontFamily Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Text |
|
| -> m () |
Set the Settings:fantasyFontFamily property.
setFeatureEnabled
settingsSetFeatureEnabled Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Feature |
|
| -> Bool |
|
| -> m () |
Enables or disables a feature.
The current status of the feature can be determined with
settingsGetFeatureEnabled. To reset a feature to its
initial status, pass the value returned by
featureGetDefaultValue as the enabled parameter.
Since: 2.42
setHardwareAccelerationPolicy
settingsSetHardwareAccelerationPolicy Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> HardwareAccelerationPolicy |
|
| -> m () |
Set the Settings:hardwareAccelerationPolicy property.
Since: 2.16
setJavascriptCanAccessClipboard
settingsSetJavascriptCanAccessClipboard Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:javascriptCanAccessClipboard property.
setJavascriptCanOpenWindowsAutomatically
settingsSetJavascriptCanOpenWindowsAutomatically Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:javascriptCanOpenWindowsAutomatically property.
setLoadIconsIgnoringImageLoadSetting
settingsSetLoadIconsIgnoringImageLoadSetting Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Deprecated: (Since version 2.42)
Setting no longer supported. This function does nothing.
setMediaContentTypesRequiringHardwareSupport
settingsSetMediaContentTypesRequiringHardwareSupport Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Maybe Text |
|
| -> m () |
Set the Settings:mediaContentTypesRequiringHardwareSupport property.
Since: 2.30
setMediaPlaybackAllowsInline
settingsSetMediaPlaybackAllowsInline Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:mediaPlaybackAllowsInline property.
setMediaPlaybackRequiresUserGesture
settingsSetMediaPlaybackRequiresUserGesture Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:mediaPlaybackRequiresUserGesture property.
setMinimumFontSize
settingsSetMinimumFontSize Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Word32 |
|
| -> m () |
Set the Settings:minimumFontSize property.
setMonospaceFontFamily
settingsSetMonospaceFontFamily Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Text |
|
| -> m () |
Set the Settings:monospaceFontFamily property.
setPictographFontFamily
settingsSetPictographFontFamily Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Text |
|
| -> m () |
Set the Settings:pictographFontFamily property.
setPrintBackgrounds
settingsSetPrintBackgrounds Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Set the Settings:printBackgrounds property.
setSansSerifFontFamily
settingsSetSansSerifFontFamily Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Text |
|
| -> m () |
Set the Settings:sansSerifFontFamily property.
setSerifFontFamily
settingsSetSerifFontFamily Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Text |
|
| -> m () |
Set the Settings:serifFontFamily property.
setUserAgent
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Maybe Text |
|
| -> m () |
Set the Settings:userAgent property.
setUserAgentWithApplicationDetails
settingsSetUserAgentWithApplicationDetails Source #
Arguments
| :: (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 #
Arguments
| :: (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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #drawCompositingIndicators:=value ]
enableAccelerated2dCanvas
Enable or disable accelerated 2D canvas. Accelerated 2D canvas is only available if WebKit was compiled with a version of Cairo including the unstable CairoGL API. When accelerated 2D canvas is enabled, WebKit may render some 2D canvas content using hardware accelerated drawing operations.
Since: 2.2
constructSettingsEnableAccelerated2dCanvas :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “enable-accelerated-2d-canvas” property. This is rarely needed directly, but it is used by new.
getSettingsEnableAccelerated2dCanvas :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “enable-accelerated-2d-canvas” property.
When overloading is enabled, this is equivalent to
get settings #enableAccelerated2dCanvas
setSettingsEnableAccelerated2dCanvas :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “enable-accelerated-2d-canvas” property.
When overloading is enabled, this is equivalent to
setsettings [ #enableAccelerated2dCanvas:=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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #enableEncryptedMedia:=value ]
enableFrameFlattening
Frame flattening is no longer supported. This property does nothing.
constructSettingsEnableFrameFlattening :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “enable-frame-flattening” property. This is rarely needed directly, but it is used by new.
getSettingsEnableFrameFlattening :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “enable-frame-flattening” property.
When overloading is enabled, this is equivalent to
get settings #enableFrameFlattening
setSettingsEnableFrameFlattening :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “enable-frame-flattening” property.
When overloading is enabled, this is equivalent to
setsettings [ #enableFrameFlattening:=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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #enableHyperlinkAuditing:=value ]
enableJava
Determines whether or not Java is enabled on the page.
constructSettingsEnableJava :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “enable-java” property. This is rarely needed directly, but it is used by new.
getSettingsEnableJava :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “enable-java” property.
When overloading is enabled, this is equivalent to
get settings #enableJava
setSettingsEnableJava :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “enable-java” property.
When overloading is enabled, this is equivalent to
setsettings [ #enableJava:=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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #enableMockCaptureDevices:=value ]
enableOfflineWebApplicationCache
Unsupported setting. This property does nothing.
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
setsettings [ #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
setsettings [ #enablePageCache:=value ]
enablePlugins
Determines whether or not plugins on the page are enabled.
constructSettingsEnablePlugins :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “enable-plugins” property. This is rarely needed directly, but it is used by new.
getSettingsEnablePlugins :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “enable-plugins” property.
When overloading is enabled, this is equivalent to
get settings #enablePlugins
setSettingsEnablePlugins :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “enable-plugins” property.
When overloading is enabled, this is equivalent to
setsettings [ #enablePlugins:=value ]
enablePrivateBrowsing
Determines whether or not private browsing is enabled. Private browsing will disable history, cache and form auto-fill for any pages visited.
constructSettingsEnablePrivateBrowsing :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “enable-private-browsing” property. This is rarely needed directly, but it is used by new.
getSettingsEnablePrivateBrowsing :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “enable-private-browsing” property.
When overloading is enabled, this is equivalent to
get settings #enablePrivateBrowsing
setSettingsEnablePrivateBrowsing :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “enable-private-browsing” property.
When overloading is enabled, this is equivalent to
setsettings [ #enablePrivateBrowsing:=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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #enableWriteConsoleMessagesToStdout:=value ]
enableXssAuditor
Whether to enable the XSS auditor. This feature filters some kinds of reflective XSS attacks on vulnerable web sites.
constructSettingsEnableXssAuditor :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “enable-xss-auditor” property. This is rarely needed directly, but it is used by new.
getSettingsEnableXssAuditor :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “enable-xss-auditor” property.
When overloading is enabled, this is equivalent to
get settings #enableXssAuditor
setSettingsEnableXssAuditor :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “enable-xss-auditor” property.
When overloading is enabled, this is equivalent to
setsettings [ #enableXssAuditor:=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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #javascriptCanOpenWindowsAutomatically:=value ]
loadIconsIgnoringImageLoadSetting
Unsupported setting. This property does nothing.
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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #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
setsettings [ #zoomTextOnly:=value ]