Skip to main content

TerminalExt

Trait TerminalExt 

Source
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ยง

Available on crate feature v0_70 only.
Source

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

Available on crate feature v0_70 only.
Source

fn copy_clipboard_format(&self, format: Format)

Source

fn copy_primary(&self)

Source

fn dup_termprop_string(&self, prop: &str) -> (Option<GString>, usize)

Available on crate feature v0_78 only.
Source

fn dup_termprop_string_by_id(&self, prop: i32) -> (Option<GString>, usize)

Available on crate feature v0_78 only.
Source

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

Source

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

Source

fn is_audible_bell(&self) -> bool

Source

fn is_bold_is_bright(&self) -> bool

Source

fn cell_height_scale(&self) -> f64

Source

fn cell_width_scale(&self) -> f64

Source

fn char_height(&self) -> c_long

Source

fn char_width(&self) -> c_long

Source

fn cjk_ambiguous_width(&self) -> i32

Source

fn color_background_for_draw(&self) -> RGBA

Source

fn column_count(&self) -> c_long

Source

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

Available on crate feature v0_76 only.
Source

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

Available on crate feature v0_76 only.
Source

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

๐Ÿ‘ŽDeprecated: Since 0.78
Source

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

๐Ÿ‘ŽDeprecated: Since 0.78
Source

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

Source

fn cursor_shape(&self) -> CursorShape

Source

fn enables_a11y(&self) -> bool

Available on crate feature v0_78 only.
Source

fn enables_bidi(&self) -> bool

Source

fn enables_fallback_scrolling(&self) -> bool

Source

fn enables_legacy_osc777(&self) -> bool

Available on crate feature v0_78 only.
Source

fn enables_shaping(&self) -> bool

Source

fn enables_sixel(&self) -> bool

Source

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

Source

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

Available on crate feature v0_74 only.
Source

fn font_scale(&self) -> f64

Source

fn has_selection(&self) -> bool

Source

fn is_input_enabled(&self) -> bool

Source

fn is_mouse_autohide(&self) -> bool

Source

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

Source

fn row_count(&self) -> c_long

Source

fn is_scroll_on_insert(&self) -> bool

Available on crate feature v0_76 only.
Source

fn is_scroll_on_keystroke(&self) -> bool

Source

fn is_scroll_on_output(&self) -> bool

Source

fn is_scroll_unit_is_pixels(&self) -> bool

Source

fn scrollback_lines(&self) -> c_long

Source

fn termprop_bool(&self, prop: &str) -> Option<bool>

Available on crate feature v0_78 only.
Source

fn termprop_bool_by_id(&self, prop: i32) -> Option<bool>

Available on crate feature v0_78 only.
Source

fn termprop_data(&self, prop: &str) -> Vec<u8> โ“˜

Available on crate feature v0_78 only.
Source

fn termprop_data_by_id(&self, prop: i32) -> Vec<u8> โ“˜

Available on crate feature v0_78 only.
Source

fn termprop_double(&self, prop: &str) -> Option<f64>

Available on crate feature v0_78 only.
Source

fn termprop_double_by_id(&self, prop: i32) -> Option<f64>

Available on crate feature v0_78 only.
Source

fn termprop_enum(&self, prop: &str, gtype: Type) -> Option<i64>

Available on crate feature v0_82 only.
Source

fn termprop_enum_by_id(&self, prop: i32, gtype: Type) -> Option<i64>

Available on crate feature v0_82 only.
Source

fn termprop_flags( &self, prop: &str, gtype: Type, ignore_unknown_flags: bool, ) -> Option<u64>

Available on crate feature v0_82 only.
Source

fn termprop_flags_by_id( &self, prop: i32, gtype: Type, ignore_unknown_flags: bool, ) -> Option<u64>

Available on crate feature v0_82 only.
Source

fn termprop_int(&self, prop: &str) -> Option<i64>

Available on crate feature v0_78 only.
Source

fn termprop_int_by_id(&self, prop: i32) -> Option<i64>

Available on crate feature v0_78 only.
Source

fn termprop_rgba(&self, prop: &str) -> Option<RGBA>

Available on crate feature v0_78 only.
Source

fn termprop_rgba_by_id(&self, prop: i32) -> Option<RGBA>

Available on crate feature v0_78 only.
Source

fn termprop_string(&self, prop: &str) -> (Option<GString>, usize)

Available on crate feature v0_78 only.
Source

fn termprop_string_by_id(&self, prop: i32) -> (Option<GString>, usize)

Available on crate feature v0_78 only.
Source

fn termprop_uint(&self, prop: &str) -> Option<u64>

Available on crate feature v0_78 only.
Source

fn termprop_uint_by_id(&self, prop: i32) -> Option<u64>

Available on crate feature v0_78 only.
Source

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

Available on crate feature v0_76 only.
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.
Source

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

Available on crate feature v0_70 only.
Source

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

