Trait vte4::prelude::TerminalExt

source ·
pub trait TerminalExt: IsA<Terminal> + Sealed + 'static {
Show 185 methods // Provided methods fn check_hyperlink_at(&self, x: f64, y: f64) -> Option<GString> { ... } fn check_match_at(&self, x: f64, y: f64) -> (Option<GString>, i32) { ... } fn copy_clipboard_format(&self, format: Format) { ... } fn copy_primary(&self) { ... } fn feed(&self, data: &[u8]) { ... } fn feed_child(&self, text: &[u8]) { ... } fn allows_hyperlink(&self) -> bool { ... } fn is_audible_bell(&self) -> bool { ... } fn is_bold_is_bright(&self) -> bool { ... } fn cell_height_scale(&self) -> f64 { ... } fn cell_width_scale(&self) -> f64 { ... } fn char_height(&self) -> c_long { ... } fn char_width(&self) -> c_long { ... } fn cjk_ambiguous_width(&self) -> i32 { ... } fn color_background_for_draw(&self) -> RGBA { ... } fn column_count(&self) -> c_long { ... } fn context_menu(&self) -> Option<Widget> { ... } fn context_menu_model(&self) -> Option<MenuModel> { ... } fn current_container_name(&self) -> Option<GString> { ... } fn current_container_runtime(&self) -> Option<GString> { ... } fn current_directory_uri(&self) -> Option<GString> { ... } fn current_file_uri(&self) -> Option<GString> { ... } fn cursor_blink_mode(&self) -> CursorBlinkMode { ... } fn cursor_position(&self) -> (c_long, c_long) { ... } fn cursor_shape(&self) -> CursorShape { ... } fn enables_a11y(&self) -> bool { ... } fn enables_bidi(&self) -> bool { ... } fn enables_fallback_scrolling(&self) -> bool { ... } fn enables_shaping(&self) -> bool { ... } fn enables_sixel(&self) -> bool { ... } fn font(&self) -> Option<FontDescription> { ... } fn font_options(&self) -> Option<FontOptions> { ... } fn font_scale(&self) -> f64 { ... } fn has_selection(&self) -> bool { ... } fn is_input_enabled(&self) -> bool { ... } fn is_mouse_autohide(&self) -> bool { ... } fn pty(&self) -> Option<Pty> { ... } fn row_count(&self) -> c_long { ... } fn is_scroll_on_insert(&self) -> bool { ... } fn is_scroll_on_keystroke(&self) -> bool { ... } fn is_scroll_on_output(&self) -> bool { ... } fn is_scroll_unit_is_pixels(&self) -> bool { ... } fn scrollback_lines(&self) -> c_long { ... } fn text_blink_mode(&self) -> TextBlinkMode { ... } fn text_format(&self, format: Format) -> Option<GString> { ... } fn text_range_format( &self, format: Format, start_row: c_long, start_col: c_long, end_row: c_long, end_col: c_long, ) -> (Option<GString>, usize) { ... } fn text_selected(&self, format: Format) -> Option<GString> { ... } fn text_selected_full(&self, format: Format) -> (Option<GString>, usize) { ... } fn window_title(&self) -> Option<GString> { ... } fn word_char_exceptions(&self) -> Option<GString> { ... } fn xalign(&self) -> Align { ... } fn is_xfill(&self) -> bool { ... } fn yalign(&self) -> Align { ... } fn is_yfill(&self) -> bool { ... } fn match_add_regex(&self, regex: &Regex, flags: u32) -> i32 { ... } fn match_remove(&self, tag: i32) { ... } fn match_remove_all(&self) { ... } fn match_set_cursor_name(&self, tag: i32, cursor_name: &str) { ... } fn paste_clipboard(&self) { ... } fn paste_primary(&self) { ... } fn paste_text(&self, text: &str) { ... } fn pty_new_sync( &self, flags: PtyFlags, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<Pty, Error> { ... } fn reset(&self, clear_tabstops: bool, clear_history: bool) { ... } fn search_find_next(&self) -> bool { ... } fn search_find_previous(&self) -> bool { ... } fn search_get_regex(&self) -> Option<Regex> { ... } fn search_get_wrap_around(&self) -> bool { ... } fn search_set_regex(&self, regex: Option<&Regex>, flags: u32) { ... } fn search_set_wrap_around(&self, wrap_around: bool) { ... } fn select_all(&self) { ... } fn set_allow_hyperlink(&self, allow_hyperlink: bool) { ... } fn set_audible_bell(&self, is_audible: bool) { ... } fn set_backspace_binding(&self, binding: EraseBinding) { ... } fn set_bold_is_bright(&self, bold_is_bright: bool) { ... } fn set_cell_height_scale(&self, scale: f64) { ... } fn set_cell_width_scale(&self, scale: f64) { ... } fn set_cjk_ambiguous_width(&self, width: i32) { ... } fn set_clear_background(&self, setting: bool) { ... } fn set_color_background(&self, background: &RGBA) { ... } fn set_color_bold(&self, bold: Option<&RGBA>) { ... } fn set_color_cursor(&self, cursor_background: Option<&RGBA>) { ... } fn set_color_cursor_foreground(&self, cursor_foreground: Option<&RGBA>) { ... } fn set_color_foreground(&self, foreground: &RGBA) { ... } fn set_color_highlight(&self, highlight_background: Option<&RGBA>) { ... } fn set_color_highlight_foreground( &self, highlight_foreground: Option<&RGBA>, ) { ... } fn set_context_menu(&self, menu: Option<&impl IsA<Widget>>) { ... } fn set_context_menu_model(&self, model: Option<&impl IsA<MenuModel>>) { ... } fn set_cursor_blink_mode(&self, mode: CursorBlinkMode) { ... } fn set_cursor_shape(&self, shape: CursorShape) { ... } fn set_default_colors(&self) { ... } fn set_delete_binding(&self, binding: EraseBinding) { ... } fn set_enable_a11y(&self, enable_a11y: bool) { ... } fn set_enable_bidi(&self, enable_bidi: bool) { ... } fn set_enable_fallback_scrolling(&self, enable: bool) { ... } fn set_enable_shaping(&self, enable_shaping: bool) { ... } fn set_enable_sixel(&self, enabled: bool) { ... } fn set_font(&self, font_desc: Option<&FontDescription>) { ... } fn set_font_options(&self, font_options: Option<&FontOptions>) { ... } fn set_font_scale(&self, scale: f64) { ... } fn set_input_enabled(&self, enabled: bool) { ... } fn set_mouse_autohide(&self, setting: bool) { ... } fn set_pty(&self, pty: Option<&Pty>) { ... } fn set_scroll_on_insert(&self, scroll: bool) { ... } fn set_scroll_on_keystroke(&self, scroll: bool) { ... } fn set_scroll_on_output(&self, scroll: bool) { ... } fn set_scroll_unit_is_pixels(&self, enable: bool) { ... } fn set_scrollback_lines(&self, lines: c_long) { ... } fn set_size(&self, columns: c_long, rows: c_long) { ... } fn set_text_blink_mode(&self, text_blink_mode: TextBlinkMode) { ... } fn set_word_char_exceptions(&self, exceptions: &str) { ... } fn set_xalign(&self, align: Align) { ... } fn set_xfill(&self, fill: bool) { ... } fn set_yalign(&self, align: Align) { ... } fn set_yfill(&self, fill: bool) { ... } fn unselect_all(&self) { ... } fn write_contents_sync( &self, stream: &impl IsA<OutputStream>, flags: WriteFlags, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), Error> { ... } fn backspace_binding(&self) -> EraseBinding { ... } fn delete_binding(&self) -> EraseBinding { ... } fn font_desc(&self) -> Option<FontDescription> { ... } fn set_font_desc(&self, font_desc: Option<&FontDescription>) { ... } fn hyperlink_hover_uri(&self) -> Option<GString> { ... } fn is_pointer_autohide(&self) -> bool { ... } fn set_pointer_autohide(&self, pointer_autohide: bool) { ... } fn connect_bell<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn connect_char_size_changed<F: Fn(&Self, u32, u32) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_child_exited<F: Fn(&Self, i32) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_commit<F: Fn(&Self, &str, u32) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_contents_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_copy_clipboard<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn emit_copy_clipboard(&self) { ... } fn connect_current_directory_uri_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_current_file_uri_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_cursor_moved<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_decrease_font_size<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_encoding_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_eof<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn connect_increase_font_size<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_notification_received<F: Fn(&Self, &str, Option<&str>) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_paste_clipboard<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn emit_paste_clipboard(&self) { ... } fn connect_resize_window<F: Fn(&Self, u32, u32) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_selection_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_shell_precmd<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_shell_preexec<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_window_title_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_allow_hyperlink_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_audible_bell_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_backspace_binding_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_bold_is_bright_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_cell_height_scale_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_cell_width_scale_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_cjk_ambiguous_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_context_menu_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_context_menu_model_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_current_container_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_current_container_runtime_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_current_directory_uri_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_current_file_uri_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_cursor_blink_mode_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_cursor_shape_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_delete_binding_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_enable_a11y_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_enable_bidi_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_enable_fallback_scrolling_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_enable_shaping_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_enable_sixel_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_font_desc_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_font_options_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_font_scale_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_hyperlink_hover_uri_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_input_enabled_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_pointer_autohide_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_pty_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_scroll_on_insert_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_scroll_on_keystroke_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_scroll_on_output_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_scroll_unit_is_pixels_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_scrollback_lines_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_text_blink_mode_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_window_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_word_char_exceptions_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_xalign_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_xfill_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_yalign_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_yfill_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all Terminal methods.

