Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Variables

Functions

Variables

MAJOR_VERSION: number

The major version number of the VTE library (e.g. in version 3.1.4 this is 3).

MICRO_VERSION: number

The micro version number of the VTE library (e.g. in version 3.1.4 this is 4).

MINOR_VERSION: number

The minor version number of the VTE library (e.g. in version 3.1.4 this is 1).

REGEX_FLAGS_DEFAULT: number
SPAWN_NO_PARENT_ENVV: number

Use this as a spawn flag (together with flags from #GSpawnFlags) in vte_pty_spawn_async().

Normally, the spawned process inherits the environment from the parent process; when this flag is used, only the environment variables passed to vte_pty_spawn_async() etc. are passed to the child process.

SPAWN_NO_SYSTEMD_SCOPE: number

Use this as a spawn flag (together with flags from #GSpawnFlags) in vte_pty_spawn_async().

Prevents vte_pty_spawn_async() etc. from moving the newly created child process to a systemd user scope.

SPAWN_REQUIRE_SYSTEMD_SCOPE: number

Use this as a spawn flag (together with flags from #GSpawnFlags) in vte_pty_spawn_async().

Requires vte_pty_spawn_async() etc. to move the newly created child process to a systemd user scope; if that fails, the whole spawn fails.

This is supported on Linux only.

TEST_FLAGS_ALL: number
TEST_FLAGS_NONE: number

Functions

  • get_encoding_supported(encoding: string): boolean
  • Queries whether the legacy encoding encoding is supported.

    If ICU support is not available, this function always returns %FALSE.

    Note that UTF-8 is always supported; you can select it by passing %NULL to vte_terminal_set_encoding().

    Parameters

    • encoding: string

      the name of the legacy encoding

    Returns boolean

  • get_encodings(include_aliases: boolean): string[]
  • Gets the list of supported legacy encodings.

    If ICU support is not available, this returns an empty vector. Note that UTF-8 is always supported; you can select it by passing %NULL to vte_terminal_set_encoding().

    Parameters

    • include_aliases: boolean

      whether to include alias names

    Returns string[]

  • get_features(): string
  • get_major_version(): number
  • Returns the major version of the VTE library at runtime. Contrast this with %VTE_MAJOR_VERSION which represents the version of the VTE library that the code was compiled with.

    Returns number

  • get_micro_version(): number
  • Returns the micro version of the VTE library at runtime. Contrast this with %VTE_MICRO_VERSION which represents the version of the VTE library that the code was compiled with.

    Returns number

  • get_minor_version(): number
  • Returns the minor version of the VTE library at runtime. Contrast this with %VTE_MINOR_VERSION which represents the version of the VTE library that the code was compiled with.

    Returns number

  • get_user_shell(): string
  • Gets the user's shell, or %NULL. In the latter case, the system default (usually "/bin/sh") should be used.

    Returns string

  • Error domain for VTE PTY errors. Errors in this domain will be from the #VtePtyError enumeration. See #GError for more information on error domains.

    Returns Quark

  • regex_error_quark(): 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