WebKit

object WebKit

Skipped during bindings generation

  • record AuthenticationRequestClass: glib type struct are ignored

  • record AutomationSessionClass: glib type struct are ignored

  • record BackForwardListClass: glib type struct are ignored

  • record BackForwardListItemClass: glib type struct are ignored

  • record ClipboardPermissionRequestClass: glib type struct are ignored

  • record ColorChooserRequestClass: glib type struct are ignored

  • record ContextMenuClass: glib type struct are ignored

  • record ContextMenuItemClass: glib type struct are ignored

  • record CookieManagerClass: glib type struct are ignored

  • record DeviceInfoPermissionRequestClass: glib type struct are ignored

  • record DownloadClass: glib type struct are ignored

  • record EditorStateClass: glib type struct are ignored

  • record FaviconDatabaseClass: glib type struct are ignored

  • record FileChooserRequestClass: glib type struct are ignored

  • record FindControllerClass: glib type struct are ignored

  • record FormSubmissionRequestClass: glib type struct are ignored

  • record GeolocationManagerClass: glib type struct are ignored

  • record GeolocationPermissionRequestClass: glib type struct are ignored

  • record HitTestResultClass: glib type struct are ignored

  • record InputMethodContextClass: glib type struct are ignored

  • record MediaKeySystemPermissionRequestClass: glib type struct are ignored

  • record NavigationPolicyDecisionClass: glib type struct are ignored

  • record NetworkSessionClass: glib type struct are ignored

  • record NotificationClass: glib type struct are ignored

  • record NotificationPermissionRequestClass: glib type struct are ignored

  • record OptionMenuClass: glib type struct are ignored

  • record PermissionRequestInterface: glib type struct are ignored

  • record PointerLockPermissionRequestClass: glib type struct are ignored

  • record PolicyDecisionClass: glib type struct are ignored

  • record PrintOperationClass: glib type struct are ignored

  • record ResponsePolicyDecisionClass: glib type struct are ignored

  • record SecurityManagerClass: glib type struct are ignored

  • record SettingsClass: glib type struct are ignored

  • record URIRequestClass: glib type struct are ignored

  • record URIResponseClass: glib type struct are ignored

  • record URISchemeRequestClass: glib type struct are ignored

  • record URISchemeResponseClass: glib type struct are ignored

  • record UserContentFilterStoreClass: glib type struct are ignored

  • record UserContentManagerClass: glib type struct are ignored

  • record UserMediaPermissionRequestClass: glib type struct are ignored

  • record UserMessageClass: glib type struct are ignored

  • record WebContextClass: glib type struct are ignored

  • record WebInspectorClass: glib type struct are ignored

  • record WebResourceClass: glib type struct are ignored

  • record WebViewBaseClass: glib type struct are ignored

  • record WebViewClass: glib type struct are ignored

  • record WebsiteDataAccessPermissionRequestClass: glib type struct are ignored

  • record WebsiteDataManagerClass: glib type struct are ignored

  • record WebsitePoliciesClass: glib type struct are ignored

  • record WindowPropertiesClass: glib type struct are ignored

Properties

Link copied to clipboard

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_can_execute_editing_command(). In general it's possible to copy to the clipboard when there is an active selection inside the #WebKitWebView.

Link copied to clipboard

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_execute_editing_command_with_argument()

Link copied to clipboard

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_can_execute_editing_command(). In general it's possible to cut to the clipboard when the #WebKitWebView content is editable and there is an active selection.

Link copied to clipboard

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_execute_editing_command_with_argument().

Link copied to clipboard

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_can_execute_editing_command(). In general it's possible to paste from the clipboard when the #WebKitWebView content is editable and clipboard is not empty.

Link copied to clipboard

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_can_execute_editing_command(). In general it's possible to paste from the clipboard when the #WebKitWebView content is editable and clipboard is not empty.

Link copied to clipboard

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_can_execute_editing_command(). It's only possible to redo a command when it has been previously undone.

Link copied to clipboard

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_can_execute_editing_command().

Link copied to clipboard

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_can_execute_editing_command(). It's only possible to undo a command after a previously executed editing operation.

Link copied to clipboard
const val MAJOR_VERSION: <Error class: unknown class> = 2

Like webkit_get_major_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Link copied to clipboard
const val MICRO_VERSION: <Error class: unknown class> = 3

Like webkit_get_micro_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Link copied to clipboard
const val MINOR_VERSION: <Error class: unknown class> = 46

Like webkit_get_minor_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Functions

Link copied to clipboard
fun getMajorVersion(): <Error class: unknown class>

Returns the major version number of the WebKit library.

Link copied to clipboard
fun getMicroVersion(): <Error class: unknown class>

Returns the micro version number of the WebKit library.

Link copied to clipboard
fun getMinorVersion(): <Error class: unknown class>

Returns the minor version number of the WebKit library.

Link copied to clipboard

Get the key system for which access permission is being requested.

Link copied to clipboard
fun resolveException(error: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard

Use this function to format a URI for display.

Link copied to clipboard

Check whether the permission request is for an audio device.

Link copied to clipboard

Check whether the permission request is for a display device.

Link copied to clipboard

Check whether the permission request is for a video device.