pub trait EditableImplExt: ObjectSubclass {
    // Required methods
    fn parent_insert_text(
        &self,
        editable: &Self::Type,
        text: &str,
        length: i32,
        position: &mut i32
    );
    fn parent_delete_text(
        &self,
        editable: &Self::Type,
        start_position: i32,
        end_position: i32
    );
    fn parent_changed(&self, editable: &Self::Type);
    fn parent_do_insert_text(
        &self,
        editable: &Self::Type,
        text: &str,
        length: i32,
        position: &mut i32
    );
    fn parent_do_delete_text(
        &self,
        editable: &Self::Type,
        start_position: i32,
        end_position: i32
    );
    fn parent_delegate(&self, editable: &Self::Type) -> Option<Editable>;
    fn parent_selection_bounds(
        &self,
        editable: &Self::Type
    ) -> Option<(i32, i32)>;
    fn parent_set_selection_bounds(
        &self,
        editable: &Self::Type,
        start_position: i32,
        end_position: i32
    );
    fn parent_text(&self, editable: &Self::Type) -> GString;

    // Provided methods
    fn delegate_get_property(
        &self,
        editable: &Self::Type,
        prop_id: usize,
        pspec: &ParamSpec
    ) -> Option<Value> { ... }
    fn delegate_set_property(
        &self,
        editable: &Self::Type,
        prop_id: usize,
        value: &Value,
        pspec: &ParamSpec
    ) -> bool { ... }
}

Required Methods§

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Provided Methods§

source

fn delegate_get_property( &self, editable: &Self::Type, prop_id: usize, pspec: &ParamSpec ) -> Option<Value>

source

fn delegate_set_property( &self, editable: &Self::Type, prop_id: usize, value: &Value, pspec: &ParamSpec ) -> bool

Implementors§