gtk4::subclass::selection_model

Trait SelectionModelImplExt

Source
pub trait SelectionModelImplExt: SelectionModelImpl {
    // Provided methods
    fn parent_selection_in_range(&self, position: u32, n_items: u32) -> Bitset { ... }
    fn parent_is_selected(&self, position: u32) -> bool { ... }
    fn parent_select_all(&self) -> bool { ... }
    fn parent_select_item(&self, position: u32, unselect_rest: bool) -> bool { ... }
    fn parent_select_range(
        &self,
        position: u32,
        n_items: u32,
        unselect_rest: bool,
    ) -> bool { ... }
    fn parent_set_selection(&self, selected: &Bitset, mask: &Bitset) -> bool { ... }
    fn parent_unselect_all(&self) -> bool { ... }
    fn parent_unselect_item(&self, position: u32) -> bool { ... }
    fn parent_unselect_range(&self, position: u32, n_items: u32) -> bool { ... }
}

Provided Methods§

Source

fn parent_selection_in_range(&self, position: u32, n_items: u32) -> Bitset

Source

fn parent_is_selected(&self, position: u32) -> bool

Source

fn parent_select_all(&self) -> bool

Source

fn parent_select_item(&self, position: u32, unselect_rest: bool) -> bool

Source

fn parent_select_range( &self, position: u32, n_items: u32, unselect_rest: bool, ) -> bool

Source

fn parent_set_selection(&self, selected: &Bitset, mask: &Bitset) -> bool

Source

fn parent_unselect_all(&self) -> bool

Source

fn parent_unselect_item(&self, position: u32) -> bool

Source

fn parent_unselect_range(&self, position: u32, n_items: u32) -> bool

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§