pub struct TerminalBuilder { /* private fields */ }Expand description
A builder-pattern type to construct Terminal objects.
Implementations§
Source§impl TerminalBuilder
impl TerminalBuilder
pub fn allow_hyperlink(self, allow_hyperlink: bool) -> Self
pub fn audible_bell(self, audible_bell: bool) -> Self
pub fn backspace_binding(self, backspace_binding: EraseBinding) -> Self
pub fn bold_is_bright(self, bold_is_bright: bool) -> Self
pub fn cell_height_scale(self, cell_height_scale: f64) -> Self
pub fn cell_width_scale(self, cell_width_scale: f64) -> Self
pub fn cjk_ambiguous_width(self, cjk_ambiguous_width: i32) -> Self
Available on crate feature
v0_76 only.Available on crate feature
v0_76 only.pub fn cursor_blink_mode(self, cursor_blink_mode: CursorBlinkMode) -> Self
pub fn cursor_shape(self, cursor_shape: CursorShape) -> Self
pub fn delete_binding(self, delete_binding: EraseBinding) -> Self
pub fn enable_a11y(self, enable_a11y: bool) -> Self
Available on crate feature
v0_78 only.pub fn enable_bidi(self, enable_bidi: bool) -> Self
pub fn enable_fallback_scrolling(self, enable_fallback_scrolling: bool) -> Self
pub fn enable_legacy_osc777(self, enable_legacy_osc777: bool) -> Self
Available on crate feature
v0_78 only.pub fn enable_shaping(self, enable_shaping: bool) -> Self
pub fn enable_sixel(self, enable_sixel: bool) -> Self
pub fn font_desc(self, font_desc: &FontDescription) -> Self
pub fn font_options(self, font_options: &FontOptions) -> Self
Available on crate feature
v0_74 only.pub fn font_scale(self, font_scale: f64) -> Self
pub fn input_enabled(self, input_enabled: bool) -> Self
pub fn pointer_autohide(self, pointer_autohide: bool) -> Self
pub fn pty(self, pty: &Pty) -> Self
pub fn scroll_on_insert(self, scroll_on_insert: bool) -> Self
Available on crate feature
v0_76 only.pub fn scroll_on_keystroke(self, scroll_on_keystroke: bool) -> Self
pub fn scroll_on_output(self, scroll_on_output: bool) -> Self
pub fn scroll_unit_is_pixels(self, scroll_unit_is_pixels: bool) -> Self
pub fn scrollback_lines(self, scrollback_lines: u32) -> Self
pub fn text_blink_mode(self, text_blink_mode: TextBlinkMode) -> Self
pub fn xalign(self, xalign: Align) -> Self
Available on crate feature
v0_76 only.pub fn xfill(self, xfill: bool) -> Self
Available on crate feature
v0_76 only.pub fn yalign(self, yalign: Align) -> Self
Available on crate feature
v0_76 only.pub fn yfill(self, yfill: bool) -> Self
Available on crate feature
v0_76 only.pub fn can_focus(self, can_focus: bool) -> Self
pub fn can_target(self, can_target: bool) -> Self
pub fn css_classes(self, css_classes: impl Into<StrV>) -> Self
pub fn css_name(self, css_name: impl Into<GString>) -> Self
pub fn focus_on_click(self, focus_on_click: bool) -> Self
pub fn focusable(self, focusable: bool) -> Self
pub fn has_tooltip(self, has_tooltip: bool) -> Self
pub fn height_request(self, height_request: i32) -> Self
pub fn hexpand(self, hexpand: bool) -> Self
pub fn hexpand_set(self, hexpand_set: bool) -> Self
pub fn limit_events(self, limit_events: bool) -> Self
Available on crate feature
gtk_v4_18 only.pub fn margin_bottom(self, margin_bottom: i32) -> Self
pub fn margin_end(self, margin_end: i32) -> Self
pub fn margin_start(self, margin_start: i32) -> Self
pub fn margin_top(self, margin_top: i32) -> Self
pub fn name(self, name: impl Into<GString>) -> Self
pub fn opacity(self, opacity: f64) -> Self
pub fn receives_default(self, receives_default: bool) -> Self
pub fn sensitive(self, sensitive: bool) -> Self
pub fn tooltip_markup(self, tooltip_markup: impl Into<GString>) -> Self
pub fn tooltip_text(self, tooltip_text: impl Into<GString>) -> Self
pub fn vexpand(self, vexpand: bool) -> Self
pub fn vexpand_set(self, vexpand_set: bool) -> Self
pub fn visible(self, visible: bool) -> Self
pub fn width_request(self, width_request: i32) -> Self
Auto Trait Implementations§
impl Freeze for TerminalBuilder
impl RefUnwindSafe for TerminalBuilder
impl !Send for TerminalBuilder
impl !Sync for TerminalBuilder
impl Unpin for TerminalBuilder
impl UnsafeUnpin for TerminalBuilder
impl UnwindSafe for TerminalBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more