gi-webkit2-4.0.29: WebKit2 bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.WebKit2.Enums

Description

 
Synopsis

Enumerations

AuthenticationScheme

data AuthenticationScheme Source #

Enum values representing the authentication scheme.

Since: 2.2

Constructors

AuthenticationSchemeDefault

The default authentication scheme of WebKit.

AuthenticationSchemeHttpBasic

Basic authentication scheme as defined in RFC 2617.

AuthenticationSchemeHttpDigest

Digest authentication scheme as defined in RFC 2617.

AuthenticationSchemeHtmlForm

HTML Form authentication.

AuthenticationSchemeNtlm

NTLM Microsoft proprietary authentication scheme.

AuthenticationSchemeNegotiate

Negotiate (or SPNEGO) authentication scheme as defined in RFC 4559.

AuthenticationSchemeClientCertificateRequested

Client Certificate Authentication (see RFC 2246).

AuthenticationSchemeServerTrustEvaluationRequested

Server Trust Authentication.

AuthenticationSchemeClientCertificatePinRequested

Client certificate PIN required for use. Since: 2.34

AuthenticationSchemeUnknown

Authentication scheme unknown.

AnotherAuthenticationScheme Int

Catch-all for unknown values

Instances

Instances details
Enum AuthenticationScheme Source # 
Instance details

Defined in GI.WebKit2.Enums

Show AuthenticationScheme Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq AuthenticationScheme Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord AuthenticationScheme Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum AuthenticationScheme Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject AuthenticationScheme Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes AuthenticationScheme Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes AuthenticationScheme Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes AuthenticationScheme = '[] :: [Type]

AutomationBrowsingContextPresentation

data AutomationBrowsingContextPresentation Source #

Enum values used for determining the automation browsing context presentation.

Since: 2.28

Instances

Instances details
Enum AutomationBrowsingContextPresentation Source # 
Instance details

Defined in GI.WebKit2.Enums

Show AutomationBrowsingContextPresentation Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq AutomationBrowsingContextPresentation Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord AutomationBrowsingContextPresentation Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum AutomationBrowsingContextPresentation Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject AutomationBrowsingContextPresentation Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes AutomationBrowsingContextPresentation Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes AutomationBrowsingContextPresentation Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes AutomationBrowsingContextPresentation = '[] :: [Type]

AutoplayPolicy

data AutoplayPolicy Source #

Enum values used to specify autoplay policies.

Since: 2.30

Constructors

AutoplayPolicyAllow

Do not restrict autoplay.

AutoplayPolicyAllowWithoutSound

Allow videos to autoplay if they have no audio track, or if their audio track is muted.

AutoplayPolicyDeny

Never allow autoplay.

AnotherAutoplayPolicy Int

Catch-all for unknown values

Instances

Instances details
Enum AutoplayPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Show AutoplayPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq AutoplayPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord AutoplayPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum AutoplayPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject AutoplayPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes AutoplayPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes AutoplayPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes AutoplayPolicy = '[] :: [Type]

CacheModel

data CacheModel Source #

Enum values used for determining the WebContext cache model.

Constructors

CacheModelDocumentViewer

Disable the cache completely, which substantially reduces memory usage. Useful for applications that only access a single local file, with no navigation to other pages. No remote resources will be cached.

CacheModelWebBrowser

Improve document load speed substantially by caching a very large number of resources and previously viewed content.

CacheModelDocumentBrowser

A cache model optimized for viewing a series of local files -- for example, a documentation viewer or a website designer. WebKit will cache a moderate number of resources.

AnotherCacheModel Int

Catch-all for unknown values

Instances

Instances details
Enum CacheModel Source # 
Instance details

Defined in GI.WebKit2.Enums

Show CacheModel Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq CacheModel Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord CacheModel Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum CacheModel Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject CacheModel Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes CacheModel Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes CacheModel Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes CacheModel = '[] :: [Type]

ContextMenuAction

data ContextMenuAction Source #

Enum values used to denote the stock actions for ContextMenuItems

Constructors

ContextMenuActionNoAction

No action, used by separator menu items.

ContextMenuActionOpenLink

Open current link.

ContextMenuActionOpenLinkInNewWindow

Open current link in a new window.

ContextMenuActionDownloadLinkToDisk

Download link destination.

ContextMenuActionCopyLinkToClipboard

Copy link location to the clipboard.

ContextMenuActionOpenImageInNewWindow

Open current image in a new window.

ContextMenuActionDownloadImageToDisk

Download current image.

ContextMenuActionCopyImageToClipboard

Copy current image to the clipboard.

ContextMenuActionCopyImageUrlToClipboard

Copy current image location to the clipboard.

