pub trait TerminalExt: IsA<Terminal> + 'static {
Show 205 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 dup_termprop_string(&self, prop: &str) -> (Option<GString>, usize) { ... }
fn dup_termprop_string_by_id(&self, prop: i32) -> (Option<GString>, usize) { ... }
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_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_legacy_osc777(&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 termprop_bool(&self, prop: &str) -> Option<bool> { ... }
fn termprop_bool_by_id(&self, prop: i32) -> Option<bool> { ... }
fn termprop_data(&self, prop: &str) -> Vec<u8> โ { ... }
fn termprop_data_by_id(&self, prop: i32) -> Vec<u8> โ { ... }
fn termprop_double(&self, prop: &str) -> Option<f64> { ... }
fn termprop_double_by_id(&self, prop: i32) -> Option<f64> { ... }
fn termprop_enum(&self, prop: &str, gtype: Type) -> Option<i64> { ... }
fn termprop_enum_by_id(&self, prop: i32, gtype: Type) -> Option<i64> { ... }
fn termprop_flags(
&self,
prop: &str,
gtype: Type,
ignore_unknown_flags: bool,
) -> Option<u64> { ... }
fn termprop_flags_by_id(
&self,
prop: i32,
gtype: Type,
ignore_unknown_flags: bool,
) -> Option<u64> { ... }
fn termprop_int(&self, prop: &str) -> Option<i64> { ... }
fn termprop_int_by_id(&self, prop: i32) -> Option<i64> { ... }
fn termprop_rgba(&self, prop: &str) -> Option<RGBA> { ... }
fn termprop_rgba_by_id(&self, prop: i32) -> Option<RGBA> { ... }
fn termprop_string(&self, prop: &str) -> (Option<GString>, usize) { ... }
fn termprop_string_by_id(&self, prop: i32) -> (Option<GString>, usize) { ... }
fn termprop_uint(&self, prop: &str) -> Option<u64> { ... }
fn termprop_uint_by_id(&self, prop: i32) -> Option<u64> { ... }
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 reset_termprop(&self, prop: &str) { ... }
fn reset_termprop_by_id(&self, prop: i32) { ... }
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_legacy_osc777(&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_suppress_legacy_signals(&self) { ... }
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_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_termprop_changed<F: Fn(&Self, &str) + 'static>(
&self,
detail: Option<&str>,
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_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_legacy_osc777_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ยง
fn check_hyperlink_at(&self, x: f64, y: f64) -> Option<GString>
Available on crate feature
v0_70 only.fn check_match_at(&self, x: f64, y: f64) -> (Option<GString>, i32)
Available on crate feature
v0_70 only.fn copy_clipboard_format(&self, format: Format)
fn copy_primary(&self)
fn dup_termprop_string(&self, prop: &str) -> (Option<GString>, usize)
Available on crate feature
v0_78 only.fn dup_termprop_string_by_id(&self, prop: i32) -> (Option<GString>, usize)
Available on crate feature
v0_78 only.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
Available on crate feature
v0_76 only.Available on crate feature
v0_76 only.fn current_directory_uri(&self) -> Option<GString>
๐Deprecated: Since 0.78
fn current_file_uri(&self) -> Option<GString>
๐Deprecated: Since 0.78
fn cursor_blink_mode(&self) -> CursorBlinkMode
fn cursor_position(&self) -> (c_long, c_long)
fn cursor_shape(&self) -> CursorShape
fn enables_a11y(&self) -> bool
Available on crate feature
v0_78 only.fn enables_bidi(&self) -> bool
fn enables_fallback_scrolling(&self) -> bool
fn enables_legacy_osc777(&self) -> bool
Available on crate feature
v0_78 only.fn enables_shaping(&self) -> bool
fn enables_sixel(&self) -> bool
fn font(&self) -> Option<FontDescription>
fn font_options(&self) -> Option<FontOptions>
Available on crate feature
v0_74 only.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
Available on crate feature
v0_76 only.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 termprop_bool(&self, prop: &str) -> Option<bool>
Available on crate feature
v0_78 only.fn termprop_bool_by_id(&self, prop: i32) -> Option<bool>
Available on crate feature
v0_78 only.fn termprop_data(&self, prop: &str) -> Vec<u8> โ
Available on crate feature
v0_78 only.fn termprop_data_by_id(&self, prop: i32) -> Vec<u8> โ
Available on crate feature
v0_78 only.fn termprop_double(&self, prop: &str) -> Option<f64>
Available on crate feature
v0_78 only.fn termprop_double_by_id(&self, prop: i32) -> Option<f64>
Available on crate feature
v0_78 only.fn termprop_enum(&self, prop: &str, gtype: Type) -> Option<i64>
Available on crate feature
v0_82 only.fn termprop_enum_by_id(&self, prop: i32, gtype: Type) -> Option<i64>
Available on crate feature
v0_82 only.fn termprop_flags( &self, prop: &str, gtype: Type, ignore_unknown_flags: bool, ) -> Option<u64>
Available on crate feature
v0_82 only.fn termprop_flags_by_id( &self, prop: i32, gtype: Type, ignore_unknown_flags: bool, ) -> Option<u64>
Available on crate feature
v0_82 only.fn termprop_int(&self, prop: &str) -> Option<i64>
Available on crate feature
v0_78 only.fn termprop_int_by_id(&self, prop: i32) -> Option<i64>
Available on crate feature
v0_78 only.fn termprop_rgba(&self, prop: &str) -> Option<RGBA>
Available on crate feature
v0_78 only.fn termprop_rgba_by_id(&self, prop: i32) -> Option<RGBA>
Available on crate feature
v0_78 only.fn termprop_string(&self, prop: &str) -> (Option<GString>, usize)
Available on crate feature
v0_78 only.fn termprop_string_by_id(&self, prop: i32) -> (Option<GString>, usize)
Available on crate feature
v0_78 only.fn termprop_uint(&self, prop: &str) -> Option<u64>
Available on crate feature
v0_78 only.fn termprop_uint_by_id(&self, prop: i32) -> Option<u64>
Available on crate feature
v0_78 only.fn text_blink_mode(&self) -> TextBlinkMode
fn text_format(&self, format: Format) -> Option<GString>
Available on crate feature
v0_76 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)
Available on crate feature
v0_72 only.fn text_selected(&self, format: Format) -> Option<GString>
Available on crate feature
v0_70 only.fn text_selected_full(&self, format: Format) -> (Option<GString>, usize)
Available on crate feature
v0_72 only.fn window_title(&self) -> Option<GString>
๐Deprecated: Since 0.78
fn word_char_exceptions(&self) -> Option<GString>
fn xalign(&self) -> Align
Available on crate feature
v0_76 only.fn is_xfill(&self) -> bool
Available on crate feature
v0_76 only.fn yalign(&self) -> Align
Available on crate feature
v0_76 only.fn is_yfill(&self) -> bool
Available on crate feature
v0_76 only.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 reset_termprop(&self, prop: &str)
Available on crate feature
v0_84 only.fn reset_termprop_by_id(&self, prop: i32)
Available on crate feature
v0_84 only.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>)
Available on crate feature
v0_76 only.Available on crate feature
v0_76 only.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)
Available on crate feature
v0_78 only.fn set_enable_bidi(&self, enable_bidi: bool)
fn set_enable_fallback_scrolling(&self, enable: bool)
fn set_enable_legacy_osc777(&self, enable: bool)
Available on crate feature
v0_78 only.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>)
Available on crate feature
v0_74 only.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)
Available on crate feature
v0_76 only.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_suppress_legacy_signals(&self)
Available on crate feature
v0_78 only.fn set_text_blink_mode(&self, text_blink_mode: TextBlinkMode)
fn set_word_char_exceptions(&self, exceptions: &str)
fn set_xalign(&self, align: Align)
Available on crate feature
v0_76 only.fn set_xfill(&self, fill: bool)
Available on crate feature
v0_76 only.fn set_yalign(&self, align: Align)
Available on crate feature
v0_76 only.fn set_yfill(&self, fill: bool)
Available on crate feature
v0_76 only.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
๐Deprecated: Since 0.78
fn connect_current_file_uri_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 0.78
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_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_termprop_changed<F: Fn(&Self, &str) + 'static>( &self, detail: Option<&str>, f: F, ) -> SignalHandlerId
Available on crate feature
v0_78 only.fn connect_window_title_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 0.78
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
Available on crate feature
v0_76 only.Available on crate feature
v0_76 only.fn connect_current_directory_uri_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 0.78
fn connect_current_file_uri_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 0.78
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
Available on crate feature
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_legacy_osc777_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Available on crate feature
v0_78 only.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
Available on crate feature
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
Available on crate feature
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
๐Deprecated: Since 0.78
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
Available on crate feature
v0_76 only.fn connect_xfill_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Available on crate feature
v0_76 only.fn connect_yalign_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Available on crate feature
v0_76 only.fn connect_yfill_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Available on crate feature
v0_76 only.Dyn Compatibilityยง
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.