§Implementors

Terminal

Provided Methods§

Available on crate feature v0_70 only.

Returns a nonempty string: the target of the explicit hyperlink (printed using the OSC 8 escape sequence) at the position (x, y), or None.

Proper use of the escape sequence should result in URI-encoded URIs with a proper scheme like “http://”, “https://”, “file://”, “mailto:” etc. This is, however, not enforced by VTE. The caller must tolerate the returned string potentially not being a valid URI.

§Returns

a newly allocated string containing the target of the hyperlink, or None

source

fn check_match_at(&self, x: f64, y: f64) -> (Option<GString>, i32)

Available on crate feature v0_70 only.

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 None, the number associated with the matched regular expression will be stored in @tag.

If more than one regular expression has been set with vte_terminal_match_add(), then expressions are checked in the order in which they were added.

§Returns

a newly allocated string which matches one of the previously set regular expressions, or None if there is no match

§tag

a location to store the tag, or None

source

fn copy_clipboard_format(&self, format: Format)

Places the selected text in the terminal in the #GDK_SELECTION_CLIPBOARD selection in the form specified by @format.

For all formats, the selection data (see #GtkSelectionData) will include the text targets (see gtk_target_list_add_text_targets() and gtk_selection_data_targets_includes_text()). For Format::Html, the selection will also include the “text/html” target, which when requested, returns the HTML data in UTF-16 with a U+FEFF BYTE ORDER MARK character at the start.

§format

a #VteFormat

source

fn copy_primary(&self)

Places the selected text in the terminal in the #GDK_SELECTION_PRIMARY selection.

source

fn feed(&self, data: &[u8])

Interprets @data as if it were data received from a child process.

§data

a string in the terminal’s current encoding

source

fn feed_child(&self, text: &[u8])

Sends a block of UTF-8 text to the child as if it were entered by the user at the keyboard.

§text

data to send to the child

Checks whether or not hyperlinks (OSC 8 escape sequence) are allowed.

§Returns

true if hyperlinks are enabled, false if not

source

fn is_audible_bell(&self) -> bool

Checks whether or not the terminal will beep when the child outputs the “bl” sequence.

§Returns

true if audible bell is enabled, false if not

source

fn is_bold_is_bright(&self) -> bool

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

true if bold also enables bright, false if not

source

fn cell_height_scale(&self) -> f64

§Returns

the terminal’s cell height scale

source

fn cell_width_scale(&self) -> f64

§Returns

the terminal’s cell width scale

source

fn char_height(&self) -> c_long

§Returns

the height of a character cell

Note that this method should rather be called vte_terminal_get_cell_height, because the return value takes cell-height-scale into account.

source

fn char_width(&self) -> c_long

§Returns

the width of a character cell

Note that this method should rather be called vte_terminal_get_cell_width, because the return value takes cell-width-scale into account.

source

fn cjk_ambiguous_width(&self) -> i32

Returns 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.)

