webkit.types

D types for webkit6 library

Members

Aliases

AuthenticationScheme
alias AuthenticationScheme = WebKitAuthenticationScheme
AutomationBrowsingContextPresentation
alias AutomationBrowsingContextPresentation = WebKitAutomationBrowsingContextPresentation
AutoplayPolicy
alias AutoplayPolicy = WebKitAutoplayPolicy
CacheModel
alias CacheModel = WebKitCacheModel
ContextMenuAction
alias ContextMenuAction = WebKitContextMenuAction
CookieAcceptPolicy
alias CookieAcceptPolicy = WebKitCookieAcceptPolicy
CookiePersistentStorage
alias CookiePersistentStorage = WebKitCookiePersistentStorage
CredentialPersistence
alias CredentialPersistence = WebKitCredentialPersistence
DownloadError
alias DownloadError = WebKitDownloadError
EditorTypingAttributes
alias EditorTypingAttributes = WebKitEditorTypingAttributes
FaviconDatabaseError
alias FaviconDatabaseError = WebKitFaviconDatabaseError
FeatureStatus
alias FeatureStatus = WebKitFeatureStatus
FindOptions
alias FindOptions = WebKitFindOptions
HardwareAccelerationPolicy
alias HardwareAccelerationPolicy = WebKitHardwareAccelerationPolicy
HitTestResultContext
alias HitTestResultContext = WebKitHitTestResultContext
InputHints
alias InputHints = WebKitInputHints
InputPurpose
alias InputPurpose = WebKitInputPurpose
InsecureContentEvent
alias InsecureContentEvent = WebKitInsecureContentEvent
JavascriptError
alias JavascriptError = WebKitJavascriptError
LoadEvent
alias LoadEvent = WebKitLoadEvent
MediaCaptureState
alias MediaCaptureState = WebKitMediaCaptureState
MediaError
alias MediaError = WebKitMediaError
NavigationType
alias NavigationType = WebKitNavigationType
NetworkError
alias NetworkError = WebKitNetworkError
NetworkProxyMode
alias NetworkProxyMode = WebKitNetworkProxyMode
PermissionState
alias PermissionState = WebKitPermissionState
PolicyDecisionType
alias PolicyDecisionType = WebKitPolicyDecisionType
PolicyError
alias PolicyError = WebKitPolicyError
PrintError
alias PrintError = WebKitPrintError
PrintOperationResponse
alias PrintOperationResponse = WebKitPrintOperationResponse
SaveMode
alias SaveMode = WebKitSaveMode
ScriptDialogType
alias ScriptDialogType = WebKitScriptDialogType
SnapshotError
alias SnapshotError = WebKitSnapshotError
SnapshotOptions
alias SnapshotOptions = WebKitSnapshotOptions
SnapshotRegion
alias SnapshotRegion = WebKitSnapshotRegion
TLSErrorsPolicy
alias TLSErrorsPolicy = WebKitTLSErrorsPolicy
URISchemeRequestCallback
alias URISchemeRequestCallback = void delegate(webkit.urischeme_request.URISchemeRequest request)

Type definition for a function that will be called back when an URI request is made for a user registered URI scheme.

UserContentFilterError
alias UserContentFilterError = WebKitUserContentFilterError
UserContentInjectedFrames
alias UserContentInjectedFrames = WebKitUserContentInjectedFrames
UserMessageError
alias UserMessageError = WebKitUserMessageError
UserScriptInjectionTime
alias UserScriptInjectionTime = WebKitUserScriptInjectionTime
UserStyleLevel
alias UserStyleLevel = WebKitUserStyleLevel
WebExtensionMatchPatternError
alias WebExtensionMatchPatternError = WebKitWebExtensionMatchPatternError
WebExtensionMatchPatternOptions
alias WebExtensionMatchPatternOptions = WebKitWebExtensionMatchPatternOptions
WebExtensionMode
alias WebExtensionMode = WebKitWebExtensionMode
WebProcessTerminationReason
alias WebProcessTerminationReason = WebKitWebProcessTerminationReason
WebsiteDataTypes
alias WebsiteDataTypes = WebKitWebsiteDataTypes

