Trait gtk::prelude::EditableExt

source ·
pub trait EditableExt: 'static {
Show 13 methods // 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 chars(&self, start_pos: i32, end_pos: i32) -> Option<GString>; fn is_editable(&self) -> bool; fn position(&self) -> i32; fn 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§

source

fn copy_clipboard(&self)

source

fn cut_clipboard(&self)

source

fn delete_selection(&self)

source

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

source

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

source

fn is_editable(&self) -> bool

source

fn position(&self) -> i32

source

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

source

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

source

fn paste_clipboard(&self)

source

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

source

fn set_editable(&self, is_editable: bool)

source

fn set_position(&self, position: i32)

Implementors§