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