ContextMenuActionOpenFrameInNewWindow

Open current frame in a new window.

ContextMenuActionGoBack

Load the previous history item.

ContextMenuActionGoForward

Load the next history item.

ContextMenuActionStop

Stop any ongoing loading operation.

ContextMenuActionReload

Reload the contents of current view.

ContextMenuActionCopy

Copy current selection the clipboard.

ContextMenuActionCut

Cut current selection to the clipboard.

ContextMenuActionPaste

Paste clipboard contents.

ContextMenuActionDelete

Delete current selection.

ContextMenuActionSelectAll

Select all text.

ContextMenuActionInputMethods

Input methods menu.

ContextMenuActionUnicode

Unicode menu.

ContextMenuActionSpellingGuess

A proposed replacement for a misspelled word.

ContextMenuActionNoGuessesFound

An indicator that spellchecking found no proposed replacements.

ContextMenuActionIgnoreSpelling

Causes the spellchecker to ignore the word for this session.

ContextMenuActionLearnSpelling

Causes the spellchecker to add the word to the dictionary.

ContextMenuActionIgnoreGrammar

Ignore grammar.

ContextMenuActionFontMenu

Font options menu.

ContextMenuActionBold

Bold.

ContextMenuActionItalic

Italic.

ContextMenuActionUnderline

Underline.

ContextMenuActionOutline

Outline.

ContextMenuActionInspectElement

Open current element in the inspector.

ContextMenuActionOpenVideoInNewWindow

Open current video element in a new window.

ContextMenuActionOpenAudioInNewWindow

Open current audio element in a new window.

ContextMenuActionCopyVideoLinkToClipboard

Copy video link location in to the clipboard.

ContextMenuActionCopyAudioLinkToClipboard

Copy audio link location in to the clipboard.

ContextMenuActionToggleMediaControls

Enable or disable media controls.

ContextMenuActionToggleMediaLoop

Enable or disable media loop.

ContextMenuActionEnterVideoFullscreen

Show current video element in fullscreen mode.

ContextMenuActionMediaPlay

Play current media element.

ContextMenuActionMediaPause

Pause current media element.

ContextMenuActionMediaMute

Mute current media element.

ContextMenuActionDownloadVideoToDisk

Download video to disk. Since 2.2

ContextMenuActionDownloadAudioToDisk

Download audio to disk. Since 2.2

ContextMenuActionInsertEmoji

Insert an emoji. Since 2.26

ContextMenuActionPasteAsPlainText

Paste clipboard contents as plain text. Since 2.30

ContextMenuActionCustom

Custom action defined by applications.

AnotherContextMenuAction Int

Catch-all for unknown values

Instances

Instances details
Enum ContextMenuAction Source # 
Instance details

Defined in GI.WebKit2.Enums

Show ContextMenuAction Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq ContextMenuAction Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord ContextMenuAction Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum ContextMenuAction Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject ContextMenuAction Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes ContextMenuAction Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes ContextMenuAction Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes ContextMenuAction = '[] :: [Type]

CookieAcceptPolicy

data CookieAcceptPolicy Source #

Enum values used to denote the cookie acceptance policies.

Constructors

CookieAcceptPolicyAlways

Accept all cookies unconditionally.

CookieAcceptPolicyNever

Reject all cookies unconditionally.

CookieAcceptPolicyNoThirdParty

Accept only cookies set by the main document loaded.

AnotherCookieAcceptPolicy Int

Catch-all for unknown values

Instances

Instances details
Enum CookieAcceptPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Show CookieAcceptPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq CookieAcceptPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord CookieAcceptPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum CookieAcceptPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject CookieAcceptPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes CookieAcceptPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes CookieAcceptPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes CookieAcceptPolicy = '[] :: [Type]

CookiePersistentStorage

data CookiePersistentStorage Source #

Enum values used to denote the cookie persistent storage types.

Constructors

CookiePersistentStorageText

Cookies are stored in a text file in the Mozilla "cookies.txt" format.

CookiePersistentStorageSqlite

Cookies are stored in a SQLite file in the current Mozilla format.

AnotherCookiePersistentStorage Int

Catch-all for unknown values

Instances

Instances details
Enum CookiePersistentStorage Source # 
Instance details

Defined in GI.WebKit2.Enums

Show CookiePersistentStorage Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq CookiePersistentStorage Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord CookiePersistentStorage Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum CookiePersistentStorage Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject CookiePersistentStorage Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes CookiePersistentStorage Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes CookiePersistentStorage Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes CookiePersistentStorage = '[] :: [Type]

CredentialPersistence

data CredentialPersistence Source #

Enum values representing the duration for which a credential persists.

Since: 2.2

Constructors

