Constants¶
Details¶
- Vte.MAJOR_VERSION = 0¶
The major version number of the VTE library (e.g. in version 3.1.4 this is 3).
- Vte.MICRO_VERSION = 3¶
The micro version number of the VTE library (e.g. in version 3.1.4 this is 4).
- Vte.MINOR_VERSION = 78¶
The minor version number of the VTE library (e.g. in version 3.1.4 this is 1).
- Vte.REGEX_FLAGS_DEFAULT = 1075314688¶
- Vte.SPAWN_NO_PARENT_ENVV = 33554432¶
Use this as a spawn flag (together with flags from
GLib.SpawnFlags
) inVte.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.
- Vte.SPAWN_NO_SYSTEMD_SCOPE = 67108864¶
Use this as a spawn flag (together with flags from
GLib.SpawnFlags
) inVte.Pty.spawn_async
().Prevents
Vte.Pty.spawn_async
() etc. from moving the newly created child process to a systemd user scope.New in version 0.60.
- Vte.SPAWN_REQUIRE_SYSTEMD_SCOPE = 134217728¶
Use this as a spawn flag (together with flags from
GLib.SpawnFlags
) inVte.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.
New in version 0.60.
- Vte.TERMPROP_CONTAINER_NAME = 'vte.container.name'¶
A
Vte.PropertyType.STRING
termprop that stores the name of the container.New in version 0.78.
- Vte.TERMPROP_CONTAINER_RUNTIME = 'vte.container.runtime'¶
A
Vte.PropertyType.STRING
termprop that stores the runtime of the container.New in version 0.78.
- Vte.TERMPROP_CONTAINER_UID = 'vte.container.uid'¶
A
Vte.PropertyType.UINT
termprop that stores the user ID of the container.New in version 0.78.
- Vte.TERMPROP_CURRENT_DIRECTORY_URI = 'vte.cwd'¶
A
Vte.PropertyType.URI
termprop that stores the current directory URI as set by OSC 7. Use this withVte.Terminal.ref_termprop_uri
() instead of usingVte.Terminal.get_current_directory_uri
().Note that this termprop is not settable via the termprop OSC.
New in version 0.78.
- Vte.TERMPROP_CURRENT_FILE_URI = 'vte.cwf'¶
A
Vte.PropertyType.URI
termprop that stores the current file URI as set by OSC 6. Use this withVte.Terminal.ref_termprop_uri
() instead of usingVte.Terminal.get_current_file_uri
().Note that this termprop is not settable via the termprop OSC.
New in version 0.78.
- Vte.TERMPROP_NAME_PREFIX = 'vte.ext.'¶
The string prefix that any termprop’s name must start with to be installed by
Vte.install_termprop
().New in version 0.78.
- Vte.TERMPROP_SHELL_POSTEXEC = 'vte.shell.postexec'¶
An ephemeral
Vte.PropertyType.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.New in version 0.78.
- Vte.TERMPROP_SHELL_PRECMD = 'vte.shell.precmd'¶
A
Vte.PropertyType.VALUELESS
termprop that signals that the shell is going to prompt.New in version 0.78.
- Vte.TERMPROP_SHELL_PREEXEC = 'vte.shell.preexec'¶
A
Vte.PropertyType.VALUELESS
termprop that signals that the shell is preparing to execute the command entered at the prompt.New in version 0.78.
- Vte.TERMPROP_XTERM_TITLE = 'xterm.title'¶
A
Vte.PropertyType.STRING
termprop that stores the xterm window title as set by OSC 0 and OSC 2. Use this withVte.Terminal.get_termprop_string
() instead of usingVte.Terminal.get_window_title
().Note that this termprop is not settable via the termprop OSC.
New in version 0.78.
- Vte.TEST_FLAGS_ALL = 18446744073709551615¶
- Vte.TEST_FLAGS_NONE = 0¶