§Returns

1 if ambiguous-width characters are narrow, or 2 if they are wide

source

fn color_background_for_draw(&self) -> RGBA

Returns the background colour, as used by @self when drawing the background, which may be different from the color set by vte_terminal_set_color_background().

Note: you must only call this function while handling the GtkWidget::draw signal.

This function is rarely useful. One use for it is if you disable drawing the background (see vte_terminal_set_clear_background()) and then need to draw the background yourself.

§Returns
§color

a location to store a #GdkRGBA color

source

fn column_count(&self) -> c_long

§Returns

the number of columns

source

fn context_menu(&self) -> Option<Widget>

Available on crate feature v0_76 only.
§Returns

the context menu, or None

source

fn context_menu_model(&self) -> Option<MenuModel>

Available on crate feature v0_76 only.
§Returns

the context menu model, or None

source

fn current_container_name(&self) -> Option<GString>

§Returns

the name of the current container, or None

source

fn current_container_runtime(&self) -> Option<GString>

§Returns

the name of the runtime toolset used to set up the current container, or None

source

fn current_directory_uri(&self) -> Option<GString>

§Returns

the URI of the current directory of the process running in the terminal, or None

source

fn current_file_uri(&self) -> Option<GString>

§Returns

the URI of the current file the process running in the terminal is operating on, or None if not set

