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
    ) { ... }
}

Provided Methods§

source

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

source

fn delete_text( &self, editable: &Self::Type, start_position: i32, end_position: i32 )

source

fn changed(&self, editable: &Self::Type)

source

fn text(&self, editable: &Self::Type) -> GString

source

fn delegate(&self, editable: &Self::Type) -> Option<Editable>

source

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

source

fn do_delete_text( &self, editable: &Self::Type, start_position: i32, end_position: i32 )

source

fn selection_bounds(&self, editable: &Self::Type) -> Option<(i32, i32)>

source

fn set_selection_bounds( &self, editable: &Self::Type, start_position: i32, end_position: i32 )

Implementors§