Manifest constants

EDITING_COMMAND_COPY
enum EDITING_COMMAND_COPY;

The copy clipboard command. Copies the current selection inside a #WebKitWebView to the clipboard. You can check whether it's possible to execute the command with webkit.web_view.WebView.canExecuteEditingCommand. In general it's possible to copy to the clipboard when there is an active selection inside the #WebKitWebView.

EDITING_COMMAND_CREATE_LINK
enum EDITING_COMMAND_CREATE_LINK;

The create link command. Creates a link element that is inserted at the current cursor position. If there's a selection, the selected text will be used as the link text, otherwise the URL itself will be used. It receives the link URL as argument. This command should be executed with webkit.web_view.WebView.executeEditingCommandWithArgument

EDITING_COMMAND_CUT
enum EDITING_COMMAND_CUT;

The cut clipboard command. Copies the current selection inside a #WebKitWebView to the clipboard and deletes the selected content. You can check whether it's possible to execute the command with webkit.web_view.WebView.canExecuteEditingCommand. In general it's possible to cut to the clipboard when the #WebKitWebView content is editable and there is an active selection.

EDITING_COMMAND_INSERT_IMAGE
enum EDITING_COMMAND_INSERT_IMAGE;

The insert image command. Creates an image element that is inserted at the current cursor position. It receives an URI as argument, that is used as the image source. This command should be executed with webkit.web_view.WebView.executeEditingCommandWithArgument.

EDITING_COMMAND_PASTE
enum EDITING_COMMAND_PASTE;

The paste clipboard command. Pastes the contents of the clipboard to a #WebKitWebView. You can check whether it's possible to execute the command with webkit.web_view.WebView.canExecuteEditingCommand. In general it's possible to paste from the clipboard when the #WebKitWebView content is editable and clipboard is not empty.

EDITING_COMMAND_PASTE_AS_PLAIN_TEXT
enum EDITING_COMMAND_PASTE_AS_PLAIN_TEXT;

The paste as plaintext clipboard command. Pastes the contents of the clipboard to a #WebKitWebView, with formatting removed. You can check whether it's possible to execute the command with webkit.web_view.WebView.canExecuteEditingCommand. In general it's possible to paste from the clipboard when the #WebKitWebView content is editable and clipboard is not empty.

EDITING_COMMAND_REDO
enum EDITING_COMMAND_REDO;

The redo command. Redoes a previously undone editing command in a #WebKitWebView. You can check whether it's possible to execute the command with webkit.web_view.WebView.canExecuteEditingCommand. It's only possible to redo a command when it has been previously undone.

EDITING_COMMAND_SELECT_ALL
enum EDITING_COMMAND_SELECT_ALL;

The select all command. Selects all the content of the current text field in a #WebKitWebView. It is always possible to select all text, no matter whether the #WebKitWebView content is editable or not. You can still check it with webkit.web_view.WebView.canExecuteEditingCommand.

EDITING_COMMAND_UNDO
enum EDITING_COMMAND_UNDO;

The undo command. Undoes the last editing command in a #WebKitWebView. You can check whether it's possible to execute the command with webkit.web_view.WebView.canExecuteEditingCommand. It's only possible to undo a command after a previously executed editing operation.

MAJOR_VERSION
enum MAJOR_VERSION;

Like webkit.global.getMajorVersion, but from the headers used at application compile time, rather than from the library linked against at application run time.

MICRO_VERSION
enum MICRO_VERSION;

Like webkit.global.getMicroVersion, but from the headers used at application compile time, rather than from the library linked against at application run time.

MINOR_VERSION
enum MINOR_VERSION;

Like webkit.global.getMinorVersion, but from the headers used at application compile time, rather than from the library linked against at application run time.