Returns the currently set cursor blink mode.

§Returns

cursor blink mode.

source

fn cursor_position(&self) -> (c_long, c_long)

Reads the location of the insertion cursor and returns it. The row coordinate is absolute.

This method is unaware of BiDi. The returned column is logical column.

§Returns
§column

a location to store the column, or None

§row

a location to store the row, or None

source

fn cursor_shape(&self) -> CursorShape

Returns the currently set cursor shape.

§Returns

cursor shape.

source

fn enables_a11y(&self) -> bool

Available on crate feature v0_78 only.

Checks whether the terminal communicates with a11y backends

§Returns

true if a11y is enabled, false if not

source

fn enables_bidi(&self) -> bool

Checks whether the terminal performs bidirectional text rendering.

§Returns

true if BiDi is enabled, false if not

source

fn enables_fallback_scrolling(&self) -> bool

§Returns

true if fallback scrolling is enabled

source

fn enables_shaping(&self) -> bool

Checks whether the terminal shapes Arabic text.

§Returns

true if Arabic shaping is enabled, false if not

source

fn enables_sixel(&self) -> bool

§Returns

false

source

fn font(&self) -> Option<FontDescription>

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.

§Returns

a #PangoFontDescription describing the font the terminal uses to render text at the default font scale of 1.0.

source

fn font_options(&self) -> Option<FontOptions>

Available on crate feature v0_74 only.
§Returns

the terminal’s font options, or None

source

fn font_scale(&self) -> f64

§Returns

the terminal’s font scale

source

fn has_selection(&self) -> bool

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

true if part of the text in the terminal is selected.

source

fn is_input_enabled(&self) -> bool

Returns whether the terminal allow user input.

source

fn is_mouse_autohide(&self) -> bool

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_set_mouse_autohide().

§Returns

true if autohiding is enabled, false if not

source

fn pty(&self) -> Option<Pty>

Returns the #VtePty of @self.

§Returns

a #VtePty, or None

source

fn row_count(&self) -> c_long

§Returns

the number of rows

source

fn is_scroll_on_insert(&self) -> bool

Available on crate feature v0_76 only.
§Returns

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

source

fn is_scroll_on_keystroke(&self) -> bool

§Returns

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.

source

fn is_scroll_on_output(&self) -> bool

§Returns

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

source

fn is_scroll_unit_is_pixels(&self) -> bool

§Returns

true if the scroll unit is pixels; or false if the unit is lines

source

fn scrollback_lines(&self) -> c_long

§Returns

length of the scrollback buffer used by the terminal. A negative value means “infinite scrollback”.

Checks whether or not the terminal will allow blinking text.

§Returns

the blinking setting

source

fn text_format(&self, format: Format) -> Option<GString>

Available on crate feature v0_76 only.

Returns text from the visible part of the terminal in the specified format.

This method is unaware of BiDi. The columns returned in @attributes are logical columns.

§format

the #VteFormat to use

§Returns

a newly allocated text string, or None.

source

fn text_range_format( &self, format: Format, start_row: c_long, start_col: c_long, end_row: c_long, end_col: c_long, ) -> (Option<GString>, usize)

Available on crate feature v0_72 only.

Returns the specified range of text in the specified format.

§format

the #VteFormat to use

§start_row

the first row of the range

§start_col

the first column of the range

§end_row

the last row of the range

§end_col

the last column of the range

§Returns

a newly allocated string, or None.

§length

a pointer to a #gsize to store the string length

source

