Trait gtk4::subclass::editable::EditableImpl

source ·
pub trait EditableImpl: WidgetImpl {
    // Provided methods
    fn insert_text(&self, text: &str, length: i32, position: &mut i32) { ... }
    fn delete_text(&self, start_position: i32, end_position: i32) { ... }
    fn changed(&self) { ... }
    fn text(&self) -> GString { ... }
    fn delegate(&self) -> Option<Editable> { ... }
    fn do_insert_text(&self, text: &str, length: i32, position: &mut i32) { ... }
    fn do_delete_text(&self, start_position: i32, end_position: i32) { ... }
    fn selection_bounds(&self) -> Option<(i32, i32)> { ... }
    fn set_selection_bounds(&self, start_position: i32, end_position: i32) { ... }
}

Provided Methods§

source

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

source

fn delete_text(&self, start_position: i32, end_position: i32)

source

fn changed(&self)

source

fn text(&self) -> GString

source

fn delegate(&self) -> Option<Editable>

source

fn do_insert_text(&self, text: &str, length: i32, position: &mut i32)

source

fn do_delete_text(&self, start_position: i32, end_position: i32)

source

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

source

fn set_selection_bounds(&self, start_position: i32, end_position: i32)

Object Safety§

This trait is not object safe.

Implementors§