Available on crate feature v0_72 only.
Source

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

๐Ÿ‘ŽDeprecated: Since 0.78
Source

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

Source

fn xalign(&self) -> Align

Available on crate feature v0_76 only.
Source

fn is_xfill(&self) -> bool

Available on crate feature v0_76 only.
Source

fn yalign(&self) -> Align

Available on crate feature v0_76 only.
Source

fn is_yfill(&self) -> bool

Available on crate feature v0_76 only.
Source

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

Source

fn match_remove(&self, tag: i32)

Source

fn match_remove_all(&self)

Source

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

Source

fn paste_clipboard(&self)

Source

fn paste_primary(&self)

Source

fn paste_text(&self, text: &str)

Source

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

Source

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

Source

fn reset_termprop(&self, prop: &str)

Available on crate feature v0_84 only.
Source

fn reset_termprop_by_id(&self, prop: i32)

Available on crate feature v0_84 only.
Source

fn search_find_next(&self) -> bool

Source

fn search_find_previous(&self) -> bool

Source

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

Source

fn search_get_wrap_around(&self) -> bool

Source

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

Source

fn search_set_wrap_around(&self, wrap_around: bool)

Source

fn select_all(&self)

Source

fn set_audible_bell(&self, is_audible: bool)

Source

fn set_backspace_binding(&self, binding: EraseBinding)

Source

fn set_bold_is_bright(&self, bold_is_bright: bool)

Source

fn set_cell_height_scale(&self, scale: f64)

Source

fn set_cell_width_scale(&self, scale: f64)

Source

fn set_cjk_ambiguous_width(&self, width: i32)

Source

fn set_clear_background(&self, setting: bool)

Source

fn set_color_background(&self, background: &RGBA)

Source

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

Source

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

Source

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

Source

fn set_color_foreground(&self, foreground: &RGBA)

Source

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

Source

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

Source

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

Available on crate feature v0_76 only.
Source

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

Available on crate feature v0_76 only.
Source

fn set_cursor_shape(&self, shape: CursorShape)

Source

fn set_default_colors(&self)

Source

fn set_delete_binding(&self, binding: EraseBinding)

Source

fn set_enable_a11y(&self, enable_a11y: bool)

Available on crate feature v0_78 only.
Source

fn set_enable_bidi(&self, enable_bidi: bool)

Source

fn set_enable_fallback_scrolling(&self, enable: bool)

Source

fn set_enable_legacy_osc777(&self, enable: bool)

Available on crate feature v0_78 only.
Source

fn set_enable_shaping(&self, enable_shaping: bool)

Source

fn set_enable_sixel(&self, enabled: bool)

Source

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

Source

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

Available on crate feature v0_74 only.
Source

fn set_font_scale(&self, scale: f64)

Source

fn set_input_enabled(&self, enabled: bool)

Source

fn set_mouse_autohide(&self, setting: bool)

Source

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

Source

fn set_scroll_on_insert(&self, scroll: bool)

Available on crate feature v0_76 only.
Source

fn set_scroll_on_keystroke(&self, scroll: bool)

Source

fn set_scroll_on_output(&self, scroll: bool)

Source

fn set_scroll_unit_is_pixels(&self, enable: bool)

Source

fn set_scrollback_lines(&self, lines: c_long)

Source

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

Source

fn set_suppress_legacy_signals(&self)

Available on crate feature v0_78 only.
Source

fn set_word_char_exceptions(&self, exceptions: &str)

Source

fn set_xalign(&self, align: Align)

Available on crate feature v0_76 only.
Source

fn set_xfill(&self, fill: bool)

Available on crate feature v0_76 only.
Source

fn set_yalign(&self, align: Align)

Available on crate feature v0_76 only.
Source

fn set_yfill(&self, fill: bool)

Available on crate feature v0_76 only.
Source

fn unselect_all(&self)

Source

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

Source

fn backspace_binding(&self) -> EraseBinding

Source

fn delete_binding(&self) -> EraseBinding

Source

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

Source

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

Source

fn is_pointer_autohide(&self) -> bool

Source

fn set_pointer_autohide(&self, pointer_autohide: bool)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn emit_copy_clipboard(&self)

Source

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

๐Ÿ‘ŽDeprecated: Since 0.78
Source

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

๐Ÿ‘ŽDeprecated: Since 0.78
Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn emit_paste_clipboard(&self)

Source

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

Source

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

Source

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

Available on crate feature v0_78 only.
Source

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

๐Ÿ‘ŽDeprecated: Since 0.78
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_directory_uri_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

๐Ÿ‘ŽDeprecated: Since 0.78
Source

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

๐Ÿ‘ŽDeprecated: Since 0.78
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_legacy_osc777_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Available on crate feature v0_78 only.
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

๐Ÿ‘ŽDeprecated: Since 0.78
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.

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.

Implementorsยง