[][src]Struct fltk::text::TextEditor

pub struct TextEditor { /* fields omitted */ }

Creates an editable text display widget

Methods

impl TextEditor[src]

pub fn new(x: i32, y: i32, w: i32, h: i32, buf: &mut TextBuffer) -> TextEditor[src]

Create an new TextEditor widget

pub fn default(buf: &mut TextBuffer) -> TextEditor[src]

Creates a default and zero initialized TextEditor

pub fn copy(&self)[src]

Copies the text within the TextEditor widget

pub fn cut(&self)[src]

Cuts the text within the TextEditor widget

pub fn paste(&self)[src]

Pastes text from the clipboard into the TextEditor widget

pub fn undo(&self)[src]

Undo changes in the TextEditor widget

Trait Implementations

impl Debug for TextEditor[src]

impl DisplayExt for TextEditor[src]

impl From<Widget> for TextEditor[src]

impl Send for TextEditor[src]

impl Sync for TextEditor[src]

impl WidgetExt for TextEditor[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, 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.