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 { ... }
}
Provided Methods§
sourcefn check_hyperlink_at(&self, x: f64, y: f64) -> Option<GString>
Available on crate feature v0_70
only.
fn check_hyperlink_at(&self, x: f64, y: f64) -> Option<GString>
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
sourcefn check_match_at(&self, x: f64, y: f64) -> (Option<GString>, i32)
Available on crate feature v0_70
only.
fn check_match_at(&self, x: f64, y: f64) -> (Option<GString>, i32)
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
sourcefn copy_clipboard_format(&self, format: Format)
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
sourcefn copy_primary(&self)
fn copy_primary(&self)
Places the selected text in the terminal in the #GDK_SELECTION_PRIMARY selection.
sourcefn feed(&self, data: &[u8])
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
sourcefn feed_child(&self, text: &[u8])
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
sourcefn allows_hyperlink(&self) -> bool
fn allows_hyperlink(&self) -> bool
sourcefn is_audible_bell(&self) -> bool
fn is_audible_bell(&self) -> bool
sourcefn is_bold_is_bright(&self) -> bool
fn is_bold_is_bright(&self) -> bool
sourcefn cell_height_scale(&self) -> f64
fn cell_height_scale(&self) -> f64
§Returns
the terminal’s cell height scale
sourcefn cell_width_scale(&self) -> f64
fn cell_width_scale(&self) -> f64
§Returns
the terminal’s cell width scale
sourcefn char_height(&self) -> c_long
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.
sourcefn char_width(&self) -> c_long
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.
sourcefn cjk_ambiguous_width(&self) -> i32
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
sourcefn color_background_for_draw(&self) -> RGBA
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
sourcefn column_count(&self) -> c_long
fn column_count(&self) -> c_long
§Returns
the number of columns
sourcefn current_container_name(&self) -> Option<GString>
fn current_container_name(&self) -> Option<GString>
sourcefn current_container_runtime(&self) -> Option<GString>
fn current_container_runtime(&self) -> Option<GString>
sourcefn current_directory_uri(&self) -> Option<GString>
fn current_directory_uri(&self) -> Option<GString>
sourcefn current_file_uri(&self) -> Option<GString>
fn current_file_uri(&self) -> Option<GString>
sourcefn cursor_blink_mode(&self) -> CursorBlinkMode
fn cursor_blink_mode(&self) -> CursorBlinkMode
sourcefn cursor_position(&self) -> (c_long, c_long)
fn cursor_position(&self) -> (c_long, c_long)
sourcefn cursor_shape(&self) -> CursorShape
fn cursor_shape(&self) -> CursorShape
sourcefn enables_a11y(&self) -> bool
Available on crate feature v0_78
only.
fn enables_a11y(&self) -> bool
v0_78
only.sourcefn enables_bidi(&self) -> bool
fn enables_bidi(&self) -> bool
sourcefn enables_fallback_scrolling(&self) -> bool
fn enables_fallback_scrolling(&self) -> bool
sourcefn enables_shaping(&self) -> bool
fn enables_shaping(&self) -> bool
sourcefn enables_sixel(&self) -> bool
fn enables_sixel(&self) -> bool
sourcefn font(&self) -> Option<FontDescription>
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.
sourcefn font_options(&self) -> Option<FontOptions>
Available on crate feature v0_74
only.
fn font_options(&self) -> Option<FontOptions>
v0_74
only.sourcefn font_scale(&self) -> f64
fn font_scale(&self) -> f64
§Returns
the terminal’s font scale
sourcefn has_selection(&self) -> bool
fn has_selection(&self) -> bool
sourcefn is_input_enabled(&self) -> bool
fn is_input_enabled(&self) -> bool
Returns whether the terminal allow user input.
sourcefn is_mouse_autohide(&self) -> bool
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
sourcefn is_scroll_on_insert(&self) -> bool
Available on crate feature v0_76
only.
fn is_scroll_on_insert(&self) -> bool
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.
sourcefn is_scroll_on_keystroke(&self) -> bool
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.
sourcefn is_scroll_on_output(&self) -> bool
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.
sourcefn is_scroll_unit_is_pixels(&self) -> bool
fn is_scroll_unit_is_pixels(&self) -> bool
sourcefn scrollback_lines(&self) -> c_long
fn scrollback_lines(&self) -> c_long
§Returns
length of the scrollback buffer used by the terminal. A negative value means “infinite scrollback”.
sourcefn text_blink_mode(&self) -> TextBlinkMode
fn text_blink_mode(&self) -> TextBlinkMode
sourcefn text_format(&self, format: Format) -> Option<GString>
Available on crate feature v0_76
only.
fn text_format(&self, format: Format) -> Option<GString>
v0_76
only.sourcefn 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.
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)
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
sourcefn text_selected(&self, format: Format) -> Option<GString>
Available on crate feature v0_70
only.
fn text_selected(&self, format: Format) -> Option<GString>
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
sourcefn text_selected_full(&self, format: Format) -> (Option<GString>, usize)
Available on crate feature v0_72
only.
fn text_selected_full(&self, format: Format) -> (Option<GString>, usize)
v0_72
only.sourcefn word_char_exceptions(&self) -> Option<GString>
fn word_char_exceptions(&self) -> Option<GString>
sourcefn xalign(&self) -> Align
Available on crate feature v0_76
only.
fn xalign(&self) -> Align
v0_76
only.§Returns
the horizontal alignment of @self within its allocation
sourcefn is_xfill(&self) -> bool
Available on crate feature v0_76
only.
fn is_xfill(&self) -> bool
v0_76
only.§Returns
the horizontal fillment of @self within its allocation
sourcefn yalign(&self) -> Align
Available on crate feature v0_76
only.
fn yalign(&self) -> Align
v0_76
only.§Returns
the vertical alignment of @self within its allocation
sourcefn is_yfill(&self) -> bool
Available on crate feature v0_76
only.
fn is_yfill(&self) -> bool
v0_76
only.§Returns
the vertical fillment of @self within its allocation
sourcefn match_add_regex(&self, regex: &Regex, flags: u32) -> i32
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
§regex
a #VteRegex
§flags
PCRE2 match flags, or 0
§Returns
an integer associated with this expression
sourcefn match_remove(&self, tag: i32)
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
sourcefn match_remove_all(&self)
fn match_remove_all(&self)
Clears the list of regular expressions the terminal uses to highlight text when the user moves the mouse cursor.
sourcefn match_set_cursor_name(&self, tag: i32, cursor_name: &str)
fn match_set_cursor_name(&self, tag: i32, cursor_name: &str)
sourcefn paste_clipboard(&self)
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.
sourcefn paste_primary(&self)
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.
sourcefn paste_text(&self, text: &str)
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
sourcefn pty_new_sync(
&self,
flags: PtyFlags,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<Pty, Error>
fn pty_new_sync( &self, flags: PtyFlags, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<Pty, Error>
sourcefn reset(&self, clear_tabstops: bool, clear_history: bool)
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
sourcefn search_find_next(&self) -> bool
fn search_find_next(&self) -> bool
sourcefn search_find_previous(&self) -> bool
fn search_find_previous(&self) -> bool
sourcefn search_get_regex(&self) -> Option<Regex>
fn search_get_regex(&self) -> Option<Regex>
sourcefn search_get_wrap_around(&self) -> bool
fn search_get_wrap_around(&self) -> bool
§Returns
whether searching will wrap around
sourcefn search_set_regex(&self, regex: Option<&Regex>, flags: u32)
fn search_set_regex(&self, regex: Option<&Regex>, flags: u32)
sourcefn search_set_wrap_around(&self, wrap_around: bool)
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
sourcefn select_all(&self)
fn select_all(&self)
Selects all text within the terminal (not including the scrollback buffer).
sourcefn set_allow_hyperlink(&self, allow_hyperlink: bool)
fn set_allow_hyperlink(&self, allow_hyperlink: bool)
sourcefn set_audible_bell(&self, is_audible: bool)
fn set_audible_bell(&self, is_audible: bool)
sourcefn set_backspace_binding(&self, binding: EraseBinding)
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
sourcefn set_bold_is_bright(&self, bold_is_bright: bool)
fn set_bold_is_bright(&self, bold_is_bright: bool)
sourcefn set_cell_height_scale(&self, scale: f64)
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
sourcefn set_cell_width_scale(&self, scale: f64)
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
sourcefn set_cjk_ambiguous_width(&self, width: i32)
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)
sourcefn set_clear_background(&self, setting: bool)
fn set_clear_background(&self, setting: bool)
sourcefn set_color_background(&self, background: &RGBA)
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
sourcefn set_color_bold(&self, bold: Option<&RGBA>)
fn set_color_bold(&self, bold: Option<&RGBA>)
sourcefn set_color_cursor(&self, cursor_background: Option<&RGBA>)
fn set_color_cursor(&self, cursor_background: Option<&RGBA>)
sourcefn set_color_cursor_foreground(&self, cursor_foreground: Option<&RGBA>)
fn set_color_cursor_foreground(&self, cursor_foreground: Option<&RGBA>)
sourcefn set_color_foreground(&self, foreground: &RGBA)
fn set_color_foreground(&self, foreground: &RGBA)
sourcefn set_color_highlight(&self, highlight_background: Option<&RGBA>)
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
sourcefn set_color_highlight_foreground(&self, highlight_foreground: Option<&RGBA>)
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
Available on crate feature v0_76
only.
v0_76
only.Available on crate feature v0_76
only.
v0_76
only.sourcefn set_cursor_blink_mode(&self, mode: CursorBlinkMode)
fn set_cursor_blink_mode(&self, mode: CursorBlinkMode)
Sets whether or not the cursor will blink. Using CursorBlinkMode::System
will use the #GtkSettings::gtk-cursor-blink setting.
§mode
the #VteCursorBlinkMode to use
sourcefn set_cursor_shape(&self, shape: CursorShape)
fn set_cursor_shape(&self, shape: CursorShape)
sourcefn set_default_colors(&self)
fn set_default_colors(&self)
Reset the terminal palette to reasonable compiled-in default color.
sourcefn set_delete_binding(&self, binding: EraseBinding)
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
sourcefn set_enable_a11y(&self, enable_a11y: bool)
Available on crate feature v0_78
only.
fn set_enable_a11y(&self, enable_a11y: bool)
v0_78
only.sourcefn set_enable_bidi(&self, enable_bidi: bool)
fn set_enable_bidi(&self, enable_bidi: bool)
sourcefn set_enable_fallback_scrolling(&self, enable: bool)
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
sourcefn set_enable_shaping(&self, enable_shaping: bool)
fn set_enable_shaping(&self, enable_shaping: bool)
sourcefn set_enable_sixel(&self, enabled: bool)
fn set_enable_sixel(&self, enabled: bool)
sourcefn set_font(&self, font_desc: Option<&FontDescription>)
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
sourcefn set_font_options(&self, font_options: Option<&FontOptions>)
Available on crate feature v0_74
only.
fn set_font_options(&self, font_options: Option<&FontOptions>)
v0_74
only.sourcefn set_font_scale(&self, scale: f64)
fn set_font_scale(&self, scale: f64)
sourcefn set_input_enabled(&self, enabled: bool)
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
sourcefn set_mouse_autohide(&self, setting: bool)
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
sourcefn set_scroll_on_insert(&self, scroll: bool)
Available on crate feature v0_76
only.
fn set_scroll_on_insert(&self, scroll: bool)
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
sourcefn set_scroll_on_keystroke(&self, scroll: bool)
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
sourcefn set_scroll_on_output(&self, scroll: bool)
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
sourcefn set_scroll_unit_is_pixels(&self, enable: bool)
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
sourcefn set_scrollback_lines(&self, lines: c_long)
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
sourcefn set_text_blink_mode(&self, text_blink_mode: TextBlinkMode)
fn set_text_blink_mode(&self, text_blink_mode: TextBlinkMode)
Controls whether or not the terminal will allow blinking text.
§text_blink_mode
the #VteTextBlinkMode to use
sourcefn set_word_char_exceptions(&self, exceptions: &str)
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
sourcefn set_xalign(&self, align: Align)
Available on crate feature v0_76
only.
fn set_xalign(&self, align: Align)
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
sourcefn set_xfill(&self, fill: bool)
Available on crate feature v0_76
only.
fn set_xfill(&self, fill: bool)
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
sourcefn set_yalign(&self, align: Align)
Available on crate feature v0_76
only.
fn set_yalign(&self, align: Align)
v0_76
only.sourcefn set_yfill(&self, fill: bool)
Available on crate feature v0_76
only.
fn set_yfill(&self, fill: bool)
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
sourcefn unselect_all(&self)
fn unselect_all(&self)
Clears the current selection.
sourcefn write_contents_sync(
&self,
stream: &impl IsA<OutputStream>,
flags: WriteFlags,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error>
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
sourcefn backspace_binding(&self) -> EraseBinding
fn backspace_binding(&self) -> EraseBinding
Controls what string or control sequence the terminal sends to its child when the user presses the backspace key.
sourcefn delete_binding(&self) -> EraseBinding
fn delete_binding(&self) -> EraseBinding
Controls what string or control sequence the terminal sends to its child when the user presses the delete key.
sourcefn font_desc(&self) -> Option<FontDescription>
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.
sourcefn set_font_desc(&self, font_desc: Option<&FontDescription>)
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.
sourcefn hyperlink_hover_uri(&self) -> Option<GString>
fn hyperlink_hover_uri(&self) -> Option<GString>
The currently hovered hyperlink URI, or None
if unset.
sourcefn is_pointer_autohide(&self) -> bool
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.
sourcefn set_pointer_autohide(&self, pointer_autohide: bool)
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.
sourcefn connect_bell<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
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.
sourcefn connect_char_size_changed<F: Fn(&Self, u32, u32) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_char_size_changed<F: Fn(&Self, u32, u32) + 'static>( &self, f: F, ) -> SignalHandlerId
sourcefn connect_child_exited<F: Fn(&Self, i32) + 'static>(
&self,
f: F,
) -> SignalHandlerId
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
sourcefn connect_commit<F: Fn(&Self, &str, u32) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_commit<F: Fn(&Self, &str, u32) + 'static>( &self, f: F, ) -> SignalHandlerId
sourcefn connect_contents_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
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.
sourcefn connect_copy_clipboard<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_copy_clipboard<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Emitted whenever vte_terminal_copy_clipboard() is called.
fn emit_copy_clipboard(&self)
sourcefn connect_current_directory_uri_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_current_directory_uri_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Emitted when the current directory URI is modified.
sourcefn connect_current_file_uri_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_current_file_uri_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Emitted when the current file URI is modified.
sourcefn connect_cursor_moved<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
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.
sourcefn connect_decrease_font_size<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
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.
sourcefn connect_encoding_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
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.
sourcefn connect_eof<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
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.
sourcefn connect_increase_font_size<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
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.
sourcefn connect_notification_received<F: Fn(&Self, &str, Option<&str>) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_notification_received<F: Fn(&Self, &str, Option<&str>) + 'static>( &self, f: F, ) -> SignalHandlerId
sourcefn connect_paste_clipboard<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_paste_clipboard<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Emitted whenever vte_terminal_paste_clipboard() is called.
fn emit_paste_clipboard(&self)
sourcefn connect_resize_window<F: Fn(&Self, u32, u32) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_resize_window<F: Fn(&Self, u32, u32) + 'static>( &self, f: F, ) -> SignalHandlerId
sourcefn connect_selection_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_selection_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Emitted whenever the contents of terminal’s selection changes.
sourcefn connect_shell_precmd<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_shell_precmd<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Emitted right before an interactive shell shows a first-level prompt.
sourcefn connect_shell_preexec<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
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.
sourcefn connect_window_title_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_window_title_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Emitted when the #VteTerminal:window-title property is modified.
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
v0_76
only.v0_76
only.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
v0_78
only.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
v0_74
only.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
v0_76
only.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
v0_76
only.fn connect_xfill_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
v0_76
only.fn connect_yalign_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
v0_76
only.fn connect_yfill_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
v0_76
only.