Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Variables

Functions

Variables

EDITING_COMMAND_COPY: string

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.

EDITING_COMMAND_CREATE_LINK: string

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

EDITING_COMMAND_CUT: string

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.

EDITING_COMMAND_INSERT_IMAGE: string

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

EDITING_COMMAND_PASTE: string

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.

EDITING_COMMAND_PASTE_AS_PLAIN_TEXT: string

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.

EDITING_COMMAND_REDO: string

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.

EDITING_COMMAND_SELECT_ALL: string

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

EDITING_COMMAND_UNDO: string

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.

MAJOR_VERSION: number

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.

MICRO_VERSION: number

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.

MINOR_VERSION: number

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

  • downloadErrorQuark(): Quark
  • faviconDatabaseErrorQuark(): Quark
  • getMajorVersion(): number
  • Returns the major version number of the WebKit library. (e.g. in WebKit version 1.8.3 this is 1.)

    This function is in the library, so it represents the WebKit library your code is running against. Contrast with the #WEBKIT_MAJOR_VERSION macro, which represents the major version of the WebKit headers you have included when compiling your code.

    Returns number

  • getMicroVersion(): number
  • Returns the micro version number of the WebKit library. (e.g. in WebKit version 1.8.3 this is 3.)

    This function is in the library, so it represents the WebKit library your code is running against. Contrast with the #WEBKIT_MICRO_VERSION macro, which represents the micro version of the WebKit headers you have included when compiling your code.

    Returns number

  • getMinorVersion(): number
  • Returns the minor version number of the WebKit library. (e.g. in WebKit version 1.8.3 this is 8.)

    This function is in the library, so it represents the WebKit library your code is running against. Contrast with the #WEBKIT_MINOR_VERSION macro, which represents the minor version of the WebKit headers you have included when compiling your code.

    Returns number

  • javascriptErrorQuark(): Quark
  • networkErrorQuark(): Quark
  • pluginErrorQuark(): Quark
  • policyErrorQuark(): Quark
  • snapshotErrorQuark(): Quark
  • uriForDisplay(uri: string): string | null
  • Use this function to format a URI for display. The URIs used internally by WebKit may contain percent-encoded characters or Punycode, which are not generally suitable to display to users. This function provides protection against IDN homograph attacks, so in some cases the host part of the returned URI may be in Punycode if the safety check fails.

    Parameters

    • uri: string

      the URI to be converted

    Returns string | null

  • userContentFilterErrorQuark(): Quark
  • userMessageErrorQuark(): Quark

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method