vte.c.types

C types for vte2 library

Types 21

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

Start = 0align to left/top
Center = 1align to centre
End = 2align to right/bottom

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

System = 0Follow GTK+ settings for cursor blinking.
On = 1Cursor blinks.
Off = 2Cursor does not blink.

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

Block = 0Draw a block cursor. This is the default.
Ibeam = 1Draw a vertical bar on the left side of character. This is similar to the default cursor for other GTK+ widgets.
Underline = 2Draw a horizontal bar below the character.

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 = 0For backspace, attempt to determine the right value from the terminal's IO settings. For delete, use the control sequence.
AsciiBackspace = 1Send an ASCII backspace character (0x08).
AsciiDelete = 2Send an ASCII delete character (0x7F).
DeleteSequence = 3Send the "@@7" control sequence.
Tty = 4Send terminal's "erase" setting.
enumVteFeatureFlags : uint

An enumeration type for features.

FlagBidi = 1whether VTE was built with bidirectional text support
FlagIcu = 2whether VTE was built with ICU support
FlagSystemd = 4whether VTE was built with systemd support
FlagSixel = 8whether VTE was built with SIXEL support
FlagsMask = - 1mask of all feature flags

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

Text = 1Export as plain text
Html = 2Export as HTML formatted text
PtyHelperFailed = 0Obsolete. Deprecated: 0.42
Pty98Failed = 1failure when using PTY98 to allocate the PTY
enumVtePtyFlags : uint
NoLastlog = 1Unused. Deprecated: 0.38
NoUtmp = 2Unused. Deprecated: 0.38
NoWtmp = 4Unused. Deprecated: 0.38
NoHelper = 8Unused. Deprecated: 0.38
NoFallback = 16Unused. Deprecated: 0.38
NoSession = 32Do not start a new session for the child in [vte.pty.Pty.childSetup]. See man:setsid(2) for more information. Since: 0.58
NoCtty = 64Do not set the PTY as the controlling TTY for the child in [vte.pty.Pty.childSetup]. See man:tty_ioctl(4) for more information. Since: 0.58
Default = 0the default flags

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

Incompatible = 2147483646The PCRE2 library was built without Unicode support which is required for VTE
NotSupported = 2147483647Regexes are not supported because VTE was built without PCRE2 support

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

Never = 0Do not blink the text.
Focused = 1Allow blinking text only if the terminal is focused.
Unfocused = 2Allow blinking text only if the terminal is unfocused.
Always = 3Allow blinking text. This is the default.

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

Default = 0Write contents as UTF-8 text. This is the default.
Fields
long row
long column
uint underline
uint strikethrough
uint columns

Provides context information for a context menu event.

structVtePty
structVteRegex
Fields
GtkWidget widget
void * *[1] UnusedPadding

All of these fields should be considered read-only, except for derived classes.

Fields
GtkWidgetClass parentClass
void function(VteTerminal * terminal) eof
void function(VteTerminal * terminal, int status) childExited
void function(VteTerminal * terminal) encodingChanged
void function(VteTerminal * terminal, uint charWidth, uint charHeight) charSizeChanged
void function(VteTerminal * terminal) windowTitleChanged
void function(VteTerminal * terminal) iconTitleChanged
void function(VteTerminal * terminal) selectionChanged
void function(VteTerminal * terminal) contentsChanged
void function(VteTerminal * terminal) cursorMoved
void function(VteTerminal * terminal, const(char) * text, uint size) commit
void function(VteTerminal * terminal) deiconifyWindow
void function(VteTerminal * terminal) iconifyWindow
void function(VteTerminal * terminal) raiseWindow
void function(VteTerminal * terminal) lowerWindow
void function(VteTerminal * terminal) refreshWindow
void function(VteTerminal * terminal) restoreWindow
void function(VteTerminal * terminal) maximizeWindow
void function(VteTerminal * terminal, uint width, uint height) resizeWindow
void function(VteTerminal * terminal, uint x, uint y) moveWindow
void function(VteTerminal * terminal) increaseFontSize
void function(VteTerminal * terminal) decreaseFontSize
void function(VteTerminal * terminal) textModified
void function(VteTerminal * terminal) textInserted
void function(VteTerminal * terminal) textDeleted
void function(VteTerminal * terminal, int delta) textScrolled
void function(VteTerminal * terminal) copyClipboard
void function(VteTerminal * terminal) pasteClipboard
void function(VteTerminal * terminal) bell
void *[3] ExtraPadding
void function(VteTerminal * terminal, const(VteEventContext) * context) setupContextMenu
void *[12] Padding
aliasVteSelectionFunc = gboolean function(VteTerminal * terminal, glong column, glong row, void * data)
aliasVteTerminalSpawnAsyncCallback = void function(VteTerminal * terminal, GPid pid, GError * error, void * userData)