Gjsify LogoGjsify Logo

Hierarchy

Index

Properties

allow_bold?: boolean

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

allow_hyperlink?: boolean

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

app_paintable?: boolean
audible_bell?: boolean

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

backspace_binding?: EraseBinding

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

bold_is_bright?: 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.

can_default?: boolean
can_focus?: boolean
cell_height_scale?: number

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

cell_width_scale?: number

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

cjk_ambiguous_width?: 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().

cursor_blink_mode?: CursorBlinkMode

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

cursor_shape?: Vte.CursorShape

Controls the shape of the cursor.

delete_binding?: EraseBinding

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

double_buffered?: boolean

Whether the widget is double buffered.

enable_bidi?: boolean

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

enable_fallback_scrolling?: boolean
enable_shaping?: boolean

Controls whether or not the terminal will shape Arabic text.

enable_sixel?: 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

focus_on_click?: 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.

font_desc?: 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.

font_scale?: 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

has_default?: boolean
has_focus?: boolean
has_tooltip?: 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.

height_request?: number
hexpand?: boolean

Whether to expand horizontally. See gtk_widget_set_hexpand().

hexpand_set?: boolean

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

hscroll_policy?: 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.

input_enabled?: 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.

is_focus?: boolean
margin?: number

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

margin_bottom?: 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.

margin_end?: 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.

margin_left?: 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.

margin_right?: 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.

margin_start?: 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.

margin_top?: 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
no_show_all?: 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
pointer_autohide?: 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.

receives_default?: boolean
rewrap_on_resize?: boolean

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

scroll_on_keystroke?: 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.

scroll_on_output?: 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.

scroll_unit_is_pixels?: 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.

scrollback_lines?: 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).

text_blink_mode?: TextBlinkMode

Controls whether or not the terminal will allow blinking text.

tooltip_markup?: 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.

tooltip_text?: 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().

vexpand_set?: boolean

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

visible?: boolean
vscroll_policy?: 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.

width_request?: 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