gtk4::subclass::editable

Trait EditableImplExt

Source
pub trait EditableImplExt: Sealed + ObjectSubclass {
    // 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 { ... }
    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_text(&self) -> GString { ... }
    fn parent_delegate(&self) -> Option<Editable> { ... }
    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_selection_bounds(&self) -> Option<(i32, i32)> { ... }
    fn parent_set_selection_bounds(
        &self,
        start_position: i32,
        end_position: i32,
    ) { ... }
}

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

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_text(&self) -> GString

Source

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

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_selection_bounds(&self) -> Option<(i32, i32)>

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§