Functions¶
|
|
|
|
|
|
Details¶
- Vte.event_context_get_type()¶
- Return type:
- Vte.get_encoding_supported(encoding)¶
- Parameters:
encoding (
str
) – the name of the legacy encoding- Returns:
True
iff the legacy encoding encoding is supported- Return type:
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
None
toVte.Terminal.set_encoding
().New in version 0.60.
Deprecated since version 0.60.
- Vte.get_encodings(include_aliases)¶
- Parameters:
include_aliases (
bool
) – whether to include alias names- Returns:
the list of supported encodings; free with
GLib.strfreev
()- Return type:
[
str
]
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
None
toVte.Terminal.set_encoding
().New in version 0.60.
Deprecated since version 0.60.
- Vte.get_feature_flags()¶
- Returns:
flags from
Vte.FeatureFlags
- Return type:
Gets features VTE was compiled with.
New in version 0.62.
- Vte.get_features()¶
- Returns:
a string with features
- Return type:
Gets a list of features vte was compiled with.
New in version 0.40.
- Vte.get_major_version()¶
- Returns:
the major version
- Return type:
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.New in version 0.40.
- Vte.get_micro_version()¶
- Returns:
the micro version
- Return type:
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.New in version 0.40.
- Vte.get_minor_version()¶
- Returns:
the minor version
- Return type:
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.New in version 0.40.
- Vte.get_user_shell()¶
-
Gets the user’s shell, or
None
. In the latter case, the system default (usually “/bin/sh”) should be used.
- Vte.pty_error_quark()¶
- Returns:
the error domain for VTE PTY errors
- Return type:
Error domain for VTE PTY errors. Errors in this domain will be from the
Vte.PtyError
enumeration. SeeGLib.Error
for more information on error domains.