Constants#

MAJOR_VERSION = 0#

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

MICRO_VERSION = 2#

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

MINOR_VERSION = 78#

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

REGEX_FLAGS_DEFAULT = 1075314688#
SPAWN_NO_PARENT_ENVV = 33554432#

Use this as a spawn flag (together with flags from SpawnFlags) in spawn_async().

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

SPAWN_NO_SYSTEMD_SCOPE = 67108864#

Use this as a spawn flag (together with flags from SpawnFlags) in spawn_async().

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

SPAWN_REQUIRE_SYSTEMD_SCOPE = 134217728#

Use this as a spawn flag (together with flags from SpawnFlags) in spawn_async().

Requires 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.

TERMPROP_CONTAINER_NAME = vte.container.name#

A STRING termprop that stores the name of the container.

TERMPROP_CONTAINER_RUNTIME = vte.container.runtime#

A STRING termprop that stores the runtime of the container.

TERMPROP_CONTAINER_UID = vte.container.uid#

A UINT termprop that stores the user ID of the container.

TERMPROP_CURRENT_DIRECTORY_URI = vte.cwd#

A URI termprop that stores the current directory URI as set by OSC 7. Use this with ref_termprop_uri() instead of using get_current_directory_uri().

Note that this termprop is not settable via the termprop OSC.

TERMPROP_CURRENT_FILE_URI = vte.cwf#

A URI termprop that stores the current file URI as set by OSC 6. Use this with ref_termprop_uri() instead of using get_current_file_uri().

Note that this termprop is not settable via the termprop OSC.

TERMPROP_NAME_PREFIX = vte.ext.#

The string prefix that any termprop’s name must start with to be installed by install_termprop().

TERMPROP_SHELL_POSTEXEC = vte.shell.postexec#

An ephemeral UINT termprop that signals that the shell has executed the commands entered at the prompt and these commands have returned. The termprop value is the exit code.

TERMPROP_SHELL_PRECMD = vte.shell.precmd#

A VALUELESS termprop that signals that the shell is going to prompt.

TERMPROP_SHELL_PREEXEC = vte.shell.preexec#

A VALUELESS termprop that signals that the shell is preparing to execute the command entered at the prompt.

TERMPROP_XTERM_TITLE = xterm.title#

A STRING termprop that stores the xterm window title as set by OSC 0 and OSC 2. Use this with get_termprop_string() instead of using get_window_title().

Note that this termprop is not settable via the termprop OSC.

TEST_FLAGS_ALL = 18446744073709551615#
TEST_FLAGS_NONE = 0#