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

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

Required Methods§

source

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

source

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

source

fn parent_changed(&self)

source

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

source

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

source

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

source

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

source

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

source

fn parent_text(&self) -> GString

Provided Methods§

source

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

source

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

Implementors§

source§

impl<T> EditableImplExt for Twhere T: EditableImpl,