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§
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)
Object Safety§
This trait is not object safe.