Trait gtk::EditableExt[][src]

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)[src]

fn cut_clipboard(&self)[src]

fn delete_selection(&self)[src]

fn delete_text(&self, start_pos: i32, end_pos: i32)[src]

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

fn get_editable(&self) -> bool[src]

fn get_position(&self) -> i32[src]

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

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

fn paste_clipboard(&self)[src]

fn select_region(&self, start_pos: i32, end_pos: i32)[src]

fn set_editable(&self, is_editable: bool)[src]

fn set_position(&self, position: i32)[src]

Loading content...

Implementors

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

Loading content...