Enums

Details

class Vte.Align(value)

Bases: GObject.GEnum

An enumeration type that can be used to specify how the terminal uses extra allocated space.

New in version 0.76.

START = 0

align to left/top

CENTER = 1

align to centre

END = 2

align to right/bottom

class Vte.CursorBlinkMode(value)

Bases: GObject.GEnum

An enumerated type which can be used to indicate the cursor blink mode for the terminal.

SYSTEM = 0

Follow GTK+ settings for cursor blinking.

ON = 1

Cursor blinks.

OFF = 2

Cursor does not blink.

class Vte.CursorShape(value)

Bases: GObject.GEnum

An enumerated type which can be used to indicate what should the terminal draw at the cursor position.

BLOCK = 0

Draw a block cursor. This is the default.

IBEAM = 1

Draw a vertical bar on the left side of character. This is similar to the default cursor for other GTK+ widgets.

UNDERLINE = 2

Draw a horizontal bar below the character.

class Vte.EraseBinding(value)

Bases: GObject.GEnum

An enumerated type which can be used to indicate which string the terminal should send to an application when the user presses the Delete or Backspace keys.

AUTO = 0

For backspace, attempt to determine the right value from the terminal’s IO settings. For delete, use the control sequence.

ASCII_BACKSPACE = 1

Send an ASCII backspace character (0x08).

ASCII_DELETE = 2

Send an ASCII delete character (0x7F).

DELETE_SEQUENCE = 3

Send the “@7” control sequence.

TTY = 4

Send terminal’s “erase” setting.

class Vte.Format(value)

Bases: GObject.GEnum

An enumeration type that can be used to specify the format the selection should be copied to the clipboard in.

New in version 0.50.

TEXT = 1

Export as plain text

HTML = 2

Export as HTML formatted text

class Vte.PropertyId(value)

Bases: GObject.GEnum

An enum containing the IDs of the always-installed termprops.

New in version 0.78.

CURRENT_DIRECTORY_URI = 0

the ID of the Vte.TERMPROP_CURRENT_DIRECTORY_URI termprop

CURRENT_FILE_URI = 1

the ID of the Vte.TERMPROP_CURRENT_FILE_URI termprop

XTERM_TITLE = 2

the ID of the Vte.TERMPROP_XTERM_TITLE termprop

CONTAINER_NAME = 3

the ID of the Vte.TERMPROP_CONTAINER_NAME termprop

CONTAINER_RUNTIME = 4

the ID of the Vte.TERMPROP_CONTAINER_RUNTIME termprop

CONTAINER_UID = 5

the ID of the Vte.TERMPROP_CONTAINER_UID termprop

SHELL_PRECMD = 6

the ID of the Vte.TERMPROP_SHELL_PRECMD termprop

SHELL_PREEXEC = 7

the ID of the Vte.TERMPROP_SHELL_PREEXEC termprop

SHELL_POSTEXEC = 8

the ID of the Vte.TERMPROP_SHELL_POSTEXEC termprop

class Vte.PropertyType(value)

Bases: GObject.GEnum

An enumeration type describing types of properties.

New in version 0.78.

VALUELESS = 0

no value, use for signalling

BOOL = 1

a bool

URI = 10

a URI

INT = 2

a signed 64-bit integer

UINT = 3

an unsigned 64-bit integer

DOUBLE = 4

a finite double-precision floating point number

RGB = 5

a color

RGBA = 6

a color with alpha

STRING = 7

a string

DATA = 8

binary data

UUID = 9

a UUID

class Vte.PtyError(value)

Bases: GObject.GEnum

classmethod quark()
Returns:

the error domain for VTE PTY errors

Return type:

int

Error domain for VTE PTY errors. Errors in this domain will be from the Vte.PtyError enumeration. See GLib.Error for more information on error domains.

PTY_HELPER_FAILED = 0

Obsolete. Deprecated: 0.42

PTY98_FAILED = 1

failure when using PTY98 to allocate the PTY

class Vte.RegexError(value)

Bases: GObject.GEnum

An enum type for regex errors. In addition to the values listed above, any PCRE2 error values may occur.

New in version 0.46.

classmethod quark()
Return type:

int

INCOMPATIBLE = 2147483646

The PCRE2 library was built without Unicode support which is required for VTE

NOT_SUPPORTED = 2147483647

Regexes are not supported because VTE was built without PCRE2 support

class Vte.TextBlinkMode(value)

Bases: GObject.GEnum

An enumerated type which can be used to indicate whether the terminal allows the text contents to be blinked.

New in version 0.52.

NEVER = 0

Do not blink the text.

FOCUSED = 1

Allow blinking text only if the terminal is focused.

UNFOCUSED = 2

Allow blinking text only if the terminal is unfocused.

ALWAYS = 3

Allow blinking text. This is the default.

class Vte.WriteFlags(value)

Bases: GObject.GEnum

A flag type to determine how terminal contents should be written to an output stream.

DEFAULT = 0

Write contents as UTF-8 text. This is the default.