Gjsify LogoGjsify Logo

Hierarchy

Index

Properties

allowBold?: boolean

Controls whether or not the terminal will attempt to draw bold text, by using a bold font variant.

allowHyperlink?: boolean

Controls whether or not hyperlinks (OSC 8 escape sequence) are recognized and displayed.

appPaintable?: boolean
audibleBell?: boolean

Controls whether or not the terminal will beep when the child outputs the "bl" sequence.

backspaceBinding?: EraseBinding

Controls what string or control sequence the terminal sends to its child when the user presses the backspace key.

boldIsBright?: boolean

Whether the SGR 1 attribute also switches to the bright counterpart of the first 8 palette colors, in addition to making them bold (legacy behavior) or if SGR 1 only enables bold and leaves the color intact.

canDefault?: boolean
canFocus?: boolean
cellHeightScale?: number

Scale factor for the cell height, to increase line spacing. (The font's height is not affected.)

cellWidthScale?: number

Scale factor for the cell width, to increase letter spacing. (The font's width is not affected.)

cjkAmbiguousWidth?: number

This setting controls whether ambiguous-width characters are narrow or wide. (Note that when using a non-UTF-8 encoding set via vte_terminal_set_encoding(), the width of ambiguous-width characters is fixed and determined by the encoding itself.)

This setting only takes effect the next time the terminal is reset, either via escape sequence or with vte_terminal_reset().

cursorBlinkMode?: CursorBlinkMode

Sets whether or not the cursor will blink. Using %VTE_CURSOR_BLINK_SYSTEM will use the #GtkSettings:gtk-cursor-blink setting.

cursorShape?: Vte.CursorShape

Controls the shape of the cursor.

deleteBinding?: EraseBinding

Controls what string or control sequence the terminal sends to its child when the user presses the delete key.

doubleBuffered?: boolean

Whether the widget is double buffered.

enableBidi?: boolean

Controls whether or not the terminal will perform bidirectional text rendering.

enableFallbackScrolling?: boolean
enableShaping?: boolean

Controls whether or not the terminal will shape Arabic text.

enableSixel?: boolean

Controls whether SIXEL image support is enabled.

encoding?: string

Controls the encoding the terminal will expect data from the child to be encoded with. For certain terminal types, applications executing in the terminal can change the encoding. The default is defined by the application's locale settings.

events?: Gdk.EventMask
expand?: boolean

Whether to expand in both directions. Setting this sets both #GtkWidget:hexpand and #GtkWidget:vexpand

focusOnClick?: boolean

Whether the widget should grab focus when it is clicked with the mouse.

This property is only relevant for widgets that can take focus.

Before 3.20, several widgets (GtkButton, GtkFileChooserButton, GtkComboBox) implemented this property individually.

fontDesc?: FontDescription

Specifies the font used for rendering all text displayed by the terminal, overriding any fonts set using gtk_widget_modify_font(). The terminal will immediately attempt to load the desired font, retrieve its metrics, and attempt to resize itself to keep the same number of rows and columns.

fontScale?: number

The terminal's font scale.

hadjustment?: Gtk.Adjustment

Horizontal #GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent.

halign?: Gtk.Align

How to distribute horizontal space if widget gets extra space, see #GtkAlign

hasDefault?: boolean
hasFocus?: boolean
hasTooltip?: boolean

Enables or disables the emission of #GtkWidget::query-tooltip on widget. A value of %TRUE indicates that widget can have a tooltip, in this case the widget will be queried using #GtkWidget::query-tooltip to determine whether it will provide a tooltip or not.

Note that setting this property to %TRUE for the first time will change the event masks of the GdkWindows of this widget to include leave-notify and motion-notify events. This cannot and will not be undone when the property is set to %FALSE again.

heightRequest?: number
hexpand?: boolean

Whether to expand horizontally. See gtk_widget_set_hexpand().

hexpandSet?: boolean

Whether to use the #GtkWidget:hexpand property. See gtk_widget_get_hexpand_set().

hscrollPolicy?: Gtk.ScrollablePolicy

Determines whether horizontal scrolling should start once the scrollable widget is allocated less than its minimum width or less than its natural width.

inputEnabled?: boolean

Controls whether the terminal allows user input. When user input is disabled, key press and mouse button press and motion events are not sent to the terminal's child.

isFocus?: boolean
margin?: number

Sets all four sides' margin at once. If read, returns max margin on any side.

marginBottom?: number

Margin on bottom side of widget.

This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

marginEnd?: number

Margin on end of widget, horizontally. This property supports left-to-right and right-to-left text directions.

This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

marginLeft?: number

Margin on left side of widget.

This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

marginRight?: number

Margin on right side of widget.

This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

marginStart?: number

Margin on start of widget, horizontally. This property supports left-to-right and right-to-left text directions.

This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

marginTop?: number

Margin on top side of widget.

This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

name?: string
noShowAll?: boolean
opacity?: number

The requested opacity of the widget. See gtk_widget_set_opacity() for more details about window opacity.

Before 3.8 this was only available in GtkWindow

parent?: Gtk.Container
pointerAutohide?: boolean

Controls the value of the terminal's mouse autohide setting. When autohiding is enabled, the mouse cursor will be hidden when the user presses a key and shown when the user moves the mouse.

pty?: Pty

The PTY object for the terminal.

receivesDefault?: boolean
rewrapOnResize?: boolean

Controls whether or not the terminal will rewrap its contents, including the scrollback buffer, whenever the terminal's width changes.

scrollOnKeystroke?: boolean

Controls whether or not the terminal will forcibly scroll to the bottom of the viewable history when the user presses a key. Modifier keys do not trigger this behavior.

scrollOnOutput?: boolean

Controls whether or not the terminal will forcibly scroll to the bottom of the viewable history when the new data is received from the child.

scrollUnitIsPixels?: boolean

Controls whether the terminal's GtkAdjustment values unit is lines or pixels. This can be enabled when the terminal is the child of a GtkScrolledWindow to fix some bugs with its kinetic scrolling.

scrollbackLines?: number

The length of the scrollback buffer used by the terminal. The size of the scrollback buffer will be set to the larger of this value and the number of visible rows the widget can display, so 0 can safely be used to disable scrollback. Note that this setting only affects the normal screen buffer. For terminal types which have an alternate screen buffer, no scrollback is allowed on the alternate screen buffer.

sensitive?: boolean
style?: Gtk.Style

The style of the widget, which contains information about how it will look (colors, etc).

textBlinkMode?: TextBlinkMode

Controls whether or not the terminal will allow blinking text.

tooltipMarkup?: string

Sets the text of tooltip to be the given string, which is marked up with the [Pango text markup language][PangoMarkupFormat]. Also see gtk_tooltip_set_markup().

This is a convenience property which will take care of getting the tooltip shown if the given string is not %NULL: #GtkWidget:has-tooltip will automatically be set to %TRUE and there will be taken care of #GtkWidget::query-tooltip in the default signal handler.

Note that if both #GtkWidget:tooltip-text and #GtkWidget:tooltip-markup are set, the last one wins.

tooltipText?: string

Sets the text of tooltip to be the given string.

Also see gtk_tooltip_set_text().

This is a convenience property which will take care of getting the tooltip shown if the given string is not %NULL: #GtkWidget:has-tooltip will automatically be set to %TRUE and there will be taken care of #GtkWidget::query-tooltip in the default signal handler.

Note that if both #GtkWidget:tooltip-text and #GtkWidget:tooltip-markup are set, the last one wins.

vadjustment?: Gtk.Adjustment

Verical #GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent.

valign?: Gtk.Align

How to distribute vertical space if widget gets extra space, see #GtkAlign

vexpand?: boolean

Whether to expand vertically. See gtk_widget_set_vexpand().

vexpandSet?: boolean

Whether to use the #GtkWidget:vexpand property. See gtk_widget_get_vexpand_set().

visible?: boolean
vscrollPolicy?: Gtk.ScrollablePolicy

Determines whether vertical scrolling should start once the scrollable widget is allocated less than its minimum height or less than its natural height.

widthRequest?: number
xalign?: Vte.Align

The horizontal alignment of terminal within its allocation.

xfill?: boolean

The horizontal fillment of terminal within its allocation.

yalign?: Vte.Align

The vertical alignment of terminal within its allocation

yfill?: boolean

The vertical fillment of terminal within its allocation

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method