Class
IdeTerminal
Instance methods
Methods inherited from VteTerminal (163)
Please see VteTerminal for a full list of methods.
Methods inherited from GtkAccessible (18)
gtk_accessible_get_accessible_parent
Retrieves the accessible parent for an accessible object.
since: 4.10
gtk_accessible_get_accessible_role
Retrieves the accessible role of an accessible object.
gtk_accessible_get_at_context
Retrieves the accessible implementation for the given GtkAccessible
.
since: 4.10
gtk_accessible_get_bounds
Queries the coordinates and dimensions of this accessible.
since: 4.10
gtk_accessible_get_first_accessible_child
Retrieves the first accessible child of an accessible object.
since: 4.10
gtk_accessible_get_next_accessible_sibling
Retrieves the next accessible sibling of an accessible object.
since: 4.10
gtk_accessible_get_platform_state
Query a platform state, such as focus.
since: 4.10
gtk_accessible_reset_property
Resets the accessible property
to its default value.
gtk_accessible_reset_relation
Resets the accessible relation
to its default value.
gtk_accessible_reset_state
Resets the accessible state
to its default value.
gtk_accessible_set_accessible_parent
Sets the parent and sibling of an accessible object.
since: 4.10
gtk_accessible_update_next_accessible_sibling
Updates the next accessible sibling of self
.
since: 4.10
gtk_accessible_update_property
Updates a list of accessible properties.
gtk_accessible_update_property_value
Updates an array of accessible properties.
gtk_accessible_update_relation
Updates a list of accessible relations.
gtk_accessible_update_relation_value
Updates an array of accessible relations.
gtk_accessible_update_state
Updates a list of accessible states. See the GtkAccessibleState
documentation for the value types of accessible states.
gtk_accessible_update_state_value
Updates an array of accessible states.
Methods inherited from GtkBuildable (1)
Methods inherited from GtkScrollable (9)
gtk_scrollable_get_border
Returns the size of a non-scrolling border around the outside of the scrollable.
gtk_scrollable_get_hadjustment
Retrieves the GtkAdjustment
used for horizontal scrolling.
gtk_scrollable_get_hscroll_policy
Gets the horizontal GtkScrollablePolicy
.
gtk_scrollable_get_vadjustment
Retrieves the GtkAdjustment
used for vertical scrolling.
gtk_scrollable_get_vscroll_policy
Gets the vertical GtkScrollablePolicy
.
gtk_scrollable_set_hadjustment
Sets the horizontal adjustment of the GtkScrollable
.
gtk_scrollable_set_hscroll_policy
Sets the GtkScrollablePolicy
.
gtk_scrollable_set_vadjustment
Sets the vertical adjustment of the GtkScrollable
.
gtk_scrollable_set_vscroll_policy
Sets the GtkScrollablePolicy
.
Properties
Properties inherited from VteTerminal (44)
Vte.Terminal:allow-bold
Controls whether or not the terminal will attempt to draw bold text, by using a bold font variant.
deprecated: 0.60
Vte.Terminal:allow-hyperlink
Controls whether or not hyperlinks (OSC 8 escape sequence) are recognized and displayed.
since: 0.50
Vte.Terminal:audible-bell
Controls whether or not the terminal will beep when the child outputs the “bl” sequence.
Vte.Terminal:backspace-binding
Controls what string or control sequence the terminal sends to its child when the user presses the backspace key.
Vte.Terminal:bold-is-bright
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.
since: 0.52
Vte.Terminal:cell-height-scale
Scale factor for the cell height, to increase line spacing. (The font’s height is not affected.)
since: 0.52
Vte.Terminal:cell-width-scale
Scale factor for the cell width, to increase letter spacing. (The font’s width is not affected.)
since: 0.52
Vte.Terminal:cjk-ambiguous-width
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.)
Vte.Terminal:context-menu
The menu used for context menus. Note that context menu model set with the
VteTerminal::context-menu-model
property or vte_terminal_set_context_menu_model()
takes precedence over this.
since: 0.76
Vte.Terminal:context-menu-model
The menu model used for context menus. If non-NULL
, the context menu is
generated from this model, and overrides a context menu set with the
VteTerminal::context-menu
property or vte_terminal_set_context_menu().
since: 0.76
Vte.Terminal:current-container-name
The name of the current container, or NULL
if unset.
Vte.Terminal:current-container-runtime
The name of the runtime toolset used to set up the current
container, or NULL
if unset.
Vte.Terminal:current-directory-uri
The current directory URI, or NULL
if unset.
Vte.Terminal:current-file-uri
The current file URI, or NULL
if unset.
Vte.Terminal:cursor-blink-mode
Sets whether or not the cursor will blink. Using VTE_CURSOR_BLINK_SYSTEM
will use the GtkSettings:gtk-cursor-blink
setting.
Vte.Terminal:cursor-shape
Controls the shape of the cursor.
Vte.Terminal:delete-binding
Controls what string or control sequence the terminal sends to its child when the user presses the delete key.
Vte.Terminal:enable-a11y
Controls whether or not a11y is enabled for the widget.
since: 0.78
Vte.Terminal:enable-bidi
Controls whether or not the terminal will perform bidirectional text rendering.
since: 0.58
Vte.Terminal:enable-fallback-scrolling
Vte.Terminal:enable-shaping
Controls whether or not the terminal will shape Arabic text.
since: 0.58
Vte.Terminal:enable-sixel
Controls whether SIXEL image support is enabled.
since: 0.62
Vte.Terminal:encoding
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.
deprecated: 0.54
Vte.Terminal:font-desc
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.
Vte.Terminal:font-options
The terminal’s font options, or NULL
to use the default font options.
since: 0.74
Vte.Terminal:font-scale
The terminal’s font scale.
Vte.Terminal:hyperlink-hover-uri
The currently hovered hyperlink URI, or NULL
if unset.
since: 0.50
Vte.Terminal:icon-title
deprecated: 0.54
Vte.Terminal:input-enabled
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.
Vte.Terminal:pointer-autohide
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.
Vte.Terminal:pty
The PTY object for the terminal.
Vte.Terminal:rewrap-on-resize
Controls whether or not the terminal will rewrap its contents, including the scrollback buffer, whenever the terminal’s width changes.
deprecated: 0.58
Vte.Terminal:scroll-on-insert
Controls whether or not the terminal will forcibly scroll to the bottom of the viewable history when the text is inserted (e.g. by a paste).
since: 0.76
Vte.Terminal:scroll-on-keystroke
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.
Vte.Terminal:scroll-on-output
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.
Vte.Terminal:scroll-unit-is-pixels
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.
since: 0.66
Vte.Terminal:scrollback-lines
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.
Vte.Terminal:text-blink-mode
Controls whether or not the terminal will allow blinking text.
since: 0.52
Vte.Terminal:window-title
The terminal’s title.
Vte.Terminal:word-char-exceptions
The set of characters which will be considered parts of a word when doing word-wise selection, in addition to the default which only considers alphanumeric characters part of a word.
since: 0.40
Vte.Terminal:xalign
The horizontal alignment of terminal
within its allocation.
since: 0.76
Vte.Terminal:xfill
The horizontal fillment of terminal
within its allocation.
since: 0.76
Vte.Terminal:yalign
The vertical alignment of terminal
within its allocation.
since: 0.76
Vte.Terminal:yfill
The vertical fillment of terminal
within its allocation.
Note that VteTerminal:yfill
=TRUE
is only supported with
VteTerminal:yalign
=VTE_ALIGN_START
, and is ignored for
all other yalign values.
since: 0.76
Properties inherited from GtkWidget (34)
Gtk.Widget:can-focus
Whether the widget or any of its descendents can accept the input focus.
Gtk.Widget:can-target
Whether the widget can receive pointer events.
Gtk.Widget:css-classes
A list of css classes applied to this widget.
Gtk.Widget:css-name
The name of this widget in the CSS tree.
Gtk.Widget:cursor
The cursor used by widget
.
Gtk.Widget:focus-on-click
Whether the widget should grab focus when it is clicked with the mouse.
Gtk.Widget:focusable
Whether this widget itself will accept the input focus.
Gtk.Widget:halign
How to distribute horizontal space if widget gets extra space.
Gtk.Widget:has-default
Whether the widget is the default widget.
Gtk.Widget:has-focus
Whether the widget has the input focus.
Gtk.Widget:has-tooltip
Enables or disables the emission of the ::query-tooltip signal on widget
.
Gtk.Widget:height-request
Override for height request of the widget.
Gtk.Widget:hexpand
Whether to expand horizontally.
Gtk.Widget:hexpand-set
Whether to use the hexpand
property.
Gtk.Widget:layout-manager
The GtkLayoutManager
instance to use to compute the preferred size
of the widget, and allocate its children.
Gtk.Widget:margin-bottom
Margin on bottom side of widget.
Gtk.Widget:margin-end
Margin on end of widget, horizontally.
Gtk.Widget:margin-start
Margin on start of widget, horizontally.
Gtk.Widget:margin-top
Margin on top side of widget.
Gtk.Widget:name
The name of the widget.
Gtk.Widget:opacity
The requested opacity of the widget.
Gtk.Widget:overflow
How content outside the widget’s content area is treated.
Gtk.Widget:parent
The parent widget of this widget.
Gtk.Widget:receives-default
Whether the widget will receive the default action when it is focused.
Gtk.Widget:root
The GtkRoot
widget of the widget tree containing this widget.
Gtk.Widget:scale-factor
The scale factor of the widget.
Gtk.Widget:sensitive
Whether the widget responds to input.
Gtk.Widget:tooltip-markup
Sets the text of tooltip to be the given string, which is marked up with Pango markup.
Gtk.Widget:tooltip-text
Sets the text of tooltip to be the given string.
Gtk.Widget:valign
How to distribute vertical space if widget gets extra space.
Gtk.Widget:vexpand
Whether to expand vertically.
Gtk.Widget:vexpand-set
Whether to use the vexpand
property.
Gtk.Widget:visible
Whether the widget is visible.
Gtk.Widget:width-request
Override for width request of the widget.
Properties inherited from GtkAccessible (1)
Properties inherited from GtkScrollable (4)
Gtk.Scrollable:hadjustment
Horizontal GtkAdjustment
of the scrollable widget.
Gtk.Scrollable:hscroll-policy
Determines when horizontal scrolling should start.
Gtk.Scrollable:vadjustment
Vertical GtkAdjustment
of the scrollable widget.
Gtk.Scrollable:vscroll-policy
Determines when vertical scrolling should start.
Signals
Signals inherited from VteTerminal (33)
VteTerminal::bell
This signal is emitted when the a child sends a bell request to the terminal.
VteTerminal::char-size-changed
Emitted whenever the cell size changes, e.g. due to a change in font, font-scale or cell-width/height-scale.
VteTerminal::child-exited
This signal is emitted when the terminal detects that a child
watched using vte_terminal_watch_child()
has exited.
VteTerminal::commit
Emitted whenever the terminal receives input from the user and prepares to send it to the child process.
VteTerminal::contents-changed
Emitted whenever the visible appearance of the terminal has changed.
Used primarily by VteTerminalAccessible
.
VteTerminal::copy-clipboard
Emitted whenever vte_terminal_copy_clipboard()
is called.
VteTerminal::current-directory-uri-changed
Emitted when the current directory URI is modified.
VteTerminal::current-file-uri-changed
Emitted when the current file URI is modified.
VteTerminal::cursor-moved
Emitted whenever the cursor moves to a new character cell. Used
primarily by VteTerminalAccessible
.
VteTerminal::decrease-font-size
Emitted when the user hits the ‘-‘ key while holding the Control key.
VteTerminal::deiconify-window
Never emitted.
deprecated: 0.60
VteTerminal::encoding-changed
Emitted whenever the terminal’s current encoding has changed.
VteTerminal::eof
Emitted when the terminal receives an end-of-file from a child which
is running in the terminal. This signal is frequently (but not
always) emitted with a VteTerminal::child-exited
signal.
VteTerminal::hyperlink-hover-uri-changed
Emitted when the hovered hyperlink changes.
since: 0.50
VteTerminal::icon-title-changed
deprecated: 0.54
VteTerminal::iconify-window
Never emitted.
deprecated: 0.60
VteTerminal::increase-font-size
Emitted when the user hits the ‘+’ key while holding the Control key.
VteTerminal::lower-window
Never emitted.
deprecated: 0.60
VteTerminal::maximize-window
Never emitted.
deprecated: 0.60
VteTerminal::move-window
Never emitted.
deprecated: 0.60
VteTerminal::notification-received
Emitted when a process running in the terminal wants to send a notification to the desktop environment.
VteTerminal::paste-clipboard
Emitted whenever vte_terminal_paste_clipboard()
is called.
VteTerminal::raise-window
Never emitted.
deprecated: 0.60
VteTerminal::refresh-window
Never emitted.
deprecated: 0.60
VteTerminal::resize-window
Emitted at the child application’s request.
VteTerminal::restore-window
Never emitted.
deprecated: 0.60
VteTerminal::selection-changed
Emitted whenever the contents of terminal’s selection changes.
VteTerminal::setup-context-menu
Emitted with non-NULL
context before terminal
shows a context menu.
The handler may set either a menu model using
vte_terminal_set_context_menu_model(), or a menu using
vte_terminal_set_context_menu(), which will then be used as context
menu.
If neither a menu model nor a menu are set, a context menu
will not be shown.
VteTerminal::shell-precmd
Emitted right before an interactive shell shows a first-level prompt.
VteTerminal::shell-preexec
Emitted when the interactive shell has read in a complete command and is about to execute it.
VteTerminal::termprop-changed
The “termprop-changed” signal is emitted when a termprop has changed or been reset.
since: 0.78
VteTerminal::termprops-changed
Emitted when termprops have changed. props
is an array containing
the IDs of the terminal properties that may have changed since
the last emission of this signal, in an undefined order.
Note that emission of this signal is delayed from the receipt of the
OSC sequences, and a termprop may have been changed more than once
inbetween signal emissions, but only the value set last is retrievable.
since: 0.78
VteTerminal::window-title-changed
Emitted when the VteTerminal:window-title
property is modified.
Signals inherited from GtkWidget (13)
GtkWidget::destroy
Signals that all holders of a reference to the widget should release the reference that they hold.
GtkWidget::direction-changed
Emitted when the text direction of a widget changes.
GtkWidget::hide
Emitted when widget
is hidden.
GtkWidget::keynav-failed
Emitted if keyboard navigation fails.
GtkWidget::map
Emitted when widget
is going to be mapped.
GtkWidget::mnemonic-activate
Emitted when a widget is activated via a mnemonic.
GtkWidget::move-focus
Emitted when the focus is moved.
GtkWidget::query-tooltip
Emitted when the widget’s tooltip is about to be shown.
GtkWidget::realize
Emitted when widget
is associated with a GdkSurface
.
GtkWidget::show
Emitted when widget
is shown.
GtkWidget::state-flags-changed
Emitted when the widget state changes.
GtkWidget::unmap
Emitted when widget
is going to be unmapped.
GtkWidget::unrealize
Emitted when the GdkSurface
associated with widget
is destroyed.
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.