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