CredentialPersistenceNone

Credential does not persist

CredentialPersistenceForSession

Credential persists for session only

CredentialPersistencePermanent

Credential persists permanently

AnotherCredentialPersistence Int

Catch-all for unknown values

Instances

Instances details
Enum CredentialPersistence Source # 
Instance details

Defined in GI.WebKit2.Enums

Show CredentialPersistence Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq CredentialPersistence Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord CredentialPersistence Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum CredentialPersistence Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject CredentialPersistence Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes CredentialPersistence Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes CredentialPersistence Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes CredentialPersistence = '[] :: [Type]

DownloadError

data DownloadError Source #

Enum values used to denote the various download errors.

Constructors

DownloadErrorNetwork

Download failure due to network error

DownloadErrorCancelledByUser

Download was cancelled by user

DownloadErrorDestination

Download failure due to destination error

AnotherDownloadError Int

Catch-all for unknown values

Instances

Instances details
Enum DownloadError Source # 
Instance details

Defined in GI.WebKit2.Enums

Show DownloadError Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq DownloadError Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord DownloadError Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum DownloadError Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject DownloadError Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

GErrorClass DownloadError Source # 
Instance details

Defined in GI.WebKit2.Enums

HasParentTypes DownloadError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes DownloadError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes DownloadError = '[] :: [Type]

