Trait EditableTextExt

Source
pub trait EditableTextExt: 'static {
    // Required methods
    fn copy_text(&self, start_pos: i32, end_pos: i32);
    fn cut_text(&self, start_pos: i32, end_pos: i32);
    fn delete_text(&self, start_pos: i32, end_pos: i32);
    fn paste_text(&self, position: i32);
    fn set_text_contents(&self, string: &str);
}

Required Methods§

Source

fn copy_text(&self, start_pos: i32, end_pos: i32)

Source

fn cut_text(&self, start_pos: i32, end_pos: i32)

Source

fn delete_text(&self, start_pos: i32, end_pos: i32)

Source

fn paste_text(&self, position: i32)

Source

fn set_text_contents(&self, string: &str)

Implementors§