[][src]Trait gtk::EditableExt

pub trait EditableExt: 'static {
    fn copy_clipboard(&self);
fn cut_clipboard(&self);
fn delete_selection(&self);
fn delete_text(&self, start_pos: i32, end_pos: i32);
fn get_chars(&self, start_pos: i32, end_pos: i32) -> Option<GString>;
fn get_editable(&self) -> bool;
fn get_position(&self) -> i32;
fn get_selection_bounds(&self) -> Option<(i32, i32)>;
fn insert_text(&self, new_text: &str, position: &mut i32);
fn paste_clipboard(&self);
fn select_region(&self, start_pos: i32, end_pos: i32);
fn set_editable(&self, is_editable: bool);
fn set_position(&self, position: i32); }

Required methods

fn copy_clipboard(&self)

fn cut_clipboard(&self)

fn delete_selection(&self)

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

fn get_chars(&self, start_pos: i32, end_pos: i32) -> Option<GString>

fn get_editable(&self) -> bool

fn get_position(&self) -> i32

fn get_selection_bounds(&self) -> Option<(i32, i32)>

fn insert_text(&self, new_text: &str, position: &mut i32)

fn paste_clipboard(&self)

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

fn set_editable(&self, is_editable: bool)

fn set_position(&self, position: i32)

Loading content...

Implementors

impl<O: IsA<Editable>> EditableExt for O[src]

Loading content...