fn text_selected(&self, format: Format) -> Option<GString>

Available on crate feature v0_70 only.

Gets the currently selected text in the format specified by @format. Since 0.72, this function also supports Format::Html format.

§format

the #VteFormat to use

§Returns

a newly allocated string containing the selected text, or None if there is no selection or the format is not supported

source

fn text_selected_full(&self, format: Format) -> (Option<GString>, usize)

Available on crate feature v0_72 only.

Gets the currently selected text in the format specified by @format.

§format

the #VteFormat to use

§Returns

a newly allocated string containing the selected text, or None if there is no selection or the format is not supported

§length

a pointer to a #gsize to store the string length

source

fn window_title(&self) -> Option<GString>

§Returns

the window title, or None

source

fn word_char_exceptions(&self) -> Option<GString>

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.

If None, a built-in set is used.

§Returns

a string, or None

source

fn xalign(&self) -> Align

Available on crate feature v0_76 only.
§Returns

the horizontal alignment of @self within its allocation

source

fn is_xfill(&self) -> bool

Available on crate feature v0_76 only.
§Returns

the horizontal fillment of @self within its allocation

source

fn yalign(&self) -> Align

Available on crate feature v0_76 only.
§Returns

the vertical alignment of @self within its allocation

source

fn is_yfill(&self) -> bool

Available on crate feature v0_76 only.
§Returns

the vertical fillment of @self within its allocation

source

fn match_add_regex(&self, regex: &Regex, flags: u32) -> i32

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.

Note that @regex should have been created using the PCRE2_MULTILINE flag.

§regex

a #VteRegex

§flags

PCRE2 match flags, or 0

§Returns

an integer associated with this expression

source

fn match_remove(&self, tag: i32)

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.

§tag

the tag of the regex to remove

source

fn match_remove_all(&self)

Clears the list of regular expressions the terminal uses to highlight text when the user moves the mouse cursor.

source

fn match_set_cursor_name(&self, tag: i32, cursor_name: &str)

Sets which cursor the terminal will use if the pointer is over the pattern specified by @tag.

§tag

the tag of the regex which should use the specified cursor

§cursor_name

the name of the cursor

source

fn paste_clipboard(&self)

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.

source

fn paste_primary(&self)

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.

source

fn paste_text(&self, text: &str)

Sends @text to the terminal’s child as if retrived from the clipboard, this differs from vte_terminal_feed_child() in that it may process @text before passing it to the child (e.g. apply bracketed mode)

§text

a string to paste

source

fn pty_new_sync( &self, flags: PtyFlags, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<Pty, Error>

Creates a new #VtePty, sets the emulation property from #VteTerminal:emulation, and sets the size using @self’s size.

See vte_pty_new() for more information.

§flags

flags from #VtePtyFlags

§cancellable

a #GCancellable, or None

§Returns

a new #VtePty

source

fn reset(&self, clear_tabstops: bool, clear_history: bool)

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.

§clear_tabstops

whether to reset tabstops

§clear_history

whether to empty the terminal’s scrollback buffer

source

fn search_find_next(&self) -> bool

Searches the next string matching the search regex set with vte_terminal_search_set_regex().

§Returns

true if a match was found

source

fn search_find_previous(&self) -> bool

Searches the previous string matching the search regex set with vte_terminal_search_set_regex().

§Returns

true if a match was found

source

fn search_get_regex(&self) -> Option<Regex>

§Returns

the search #VteRegex regex set in @self, or None

source

fn search_get_wrap_around(&self) -> bool

§Returns

whether searching will wrap around

source

fn search_set_regex(&self, regex: Option<&Regex>, flags: u32)

Sets the regex to search for. Unsets the search regex when passed None.

Note that @regex should have been created using the PCRE2_MULTILINE flag.

§regex

a #VteRegex, or None

§flags

PCRE2 match flags, or 0

source

fn search_set_wrap_around(&self, wrap_around: bool)

Sets whether search should wrap around to the beginning of the terminal content when reaching its end.

§wrap_around

whether search should wrap

source

fn select_all(&self)

Selects all text within the terminal (not including the scrollback buffer).

Controls whether or not hyperlinks (OSC 8 escape sequence) are allowed.

true if the terminal should allow hyperlinks

source

fn set_audible_bell(&self, is_audible: bool)

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

§is_audible

true if the terminal should beep

source

fn set_backspace_binding(&self, binding: EraseBinding)

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.

§binding

a #VteEraseBinding for the backspace key

source

fn set_bold_is_bright(&self, bold_is_bright: bool)

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.

§bold_is_bright

true if bold should also enable bright

source

fn set_cell_height_scale(&self, scale: f64)

Sets the terminal’s cell height scale to @scale.

This can be used to increase the line spacing. (The font’s height is not affected.) Valid values go from 1.0 (default) to 2.0 (“double spacing”).

§scale

the cell height scale

source

fn set_cell_width_scale(&self, scale: f64)

Sets the terminal’s cell width scale to @scale.

This can be used to increase the letter spacing. (The font’s width is not affected.) Valid values go from 1.0 (default) to 2.0.

§scale

the cell width scale

source

fn set_cjk_ambiguous_width(&self, width: i32)

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.)

