[][src]Struct fltk::text::SimpleTerminal

pub struct SimpleTerminal { /* fields omitted */ }

Creates an editable text display widget SimpleTerminal already has an internal buffer

Implementations

impl SimpleTerminal[src]

pub fn new(x: i32, y: i32, w: i32, h: i32) -> SimpleTerminal[src]

Create an new SimpleTerminal widget

pub fn default() -> SimpleTerminal[src]

Creates a default and zero initialized SimpleTerminal

pub fn set_stay_at_bottom(&mut self, arg1: bool)[src]

pub fn stay_at_bottom(&self) -> bool[src]

pub fn set_history_lines(&mut self, arg1: u32)[src]

pub fn history_lines(&self) -> u32[src]

pub fn set_ansi(&mut self, val: bool)[src]

pub fn ansi(&self) -> bool[src]

pub fn append(&mut self, s: &str)[src]

pub fn set_text(&mut self, s: &str)[src]

pub fn text(&self) -> String[src]

pub fn clear(&mut self)[src]

pub fn remove_lines(&mut self, start: u32, count: u32)[src]

Trait Implementations

impl Clone for SimpleTerminal[src]

impl Debug for SimpleTerminal[src]

impl DisplayExt for SimpleTerminal[src]

impl Send for SimpleTerminal[src]

impl Sync for SimpleTerminal[src]

impl WidgetExt for SimpleTerminal[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.