catchDownloadError :: IO a -> (DownloadError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type DownloadError. This is a specialized version of catchGErrorJustDomain.

handleDownloadError :: (DownloadError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type DownloadError. This is a specialized version of handleGErrorJustDomain.

FaviconDatabaseError

data FaviconDatabaseError Source #

Enum values used to denote the various errors related to the FaviconDatabase.

Constructors

FaviconDatabaseErrorNotInitialized

The FaviconDatabase has not been initialized yet

FaviconDatabaseErrorFaviconNotFound

There is not an icon available for the requested URL

FaviconDatabaseErrorFaviconUnknown

There might be an icon for the requested URL, but its data is unknown at the moment

AnotherFaviconDatabaseError Int

Catch-all for unknown values

Instances

Instances details
Enum FaviconDatabaseError Source # 
Instance details

Defined in GI.WebKit2.Enums

Show FaviconDatabaseError Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq FaviconDatabaseError Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord FaviconDatabaseError Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum FaviconDatabaseError Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject FaviconDatabaseError Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

GErrorClass FaviconDatabaseError Source # 
Instance details

Defined in GI.WebKit2.Enums

HasParentTypes FaviconDatabaseError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes FaviconDatabaseError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes FaviconDatabaseError = '[] :: [Type]

catchFaviconDatabaseError :: IO a -> (FaviconDatabaseError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type FaviconDatabaseError. This is a specialized version of catchGErrorJustDomain.

handleFaviconDatabaseError :: (FaviconDatabaseError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type FaviconDatabaseError. This is a specialized version of handleGErrorJustDomain.

HardwareAccelerationPolicy

data HardwareAccelerationPolicy Source #

Enum values used for determining the hardware acceleration policy.

Since: 2.16

Constructors

HardwareAccelerationPolicyOnDemand

Hardware acceleration is enabled/disabled as request by web contents.

HardwareAccelerationPolicyAlways

Hardware acceleration is always enabled, even for websites not requesting it.

HardwareAccelerationPolicyNever

Hardware acceleration is always disabled, even for websites requesting it.

AnotherHardwareAccelerationPolicy Int

Catch-all for unknown values

Instances

Instances details
Enum HardwareAccelerationPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Show HardwareAccelerationPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq HardwareAccelerationPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord HardwareAccelerationPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum HardwareAccelerationPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject HardwareAccelerationPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes HardwareAccelerationPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes HardwareAccelerationPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes HardwareAccelerationPolicy = '[] :: [Type]

InputPurpose

data InputPurpose Source #

Enum values used to describe the primary purpose of the active editable element.

Since: 2.28

Constructors

InputPurposeFreeForm

Editable element expects any characters

InputPurposeDigits

Editable element expects digits

InputPurposeNumber

Editable element expects a number

InputPurposePhone

Editable element expects a telephone

InputPurposeUrl

Editable element expects a URL

InputPurposeEmail

Editable element expects an email

InputPurposePassword

Editable element expects a password

AnotherInputPurpose Int

Catch-all for unknown values

Instances

Instances details
Enum InputPurpose Source # 
Instance details

Defined in GI.WebKit2.Enums

Show InputPurpose Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq InputPurpose Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord InputPurpose Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum InputPurpose Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject InputPurpose Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes InputPurpose Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes InputPurpose Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes InputPurpose = '[] :: [Type]

InsecureContentEvent

data InsecureContentEvent Source #

Enum values used to denote the different events which can trigger the detection of insecure content.

Constructors

InsecureContentEventRun

Insecure content has been detected by trying to execute any kind of logic (e.g. a script) from an untrusted source.

InsecureContentEventDisplayed

Insecure content has been detected by trying to display any kind of resource (e.g. an image) from an untrusted source.

AnotherInsecureContentEvent Int

Catch-all for unknown values

Instances

Instances details
Enum InsecureContentEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

Show InsecureContentEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq InsecureContentEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord InsecureContentEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum InsecureContentEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject InsecureContentEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes InsecureContentEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes InsecureContentEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes InsecureContentEvent = '[] :: [Type]

JavascriptError

data JavascriptError Source #

Enum values used to denote errors happening when executing JavaScript

Constructors

JavascriptErrorFailed

An exception was raised in JavaScript execution

AnotherJavascriptError Int

Catch-all for unknown values

Instances

Instances details
Enum JavascriptError Source # 
Instance details

Defined in GI.WebKit2.Enums

Show JavascriptError Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq JavascriptError Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord JavascriptError Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum JavascriptError Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject JavascriptError Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

GErrorClass JavascriptError Source # 
Instance details

Defined in GI.WebKit2.Enums

HasParentTypes JavascriptError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes JavascriptError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes JavascriptError = '[] :: [Type]

catchJavascriptError :: IO a -> (JavascriptError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type JavascriptError. This is a specialized version of catchGErrorJustDomain.

handleJavascriptError :: (JavascriptError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type JavascriptError. This is a specialized version of handleGErrorJustDomain.

LoadEvent

data LoadEvent Source #

Enum values used to denote the different events that happen during a WebView load operation.

Constructors

LoadEventStarted

A new load request has been made. No data has been received yet, empty structures have been allocated to perform the load; the load may still fail due to transport issues such as not being able to resolve a name, or connect to a port.

LoadEventRedirected

A provisional data source received a server redirect.

LoadEventCommitted

The content started arriving for a page load. The necessary transport requirements are established, and the load is being performed.

LoadEventFinished

Load completed. All resources are done loading or there was an error during the load operation.

AnotherLoadEvent Int

Catch-all for unknown values

Instances

Instances details
Enum LoadEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

Show LoadEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq LoadEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord LoadEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum LoadEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject LoadEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes LoadEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes LoadEvent Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes LoadEvent = '[] :: [Type]

MediaCaptureState

data MediaCaptureState Source #

Enum values used to specify the capture state of a media device.

Since: 2.34

Constructors

MediaCaptureStateNone

Media capture is disabled.

MediaCaptureStateActive

Media capture is active.

MediaCaptureStateMuted

Media capture is muted.

AnotherMediaCaptureState Int

Catch-all for unknown values

Instances

Instances details
Enum MediaCaptureState Source # 
Instance details

Defined in GI.WebKit2.Enums

Show MediaCaptureState Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq MediaCaptureState Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord MediaCaptureState Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum MediaCaptureState Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject MediaCaptureState Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes MediaCaptureState Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes MediaCaptureState Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes MediaCaptureState = '[] :: [Type]

NavigationType

data NavigationType Source #

Enum values used to denote the various navigation types.

Constructors

NavigationTypeLinkClicked

The navigation was triggered by clicking a link.

NavigationTypeFormSubmitted

The navigation was triggered by submitting a form.

NavigationTypeBackForward

The navigation was triggered by navigating forward or backward.

NavigationTypeReload

The navigation was triggered by reloading.

NavigationTypeFormResubmitted

The navigation was triggered by resubmitting a form.

NavigationTypeOther

The navigation was triggered by some other action.

AnotherNavigationType Int

Catch-all for unknown values

Instances

Instances details
Enum NavigationType Source # 
Instance details

Defined in GI.WebKit2.Enums

Show NavigationType Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq NavigationType Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord NavigationType Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum NavigationType Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject NavigationType Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes NavigationType Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes NavigationType Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes NavigationType = '[] :: [Type]

NetworkError

data NetworkError Source #

Enum values used to denote the various network errors.

Constructors

NetworkErrorFailed

Generic load failure

NetworkErrorTransport

Load failure due to transport error

NetworkErrorUnknownProtocol

Load failure due to unknown protocol

NetworkErrorCancelled

Load failure due to cancellation

NetworkErrorFileDoesNotExist

Load failure due to missing file

AnotherNetworkError Int

Catch-all for unknown values

Instances

Instances details
Enum NetworkError Source # 
Instance details

Defined in GI.WebKit2.Enums

Show NetworkError Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq NetworkError Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord NetworkError Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum NetworkError Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject NetworkError Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

GErrorClass NetworkError Source # 
Instance details

Defined in GI.WebKit2.Enums

HasParentTypes NetworkError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes NetworkError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes NetworkError = '[] :: [Type]

catchNetworkError :: IO a -> (NetworkError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type NetworkError. This is a specialized version of catchGErrorJustDomain.

handleNetworkError :: (NetworkError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type NetworkError. This is a specialized version of handleGErrorJustDomain.

NetworkProxyMode

data NetworkProxyMode Source #

Enum values used to set the network proxy mode.

Since: 2.16

Constructors

NetworkProxyModeDefault

Use the default proxy of the system.

NetworkProxyModeNoProxy

Do not use any proxy.

NetworkProxyModeCustom

Use custom proxy settings.

AnotherNetworkProxyMode Int

Catch-all for unknown values

Instances

Instances details
Enum NetworkProxyMode Source # 
Instance details

Defined in GI.WebKit2.Enums

Show NetworkProxyMode Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq NetworkProxyMode Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord NetworkProxyMode Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum NetworkProxyMode Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject NetworkProxyMode Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes NetworkProxyMode Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes NetworkProxyMode Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes NetworkProxyMode = '[] :: [Type]

PluginError

data PluginError Source #

Enum values used to denote the various plugin and multimedia errors.

Constructors

PluginErrorFailed

Generic plugin load failure. Deprecated 2.32

PluginErrorCannotFindPlugin

Load failure due to missing plugin. Deprecated 2.32

PluginErrorCannotLoadPlugin

Load failure due to inability to load plugin. Deprecated 2.32

PluginErrorJavaUnavailable

Load failure due to missing Java support that is required to load plugin. Deprecated 2.32

PluginErrorConnectionCancelled

Load failure due to connection cancellation. Deprecated 2.32

PluginErrorWillHandleLoad

Preliminary load failure for media content types. A new load will be started to perform the media load.

AnotherPluginError Int

Catch-all for unknown values

Instances

Instances details
Enum PluginError Source # 
Instance details

Defined in GI.WebKit2.Enums

Show PluginError Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq PluginError Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord PluginError Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum PluginError Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject PluginError Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

GErrorClass PluginError Source # 
Instance details

Defined in GI.WebKit2.Enums

HasParentTypes PluginError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes PluginError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes PluginError = '[] :: [Type]

catchPluginError :: IO a -> (PluginError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type PluginError. This is a specialized version of catchGErrorJustDomain.

handlePluginError :: (PluginError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type PluginError. This is a specialized version of handleGErrorJustDomain.

PolicyDecisionType

data PolicyDecisionType Source #

Enum values used for determining the type of a policy decision during WebView::decidePolicy.

Constructors

PolicyDecisionTypeNavigationAction

This type of policy decision is requested when WebKit is about to navigate to a new page in either the main frame or a subframe. Acceptable policy decisions are either policyDecisionUse or policyDecisionIgnore. This type of policy decision is always a NavigationPolicyDecision.

PolicyDecisionTypeNewWindowAction

This type of policy decision is requested when WebKit is about to create a new window. Acceptable policy decisions are either policyDecisionUse or policyDecisionIgnore. This type of policy decision is always a NavigationPolicyDecision. These decisions are useful for implementing special actions for new windows, such as forcing the new window to open in a tab when a keyboard modifier is active or handling a special target attribute on <a> elements.

PolicyDecisionTypeResponse

This type of decision is used when WebKit has received a response for a network resource and is about to start the load. Note that these resources include all subresources of a page such as images and stylesheets as well as main documents. Appropriate policy responses to this decision are policyDecisionUse, policyDecisionIgnore, or policyDecisionDownload. This type of policy decision is always a ResponsePolicyDecision. This decision is useful for forcing some types of resources to be downloaded rather than rendered in the WebView or to block the transfer of resources entirely.

AnotherPolicyDecisionType Int

Catch-all for unknown values

Instances

Instances details
Enum PolicyDecisionType Source # 
Instance details

Defined in GI.WebKit2.Enums

Show PolicyDecisionType Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq PolicyDecisionType Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord PolicyDecisionType Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum PolicyDecisionType Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject PolicyDecisionType Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes PolicyDecisionType Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes PolicyDecisionType Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes PolicyDecisionType = '[] :: [Type]

PolicyError

data PolicyError Source #

Enum values used to denote the various policy errors.

Constructors

PolicyErrorFailed

Generic load failure due to policy error

PolicyErrorCannotShowMimeType

Load failure due to unsupported mime type

PolicyErrorCannotShowUri

Load failure due to URI that can not be shown

PolicyErrorFrameLoadInterruptedByPolicyChange

Load failure due to frame load interruption by policy change

PolicyErrorCannotUseRestrictedPort

Load failure due to port restriction

AnotherPolicyError Int

Catch-all for unknown values

Instances

Instances details
Enum PolicyError Source # 
Instance details

Defined in GI.WebKit2.Enums

Show PolicyError Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq PolicyError Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord PolicyError Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum PolicyError Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject PolicyError Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

GErrorClass PolicyError Source # 
Instance details

Defined in GI.WebKit2.Enums

HasParentTypes PolicyError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes PolicyError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes PolicyError = '[] :: [Type]

catchPolicyError :: IO a -> (PolicyError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type PolicyError. This is a specialized version of catchGErrorJustDomain.

handlePolicyError :: (PolicyError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type PolicyError. This is a specialized version of handleGErrorJustDomain.

PrintError

data PrintError Source #

Enum values used to denote the various print errors.

Constructors

PrintErrorGeneral

Unspecified error during a print operation

PrintErrorPrinterNotFound

Selected printer cannot be found

PrintErrorInvalidPageRange

Invalid page range

AnotherPrintError Int

Catch-all for unknown values

Instances

Instances details
Enum PrintError Source # 
Instance details

Defined in GI.WebKit2.Enums

Show PrintError Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq PrintError Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord PrintError Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum PrintError Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject PrintError Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

GErrorClass PrintError Source # 
Instance details

Defined in GI.WebKit2.Enums

HasParentTypes PrintError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes PrintError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes PrintError = '[] :: [Type]

catchPrintError :: IO a -> (PrintError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type PrintError. This is a specialized version of catchGErrorJustDomain.

handlePrintError :: (PrintError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type PrintError. This is a specialized version of handleGErrorJustDomain.

PrintOperationResponse

data PrintOperationResponse Source #

Enum values representing the response of the print dialog shown with printOperationRunDialog.

Constructors

PrintOperationResponsePrint

Print button was clicked in print dialog

PrintOperationResponseCancel

Print dialog was cancelled

AnotherPrintOperationResponse Int

Catch-all for unknown values

Instances

Instances details
Enum PrintOperationResponse Source # 
Instance details

Defined in GI.WebKit2.Enums

Show PrintOperationResponse Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq PrintOperationResponse Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord PrintOperationResponse Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum PrintOperationResponse Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject PrintOperationResponse Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes PrintOperationResponse Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes PrintOperationResponse Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes PrintOperationResponse = '[] :: [Type]

ProcessModel

data ProcessModel Source #

Enum values used for determining the WebContext process model.

Since: 2.4

Constructors

ProcessModelSharedSecondaryProcess

Deprecated 2.26.

ProcessModelMultipleSecondaryProcesses

Use one process for each WebView, while still allowing for some of them to share a process in certain situations. The main advantage of this process model is that the rendering process for a web view can crash while the rest of the views keep working normally. This process model is indicated for applications which may use a number of web views and the content of in each must not interfere with the rest — for example a full-fledged web browser with support for multiple tabs.

AnotherProcessModel Int

Catch-all for unknown values

Instances

Instances details
Enum ProcessModel Source # 
Instance details

Defined in GI.WebKit2.Enums

Show ProcessModel Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq ProcessModel Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord ProcessModel Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum ProcessModel Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject ProcessModel Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes ProcessModel Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes ProcessModel Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes ProcessModel = '[] :: [Type]

SaveMode

data SaveMode Source #

Enum values to specify the different ways in which a WebView can save its current web page into a self-contained file.

Constructors

SaveModeMhtml

Save the current page using the MHTML format.

AnotherSaveMode Int

Catch-all for unknown values

Instances

Instances details
Enum SaveMode Source # 
Instance details

Defined in GI.WebKit2.Enums

Show SaveMode Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq SaveMode Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord SaveMode Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum SaveMode Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject SaveMode Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes SaveMode Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes SaveMode Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes SaveMode = '[] :: [Type]

ScriptDialogType

data ScriptDialogType Source #

Enum values used for determining the type of ScriptDialog

Constructors

ScriptDialogTypeAlert

Alert script dialog, used to show a message to the user.

ScriptDialogTypeConfirm

Confirm script dialog, used to ask confirmation to the user.

ScriptDialogTypePrompt

Prompt script dialog, used to ask information to the user.

ScriptDialogTypeBeforeUnloadConfirm

Before unload confirm dialog, used to ask confirmation to leave the current page to the user. Since 2.12

AnotherScriptDialogType Int

Catch-all for unknown values

Instances

Instances details
Enum ScriptDialogType Source # 
Instance details

Defined in GI.WebKit2.Enums

Show ScriptDialogType Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq ScriptDialogType Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord ScriptDialogType Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum ScriptDialogType Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject ScriptDialogType Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes ScriptDialogType Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes ScriptDialogType Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes ScriptDialogType = '[] :: [Type]

SnapshotError

data SnapshotError Source #

Enum values used to denote errors happening when creating snapshots of WebView

Constructors

SnapshotErrorCreate

An error occurred when creating a webpage snapshot.

AnotherSnapshotError Int

Catch-all for unknown values

Instances

Instances details
Enum SnapshotError Source # 
Instance details

Defined in GI.WebKit2.Enums

Show SnapshotError Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq SnapshotError Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord SnapshotError Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum SnapshotError Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject SnapshotError Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

GErrorClass SnapshotError Source # 
Instance details

Defined in GI.WebKit2.Enums

HasParentTypes SnapshotError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes SnapshotError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes SnapshotError = '[] :: [Type]

catchSnapshotError :: IO a -> (SnapshotError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type SnapshotError. This is a specialized version of catchGErrorJustDomain.

handleSnapshotError :: (SnapshotError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type SnapshotError. This is a specialized version of handleGErrorJustDomain.

SnapshotRegion

data SnapshotRegion Source #

Enum values used to specify the region from which to get a WebView snapshot

Constructors

SnapshotRegionVisible

Specifies a snapshot only for the area that is visible in the webview

SnapshotRegionFullDocument

A snapshot of the entire document.

AnotherSnapshotRegion Int

Catch-all for unknown values

Instances

Instances details
Enum SnapshotRegion Source # 
Instance details

Defined in GI.WebKit2.Enums

Show SnapshotRegion Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq SnapshotRegion Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord SnapshotRegion Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum SnapshotRegion Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject SnapshotRegion Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes SnapshotRegion Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes SnapshotRegion Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes SnapshotRegion = '[] :: [Type]

TLSErrorsPolicy

data TLSErrorsPolicy Source #

Enum values used to denote the TLS errors policy.

Constructors

TLSErrorsPolicyIgnore

Ignore TLS errors.

TLSErrorsPolicyFail

TLS errors will emit WebView::loadFailedWithTlsErrors and, if the signal is handled, finish the load. In case the signal is not handled, WebView::loadFailed is emitted before the load finishes.

AnotherTLSErrorsPolicy Int

Catch-all for unknown values

Instances

Instances details
Enum TLSErrorsPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Show TLSErrorsPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq TLSErrorsPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord TLSErrorsPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum TLSErrorsPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject TLSErrorsPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes TLSErrorsPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes TLSErrorsPolicy Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes TLSErrorsPolicy = '[] :: [Type]

UserContentFilterError

data UserContentFilterError Source #

Errors that can occur while compiling content filters.

Since: 2.24

Constructors

UserContentFilterErrorInvalidSource

The JSON source for a content filter is invalid.

UserContentFilterErrorNotFound

The requested content filter could not be found.

AnotherUserContentFilterError Int

Catch-all for unknown values

Instances

Instances details
Enum UserContentFilterError Source # 
Instance details

Defined in GI.WebKit2.Enums

Show UserContentFilterError Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq UserContentFilterError Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord UserContentFilterError Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum UserContentFilterError Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject UserContentFilterError Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

GErrorClass UserContentFilterError Source # 
Instance details

Defined in GI.WebKit2.Enums

HasParentTypes UserContentFilterError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes UserContentFilterError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes UserContentFilterError = '[] :: [Type]

catchUserContentFilterError :: IO a -> (UserContentFilterError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type UserContentFilterError. This is a specialized version of catchGErrorJustDomain.

handleUserContentFilterError :: (UserContentFilterError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type UserContentFilterError. This is a specialized version of handleGErrorJustDomain.

UserContentInjectedFrames

data UserContentInjectedFrames Source #

Specifies in which frames user style sheets are to be inserted in.

Since: 2.6

Constructors

UserContentInjectedFramesAllFrames

Insert the user style sheet in all the frames loaded by the web view, including nested frames. This is the default.

UserContentInjectedFramesTopFrame

Insert the user style sheet *only* in the top-level frame loaded by the web view, and *not* in the nested frames.

AnotherUserContentInjectedFrames Int

Catch-all for unknown values

Instances

Instances details
Enum UserContentInjectedFrames Source # 
Instance details

Defined in GI.WebKit2.Enums

Show UserContentInjectedFrames Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq UserContentInjectedFrames Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord UserContentInjectedFrames Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum UserContentInjectedFrames Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject UserContentInjectedFrames Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes UserContentInjectedFrames Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes UserContentInjectedFrames Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes UserContentInjectedFrames = '[] :: [Type]

UserMessageError

data UserMessageError Source #

Enum values used to denote errors happening when sending user messages.

Since: 2.28

Constructors

UserMessageErrorMessage

The message was not handled by the receiver.

AnotherUserMessageError Int

Catch-all for unknown values

Instances

Instances details
Enum UserMessageError Source # 
Instance details

Defined in GI.WebKit2.Enums

Show UserMessageError Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq UserMessageError Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord UserMessageError Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum UserMessageError Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject UserMessageError Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

GErrorClass UserMessageError Source # 
Instance details

Defined in GI.WebKit2.Enums

HasParentTypes UserMessageError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes UserMessageError Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes UserMessageError = '[] :: [Type]

catchUserMessageError :: IO a -> (UserMessageError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type UserMessageError. This is a specialized version of catchGErrorJustDomain.

handleUserMessageError :: (UserMessageError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type UserMessageError. This is a specialized version of handleGErrorJustDomain.

UserScriptInjectionTime

data UserScriptInjectionTime Source #

Specifies at which place of documents an user script will be inserted.

Since: 2.6

Constructors

UserScriptInjectionTimeStart

Insert the code of the user script at the beginning of loaded documents. This is the default.

UserScriptInjectionTimeEnd

Insert the code of the user script at the end of the loaded documents.

AnotherUserScriptInjectionTime Int

Catch-all for unknown values

Instances

Instances details
Enum UserScriptInjectionTime Source # 
Instance details

Defined in GI.WebKit2.Enums

Show UserScriptInjectionTime Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq UserScriptInjectionTime Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord UserScriptInjectionTime Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum UserScriptInjectionTime Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject UserScriptInjectionTime Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes UserScriptInjectionTime Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes UserScriptInjectionTime Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes UserScriptInjectionTime = '[] :: [Type]

UserStyleLevel

data UserStyleLevel Source #

Specifies how to treat an user style sheet.

Since: 2.6

Constructors

UserStyleLevelUser

The style sheet is an user style sheet, its contents always override other style sheets. This is the default.

UserStyleLevelAuthor

The style sheet will be treated as if it was provided by the loaded documents. That means other user style sheets may still override it.

AnotherUserStyleLevel Int

Catch-all for unknown values

Instances

Instances details
Enum UserStyleLevel Source # 
Instance details

Defined in GI.WebKit2.Enums

Show UserStyleLevel Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq UserStyleLevel Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord UserStyleLevel Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum UserStyleLevel Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject UserStyleLevel Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes UserStyleLevel Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes UserStyleLevel Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes UserStyleLevel = '[] :: [Type]

WebExtensionMode

data WebExtensionMode Source #

Enum values used for setting if a WebView is intended for WebExtensions.

Since: 2.38

Constructors

WebExtensionModeNone

Not for an extension.

WebExtensionModeManifestv2

For a ManifestV2 extension.

WebExtensionModeManifestv3

For a ManifestV3 extension.

AnotherWebExtensionMode Int

Catch-all for unknown values

Instances

Instances details
Enum WebExtensionMode Source # 
Instance details

Defined in GI.WebKit2.Enums

Show WebExtensionMode Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq WebExtensionMode Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord WebExtensionMode Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum WebExtensionMode Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject WebExtensionMode Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes WebExtensionMode Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes WebExtensionMode Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes WebExtensionMode = '[] :: [Type]

WebProcessTerminationReason

data WebProcessTerminationReason Source #

Enum values used to specify the reason why the web process terminated abnormally.

Since: 2.20

Constructors

WebProcessTerminationReasonCrashed

the web process crashed.

WebProcessTerminationReasonExceededMemoryLimit

the web process exceeded the memory limit.

WebProcessTerminationReasonTerminatedByApi

the web process termination was requested by an API call. Since: 2.34

AnotherWebProcessTerminationReason Int

Catch-all for unknown values

Instances

Instances details
Enum WebProcessTerminationReason Source # 
Instance details

Defined in GI.WebKit2.Enums

Show WebProcessTerminationReason Source # 
Instance details

Defined in GI.WebKit2.Enums

Eq WebProcessTerminationReason Source # 
Instance details

Defined in GI.WebKit2.Enums

Ord WebProcessTerminationReason Source # 
Instance details

Defined in GI.WebKit2.Enums

BoxedEnum WebProcessTerminationReason Source # 
Instance details

Defined in GI.WebKit2.Enums

TypedObject WebProcessTerminationReason Source # 
Instance details

Defined in GI.WebKit2.Enums

Methods

glibType :: IO GType

HasParentTypes WebProcessTerminationReason Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes WebProcessTerminationReason Source # 
Instance details

Defined in GI.WebKit2.Enums

type ParentTypes WebProcessTerminationReason = '[] :: [Type]