§width

either 1 (narrow) or 2 (wide)

source

fn set_clear_background(&self, setting: bool)

Sets whether to paint the background with the background colour. The default is true.

This function is rarely useful. One use for it is to add a background image to the terminal.

§setting

whether to clear the background

source

fn set_color_background(&self, background: &RGBA)

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.

§background

the new background color

source

fn set_color_bold(&self, bold: Option<&RGBA>)

Sets the color used to draw bold text in the default foreground color. If @bold is None then the default color is used.

§bold

the new bold color or None

source

fn set_color_cursor(&self, cursor_background: Option<&RGBA>)

Sets the background color for text which is under the cursor. If None, text under the cursor will be drawn with foreground and background colors reversed.

§cursor_background

the new color to use for the text cursor, or None

source

fn set_color_cursor_foreground(&self, cursor_foreground: Option<&RGBA>)

Sets the foreground color for text which is under the cursor. If None, text under the cursor will be drawn with foreground and background colors reversed.

§cursor_foreground

the new color to use for the text cursor, or None

source

fn set_color_foreground(&self, foreground: &RGBA)

Sets the foreground color used to draw normal text.

§foreground

the new foreground color

source

fn set_color_highlight(&self, highlight_background: Option<&RGBA>)

Sets the background color for text which is highlighted. If None, 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.

§highlight_background

the new color to use for highlighted text, or None

source

fn set_color_highlight_foreground(&self, highlight_foreground: Option<&RGBA>)

Sets the foreground color for text which is highlighted. If None, 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.

§highlight_foreground

the new color to use for highlighted text, or None

source

fn set_context_menu(&self, menu: Option<&impl IsA<Widget>>)

Available on crate feature v0_76 only.

Sets @menu as the context menu in @self. Use None to unset the current menu.

Note that a menu model set with vte_terminal_set_context_menu_model() takes precedence over a menu set using this function.

a menu

source

fn set_context_menu_model(&self, model: Option<&impl IsA<MenuModel>>)

Available on crate feature v0_76 only.

Sets @model as the context menu model in @self. Use None to unset the current menu model.

§model

a #GMenuModel

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

§mode

the #VteCursorBlinkMode to use

source

fn set_cursor_shape(&self, shape: CursorShape)

Sets the shape of the cursor drawn.

§shape

the #VteCursorShape to use

source

fn set_default_colors(&self)

Reset the terminal palette to reasonable compiled-in default color.

source

fn set_delete_binding(&self, binding: EraseBinding)

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.

§binding

a #VteEraseBinding for the delete key

source

fn set_enable_a11y(&self, enable_a11y: bool)

Available on crate feature v0_78 only.

Controls whether or not the terminal will communicate with a11y backends.

§enable_a11y

true to enable a11y support

source

fn set_enable_bidi(&self, enable_bidi: bool)

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

§enable_bidi

true to enable BiDi support

source

fn set_enable_fallback_scrolling(&self, enable: bool)

Controls whether the terminal uses scroll events to scroll the history if the event was not otherwise consumed by it.

This function is rarely useful, except when the terminal is added to a #GtkScrolledWindow, to perform kinetic scrolling (while vte itself does not, yet, implement kinetic scrolling by itself).

§enable

whether to enable fallback scrolling

source

fn set_enable_shaping(&self, enable_shaping: bool)

Controls whether or not the terminal will shape Arabic text.

§enable_shaping

true to enable Arabic shaping

source

fn set_enable_sixel(&self, enabled: bool)

Set whether to enable SIXEL images.

