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