Creates a new terminal widget.
Returns a nonempty string: the target of the explicit hyperlink (printed using the OSC 8 escape sequence) at the position (x, y), or null.
Checks if the text in and around the position (x, y) matches any of the regular expressions previously set using vte_terminal_match_add(). If a match exists, the text string is returned and if tag is not null, the number associated with the matched regular expression will be stored in tag.
Like vte.terminal.Terminal.checkRegexSimpleAt, but returns an array of strings, containing the matching text (or null if no match) corresponding to each of the regexes in regexes.
Connect to Bell signal.
Connect to CharSizeChanged signal.
Connect to ChildExited signal.
Connect to Commit signal.
Connect to ContentsChanged signal.
Connect to CopyClipboard signal.
Connect to CurrentDirectoryUriChanged signal.
Connect to CurrentFileUriChanged signal.
Connect to CursorMoved signal.
Connect to DecreaseFontSize signal.
Connect to DeiconifyWindow signal.
Connect to EncodingChanged signal.
Connect to Eof signal.
Connect to HyperlinkHoverUriChanged signal.
Connect to IconTitleChanged signal.
Connect to IconifyWindow signal.
Connect to IncreaseFontSize signal.
Connect to LowerWindow signal.
Connect to MaximizeWindow signal.
Connect to MoveWindow signal.
Connect to PasteClipboard signal.
Connect to RaiseWindow signal.
Connect to RefreshWindow signal.
Connect to ResizeWindow signal.
Connect to RestoreWindow signal.
Connect to SelectionChanged signal.
Connect to SetupContextMenu signal.
Connect to WindowTitleChanged signal.
Places the selected text in the terminal in the #GDK_SELECTION_CLIPBOARD selection.
Places the selected text in the terminal in the #GDK_SELECTION_CLIPBOARD selection in the form specified by format.
Places the selected text in the terminal in the #GDK_SELECTION_PRIMARY selection.
Interprets data as if it were data received from a child process.
Sends a block of UTF-8 text to the child as if it were entered by the user at the keyboard.
Sends a block of binary data to the child.
Checks whether or not the terminal will attempt to draw bold text, by using a bold font variant.
Checks whether or not hyperlinks (OSC 8 escape sequence) are allowed.
Checks whether or not the terminal will beep when the child outputs the "bl" sequence.
Checks 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.
Returns whether ambiguous-width characters are narrow or wide. (Note that when using a non-UTF-8 encoding set via vte.terminal.Terminal.setEncoding, the width of ambiguous-width characters is fixed and determined by the encoding itself.)
Returns the background colour, as used by terminal when drawing the background, which may be different from the color set by vte.terminal.Terminal.setColorBackground.
Returns the currently set cursor blink mode.
Reads the location of the insertion cursor and returns it. The row coordinate is absolute.
Returns the currently set cursor shape.
Checks whether the terminal performs bidirectional text rendering.
Checks whether the terminal shapes Arabic text.
Determines the name of the encoding in which the terminal expects data to be encoded, or null if UTF-8 is in use.
Queries the terminal for information about the fonts which will be used to draw text in the terminal. The actual font takes the font scale into account, this is not reflected in the return value, the unscaled font is returned.
Checks if the terminal currently contains selected text. Note that this is different from determining if the terminal is the owner of any #GtkClipboard items.
Returns whether the terminal allow user input.
Determines 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. This setting can be changed using vte.terminal.Terminal.setMouseAutohide.
Returns the #VtePty of terminal.
Checks whether or not the terminal will rewrap its contents upon resize.
Checks whether or not the terminal will allow blinking text.
Returns text from the visible part of the terminal in the specified format.
Returns the specified range of text in the specified format.
Gets the currently selected text in the format specified by format. Since 0.72, this function also supports vte.types.Format.Html format.
Gets the currently selected text in the format specified by format.
Returns 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.
Adds the regular expression regex to the list of matching expressions. When the user moves the mouse cursor over a section of displayed text which matches this expression, the text will be highlighted.
Checks if the text in and around the specified position matches any of the regular expressions previously set using vte_terminal_match_add(). If a match exists, the text string is returned and if tag is not null, the number associated with the matched regular expression will be stored in tag.
Removes the regular expression which is associated with the given tag from the list of expressions which the terminal will highlight when the user moves the mouse cursor over matching text.
Clears the list of regular expressions the terminal uses to highlight text when the user moves the mouse cursor.
Sets which cursor the terminal will use if the pointer is over the pattern specified by tag. The terminal keeps a reference to cursor.
Sets which cursor the terminal will use if the pointer is over the pattern specified by tag.
Sends the contents of the #GDK_SELECTION_CLIPBOARD selection to the terminal's child. It's called on paste menu item, or when user presses Shift+Insert.
Sends the contents of the #GDK_SELECTION_PRIMARY selection to the terminal's child. The terminal will call also paste the #GDK_SELECTION_PRIMARY selection when the user clicks with the the second mouse button.
Sends text to the terminal's child as if retrived from the clipboard, this differs from vte.terminal.Terminal.feedChild in that it may process text before passing it to the child (e.g. apply bracketed mode)
Creates a new #VtePty, sets the emulation property from #VteTerminal:emulation, and sets the size using terminal's size.
Resets as much of the terminal's internal state as possible, discarding any unprocessed input data, resetting character attributes, cursor state, national character set state, status line, terminal modes (insert/delete), selection state, and encoding.
Searches the next string matching the search regex set with vte.terminal.Terminal.searchSetRegex.
Searches the previous string matching the search regex set with vte.terminal.Terminal.searchSetRegex.
Sets the regex to search for. Unsets the search regex when passed null.
Sets whether search should wrap around to the beginning of the terminal content when reaching its end.
Selects all text within the terminal (not including the scrollback buffer).
Controls whether or not the terminal will attempt to draw bold text, by using a bold font variant.
Controls whether or not hyperlinks (OSC 8 escape sequence) are allowed.
Controls whether or not the terminal will beep when the child outputs the "bl" sequence.
Modifies the terminal's backspace key binding, which controls what string or control sequence the terminal sends to its child when the user presses the backspace key.
Sets 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.
Sets the terminal's cell height scale to scale.
Sets the terminal's cell width scale to scale.
This setting controls whether ambiguous-width characters are narrow or wide. (Note that when using a non-UTF-8 encoding set via vte.terminal.Terminal.setEncoding, the width of ambiguous-width characters is fixed and determined by the encoding itself.)
Sets whether to paint the background with the background colour. The default is true.
Sets the background color for text which does not have a specific background color assigned. Only has effect when no background image is set and when the terminal is not transparent.
Sets the color used to draw bold text in the default foreground color. If bold is null then the default color is used.
Sets the background color for text which is under the cursor. If null, text under the cursor will be drawn with foreground and background colors reversed.
Sets the foreground color for text which is under the cursor. If null, text under the cursor will be drawn with foreground and background colors reversed.
Sets the foreground color used to draw normal text.
Sets the background color for text which is highlighted. If null, it is unset. If neither highlight background nor highlight foreground are set, highlighted text (which is usually highlighted because it is selected) will be drawn with foreground and background colors reversed.
Sets the foreground color for text which is highlighted. If null, it is unset. If neither highlight background nor highlight foreground are set, highlighted text (which is usually highlighted because it is selected) will be drawn with foreground and background colors reversed.
palette specifies the new values for the 256 palette colors: 8 standard colors, their 8 bright counterparts, 6x6x6 color cube, and 24 grayscale colors. Omitted entries will default to a hardcoded value.
Sets menu as the context menu in terminal. Use null to unset the current menu.
Sets model as the context menu model in terminal. Use null to unset the current menu model.
Sets whether or not the cursor will blink. Using vte.types.CursorBlinkMode.System will use the #GtkSettings::gtk-cursor-blink setting.
Sets the shape of the cursor drawn.
Reset the terminal palette to reasonable compiled-in default color.
Modifies the terminal's delete key binding, which controls what string or control sequence the terminal sends to its child when the user presses the delete key.
Controls whether or not the terminal will perform bidirectional text rendering.
Controls whether the terminal uses scroll events to scroll the history if the event was not otherwise consumed by it.
Controls whether or not the terminal will shape Arabic text.
Set whether to enable SIXEL images.
Changes 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. If codeset is null, it uses "UTF-8".
Sets the font used for rendering all text displayed by the terminal, overriding any fonts set using gtk.widget.Widget.modifyFont. 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. The font scale is applied to the specified font.
Sets the terminal's font options to options.
Sets the terminal's font scale to scale.
Enables or disables user input. When user input is disabled, the terminal's child will not receive any key press, or mouse button press or motion events sent to it.
Changes 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. This setting can be read using vte.terminal.Terminal.getMouseAutohide.
Sets pty as the PTY to use in terminal. Use null to unset the PTY.
Controls whether or not the terminal will rewrap its contents, including the scrollback history, whenever the terminal's width changes.
Controls whether or not the terminal will forcibly scroll to the bottom of the viewable history when text is inserted, e.g. by a paste.
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.
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.
Controls whether the terminal's scroll unit is lines or pixels.
Sets 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.
Attempts to change the terminal's size in terms of rows and columns. If the attempt succeeds, the widget will resize itself to the proper size.
Controls whether or not the terminal will allow blinking text.
With this function you can provide a 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.
Sets the horizontal alignment of terminal within its allocation.
Sets the horizontal fillment of terminal within its allocation.
Sets the vertical alignment of terminal within its allocation.
Sets the vertical fillment of terminal within its allocation. Note that yfill is only supported with yalign set to vte.types.Align.Start, and is ignored for all other yalign values.
A convenience function that wraps creating the #VtePty and spawning the child process on it. Like vte.terminal.Terminal.spawnWithFdsAsync, except that this function does not allow passing file descriptors to the child process. See vte.terminal.Terminal.spawnWithFdsAsync for more information.
Starts the specified command under a newly-allocated controlling pseudo-terminal. The argv and envv lists should be null-terminated. The "TERM" environment variable is automatically set to a default value, but can be overridden from envv. pty_flags controls logging the session to the specified system log files.
A convenience function that wraps creating the #VtePty and spawning the child process on it. See vte.pty.Pty.newSync, vte.pty.Pty.spawnWithFdsAsync, and vte.pty.Pty.spawnFinish for more information.
Clears the current selection.
Watches child_pid. When the process exists, the #VteTerminal::child-exited signal will be called with the child's exit status.
Write contents of the current contents of terminal (including any scrollback history) to stream according to flags.
Returns the size of a non-scrolling border around the outside of the scrollable.
Retrieves the gtk.adjustment.Adjustment used for horizontal scrolling.
Gets the horizontal gtk.types.ScrollablePolicy.
Retrieves the gtk.adjustment.Adjustment used for vertical scrolling.
Gets the vertical gtk.types.ScrollablePolicy.
Sets the horizontal adjustment of the gtk.scrollable.Scrollable.
Sets the gtk.types.ScrollablePolicy.
Sets the vertical adjustment of the gtk.scrollable.Scrollable.
Sets the gtk.types.ScrollablePolicy.
Obtains the current default reading direction.
Sets the default reading direction for widgets.
Enable or disable an action installed with gtk.widget_class.WidgetClass.installAction.
For widgets that can be “activated” (buttons, menu items, etc.), this function activates them.
Looks up the action in the action groups associated with widget and its ancestors, and activates it.
Activates the default.activate action from widget.
Adds controller to widget so that it will receive events.
Adds a style class to widget.
Adds a widget to the list of mnemonic labels for this widget.
Queues an animation frame update and adds a callback to be called before each frame.
This function is only used by gtk.widget.Widget subclasses, to assign a size, position and (optionally) baseline to their child widgets.
Called by widgets as the user moves around the window using keyboard shortcuts.
Computes the bounds for widget in the coordinate space of target.
Computes whether a container should give this widget extra space when possible.
Translates the given point in widget's coordinates to coordinates relative to target’s coordinate system.
Computes a matrix suitable to describe a transformation from widget's coordinate system into target's coordinate system.
Tests if the point at (x, y) is contained in widget.
Creates a new pango.context.Context with the appropriate font map, font options, font description, and base direction for drawing text for this widget.
Creates a new pango.layout.Layout with the appropriate font map, font description, and base direction for drawing text for this widget.
Clears the template children for the given widget.
Checks to see if a drag movement has passed the GTK drag threshold.
Notifies the user about an input-related error on this widget.
Returns the baseline that has currently been allocated to widget.
Returns the height that has currently been allocated to widget.
Returns the width that has currently been allocated to widget.
Gets the first ancestor of widget with type widget_type.
Returns the baseline that has currently been allocated to widget.
Determines whether the input focus can enter widget or any of its children.
Queries whether widget can be the target of pointer events.
Gets the value set with gtk.widget.Widget.setChildVisible.
Gets the clipboard object for widget.
Gets the current foreground color for the widget’s CSS style.
Returns the list of style classes applied to widget.
Returns the CSS name that is used for self.
Queries the cursor set on widget.
Gets the reading direction for a particular widget.
Get the gdk.display.Display for the toplevel window associated with this widget.
Returns the widget’s first child.
Returns the current focus child of widget.
Returns whether the widget should grab focus when it is clicked with the mouse.
Determines whether widget can own the input focus.
Gets the font map of widget.
Returns the cairo.font_options.FontOptions of widget.
Obtains the frame clock for a widget.
Gets the horizontal alignment of widget.
Returns the current value of the has-tooltip property.
Returns the content height of the widget.
Gets whether the widget would like any available extra horizontal space.
Gets whether gtk.widget.Widget.setHexpand has been used to explicitly set the expand flag on this widget.
Returns the widget’s last child.
Retrieves the layout manager used by widget.
Whether the widget is mapped.
Gets the bottom margin of widget.
Gets the end margin of widget.
Gets the start margin of widget.
Gets the top margin of widget.
Retrieves the name of a widget.
Returns the nearest gtk.native.Native ancestor of widget.
Returns the widget’s next sibling.
#Fetches the requested opacity for this widget.
Returns the widget’s overflow value.
Gets a pango.context.Context with the appropriate font map, font description, and base direction for this widget.
Returns the parent widget of widget.
Retrieves the minimum and natural size of a widget, taking into account the widget’s preference for height-for-width management.
Returns the widget’s previous sibling.
Gets the primary clipboard of widget.
Determines whether widget is realized.
Determines whether widget is always treated as the default widget within its toplevel when it has the focus, even if another widget is the default.
Gets whether the widget prefers a height-for-width layout or a width-for-height layout.
Returns the gtk.root.Root widget of widget.
Retrieves the internal scale factor that maps from window coordinates to the actual device pixels.
Returns the widget’s sensitivity.
Gets the settings object holding the settings used for this widget.
Returns the content width or height of the widget.
Gets the size request that was explicitly set for the widget using gtk.widget.Widget.setSizeRequest.
Returns the widget state as a flag set.
Returns the style context associated to widget.
Fetch an object build from the template XML for widget_type in this widget instance.
Gets the contents of the tooltip for widget.
Gets the contents of the tooltip for widget.
Gets the vertical alignment of widget.
Gets whether the widget would like any available extra vertical space.
Gets whether gtk.widget.Widget.setVexpand has been used to explicitly set the expand flag on this widget.
Determines whether the widget is visible.
Returns the content width of the widget.
Causes widget to have the keyboard focus for the gtk.window.Window it's inside.
Returns whether css_class is currently applied to widget.
Determines whether widget is the current default widget within its toplevel.
Determines if the widget has the global input focus.
Determines if the widget should show a visible indication that it has the global input focus.
Reverses the effects of gtk.widget.Widget.show.
Returns whether the widget is currently being destroyed.
Creates and initializes child widgets defined in templates.
Inserts group into widget.
Inserts widget into the child widget list of parent.
Inserts widget into the child widget list of parent.
Determines whether widget is somewhere inside ancestor, possibly with intermediate containers.
Determines whether widget can be drawn to.
Determines if the widget is the focus widget within its toplevel.
Returns the widget’s effective sensitivity.
Determines whether the widget and all its parents are marked as visible.
Emits the ::keynav-failed signal on the widget.
Returns the widgets for which this widget is the target of a mnemonic.
Causes a widget to be mapped if it isn’t already.
Measures widget in the orientation orientation and for the given for_size.
Emits the ::mnemonic-activate signal.
Returns a gio.list_model.ListModel to track the children of widget.
Returns a gio.list_model.ListModel to track the gtk.event_controller.EventControllers of widget.
Finds the descendant of widget closest to the point (x, y).
Flags the widget for a rerun of the vfuncGtk.Widget.size_allocate function.
Schedules this widget to be redrawn in the paint phase of the current or the next frame.
Flags a widget to have its size renegotiated.
Creates the GDK resources associated with a widget.
Removes controller from widget, so that it doesn't process events anymore.
Removes a style from widget.
Removes a widget from the list of mnemonic labels for this widget.
Removes a tick callback previously registered with gtk.widget.Widget.addTickCallback.
Specifies whether the input focus can enter the widget or any of its children.
Sets whether widget can be the target of pointer events.
Sets whether widget should be mapped along with its parent.
Clear all style classes applied to widget and replace them with classes.
Sets the cursor to be shown when pointer devices point towards widget.
Sets a named cursor to be shown when pointer devices point towards widget.
Sets the reading direction on a particular widget.
Set child as the current focus child of widget.
Sets whether the widget should grab focus when it is clicked with the mouse.
Specifies whether widget can own the input focus.
Sets the font map to use for Pango rendering.
Sets the cairo.font_options.FontOptions used for Pango rendering in this widget.
Sets the horizontal alignment of widget.
Sets the has-tooltip property on widget to has_tooltip.
Sets whether the widget would like any available extra horizontal space.
Sets whether the hexpand flag will be used.
Sets the layout manager delegate instance that provides an implementation for measuring and allocating the children of widget.
Sets the bottom margin of widget.
Sets the end margin of widget.
Sets the start margin of widget.
Sets the top margin of widget.
Sets a widgets name.
Request the widget to be rendered partially transparent.
Sets how widget treats content that is drawn outside the widget's content area.
Sets parent as the parent widget of widget.
Specifies whether widget will be treated as the default widget within its toplevel when it has the focus, even if another widget is the default.
Sets the sensitivity of a widget.
Sets the minimum size of a widget.
Turns on flag values in the current widget state.
Sets markup as the contents of the tooltip, which is marked up with Pango markup.
Sets text as the contents of the tooltip.
Sets the vertical alignment of widget.
Sets whether the widget would like any available extra vertical space.
Sets whether the vexpand flag will be used.
Sets the visibility state of widget.
Returns whether widget should contribute to the measuring and allocation of its parent.
Flags a widget to be displayed.
Snapshot the a child of widget.
Translate coordinates relative to src_widget’s allocation to coordinates relative to dest_widget’s allocations.
Triggers a tooltip query on the display where the toplevel of widget is located.
Causes a widget to be unmapped if it’s currently mapped.
Dissociate widget from its parent.
Causes a widget to be unrealized (frees all GDK resources associated with the widget).
Turns off flag values for the current widget state.
Connect to Destroy signal.
Connect to DirectionChanged signal.
Connect to Hide signal.
Connect to KeynavFailed signal.
Connect to Map signal.
Connect to MnemonicActivate signal.
Connect to MoveFocus signal.
Connect to QueryTooltip signal.
Connect to Realize signal.
Connect to Show signal.
Connect to StateFlagsChanged signal.
Connect to Unmap signal.
Connect to Unrealize signal.
Returns the size of a non-scrolling border around the outside of the scrollable.
Retrieves the gtk.adjustment.Adjustment used for horizontal scrolling.
Gets the horizontal gtk.types.ScrollablePolicy.
Retrieves the gtk.adjustment.Adjustment used for vertical scrolling.
Gets the vertical gtk.types.ScrollablePolicy.
Sets the horizontal adjustment of the gtk.scrollable.Scrollable.
Sets the gtk.types.ScrollablePolicy.
Sets the vertical adjustment of the gtk.scrollable.Scrollable.
Sets the gtk.types.ScrollablePolicy.