§enabled

whether to enable SIXEL images

source

fn set_font(&self, font_desc: Option<&FontDescription>)

Sets 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. The font scale is applied to the specified font.

§font_desc

a #PangoFontDescription for the desired font, or None

source

fn set_font_options(&self, font_options: Option<&FontOptions>)

Available on crate feature v0_74 only.

Sets the terminal’s font options to @options.

Note that on GTK4, the terminal by default uses font options with CAIRO_HINT_METRICS_ON set; to override that, use this function to set a #cairo_font_options_t that has CAIRO_HINT_METRICS_OFF set.

§font_options

the font options, or None

source

fn set_font_scale(&self, scale: f64)

Sets the terminal’s font scale to @scale.

§scale

the font scale

source

fn set_input_enabled(&self, enabled: bool)

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.

§enabled

whether to enable user input

source

fn set_mouse_autohide(&self, setting: bool)

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_get_mouse_autohide().

§setting

whether the mouse pointer should autohide

source

fn set_pty(&self, pty: Option<&Pty>)

Sets @pty as the PTY to use in @self. Use None to unset the PTY.

§pty

a #VtePty, or None

source

fn set_scroll_on_insert(&self, scroll: bool)

Available on crate feature v0_76 only.

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.

§scroll

whether the terminal should scroll on insert

source

fn set_scroll_on_keystroke(&self, scroll: bool)

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

whether the terminal should scroll on keystrokes

source

fn set_scroll_on_output(&self, scroll: bool)

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

whether the terminal should scroll on output

source

fn set_scroll_unit_is_pixels(&self, enable: bool)

Controls whether the terminal’s scroll unit is lines or pixels.

This function is rarely useful, except when the terminal is added to a #GtkScrolledWindow.

§enable

whether to use pixels as scroll unit

source

fn set_scrollback_lines(&self, lines: c_long)

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.

A negative value means “infinite scrollback”.

Using a large scrollback buffer (roughly 1M+ lines) may lead to performance degradation or exhaustion of system resources, and is therefore not recommended.

Note that this setting only affects the normal screen buffer. No scrollback is allowed on the alternate screen buffer.

§lines

the length of the history buffer

source

fn set_size(&self, columns: c_long, rows: c_long)

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.

§columns

the desired number of columns

§rows

the desired number of rows

Controls whether or not the terminal will allow blinking text.

the #VteTextBlinkMode to use

source

fn set_word_char_exceptions(&self, exceptions: &str)

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.

The characters in @exceptions must be non-alphanumeric, each character must occur only once, and if @exceptions contains the character U+002D HYPHEN-MINUS, it must be at the start of the string.

Use None to reset the set of exception characters to the default.

§exceptions

a string of ASCII punctuation characters, or None

source

fn set_xalign(&self, align: Align)

Available on crate feature v0_76 only.

Sets the horizontal alignment of @self within its allocation.

Note: VTE_ALIGN_START_FILL is not supported, and will be treated like Align::Start.

§align

alignment value from #VteAlign

source

fn set_xfill(&self, fill: bool)

Available on crate feature v0_76 only.

Sets the horizontal fillment of @self within its allocation.

Note: VTE_FILL_START_FILL is not supported, and will be treated like VTE_FILL_START.

§fill

fillment value from #VteFill

source

fn set_yalign(&self, align: Align)

Available on crate feature v0_76 only.

Sets the vertical alignment of @self within its allocation.

§align

alignment value from #VteAlign

source

fn set_yfill(&self, fill: bool)

Available on crate feature v0_76 only.

Sets the vertical fillment of @self within its allocation. Note that yfill is only supported with yalign set to Align::Start, and is ignored for all other yalign values.

§fill

fillment value from #VteFill

source

fn unselect_all(&self)

Clears the current selection.

source

fn write_contents_sync( &self, stream: &impl IsA<OutputStream>, flags: WriteFlags, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), Error>

Write contents of the current contents of @self (including any scrollback history) to @stream according to @flags.

If @cancellable is not None, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error G_IO_ERROR_CANCELLED will be returned in @error.

This is a synchronous operation and will make the widget (and input processing) during the write operation, which may take a long time depending on scrollback history and @stream availability for writing.

§stream

a #GOutputStream to write to

§flags

a set of #VteWriteFlags

§cancellable

a #GCancellable object, or None

§Returns

true on success, false if there was an error

source

fn backspace_binding(&self) -> EraseBinding

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

source

fn delete_binding(&self) -> EraseBinding

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

source

fn font_desc(&self) -> Option<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.

source

fn set_font_desc(&self, font_desc: Option<&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.

The currently hovered hyperlink URI, or None if unset.

source

fn is_pointer_autohide(&self) -> bool

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.

source

fn set_pointer_autohide(&self, pointer_autohide: bool)

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.

source

fn connect_bell<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

This signal is emitted when the a child sends a bell request to the terminal.

source

fn connect_char_size_changed<F: Fn(&Self, u32, u32) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted whenever the cell size changes, e.g. due to a change in font, font-scale or cell-width/height-scale.

Note that this signal should rather be called “cell-size-changed”.

§width

the new character cell width

§height

the new character cell height

source

fn connect_child_exited<F: Fn(&Self, i32) + 'static>( &self, f: F, ) -> SignalHandlerId

This signal is emitted when the terminal detects that a child watched using vte_terminal_watch_child() has exited.

§status

the child’s exit status

source

fn connect_commit<F: Fn(&Self, &str, u32) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted whenever the terminal receives input from the user and prepares to send it to the child process.

§text

a string of text

§size

the length of that string of text

source

fn connect_contents_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted whenever the visible appearance of the terminal has changed. Used primarily by #VteTerminalAccessible.

source

fn connect_copy_clipboard<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted whenever vte_terminal_copy_clipboard() is called.

source

fn emit_copy_clipboard(&self)

source

fn connect_current_directory_uri_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted when the current directory URI is modified.

source

fn connect_current_file_uri_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted when the current file URI is modified.

source

fn connect_cursor_moved<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Emitted whenever the cursor moves to a new character cell. Used primarily by #VteTerminalAccessible.

source

fn connect_decrease_font_size<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted when the user hits the ‘-’ key while holding the Control key.

source

fn connect_encoding_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted whenever the terminal’s current encoding has changed.

Note: support for non-UTF-8 is deprecated.

source

fn connect_eof<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

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.

source

fn connect_increase_font_size<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted when the user hits the ‘+’ key while holding the Control key.

source

fn connect_notification_received<F: Fn(&Self, &str, Option<&str>) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted when a process running in the terminal wants to send a notification to the desktop environment.

§summary

The summary

§body

Extra optional text

source

fn connect_paste_clipboard<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted whenever vte_terminal_paste_clipboard() is called.

source

fn emit_paste_clipboard(&self)

source

fn connect_resize_window<F: Fn(&Self, u32, u32) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted at the child application’s request.

§width

the desired number of columns

§height

the desired number of rows

source

fn connect_selection_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted whenever the contents of terminal’s selection changes.

source

fn connect_shell_precmd<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Emitted right before an interactive shell shows a first-level prompt.

source

fn connect_shell_preexec<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Emitted when the interactive shell has read in a complete command and is about to execute it.

source

fn connect_window_title_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Emitted when the #VteTerminal:window-title property is modified.

source

fn connect_audible_bell_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_backspace_binding_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_bold_is_bright_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_cell_height_scale_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_cell_width_scale_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_cjk_ambiguous_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_context_menu_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Available on crate feature v0_76 only.
source

fn connect_context_menu_model_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Available on crate feature v0_76 only.
source

fn connect_current_container_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_current_container_runtime_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_current_directory_uri_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_current_file_uri_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_cursor_shape_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_delete_binding_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_enable_a11y_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Available on crate feature v0_78 only.
source

fn connect_enable_bidi_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_enable_fallback_scrolling_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_enable_shaping_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_enable_sixel_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_font_desc_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_font_options_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Available on crate feature v0_74 only.
source

fn connect_font_scale_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_input_enabled_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_pointer_autohide_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_pty_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_scroll_on_insert_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Available on crate feature v0_76 only.
source

fn connect_scroll_on_keystroke_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_scroll_on_output_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_scroll_unit_is_pixels_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_scrollback_lines_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_window_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_word_char_exceptions_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_xalign_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Available on crate feature v0_76 only.
source

fn connect_xfill_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Available on crate feature v0_76 only.
source

fn connect_yalign_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Available on crate feature v0_76 only.
source

fn connect_yfill_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Available on crate feature v0_76 only.

Object Safety§

This trait is not object safe.

Implementors§