Trait gtk4::subclass::selection_model::SelectionModelImpl[][src]

pub trait SelectionModelImpl: ListModelImpl {
    fn selection_in_range(
        &self,
        model: &Self::Type,
        position: u32,
        n_items: u32
    ) -> Bitset { ... }
fn is_selected(&self, model: &Self::Type, position: u32) -> bool { ... }
fn select_all(&self, model: &Self::Type) -> bool { ... }
fn select_item(
        &self,
        model: &Self::Type,
        position: u32,
        unselect_rest: bool
    ) -> bool { ... }
fn select_range(
        &self,
        model: &Self::Type,
        position: u32,
        n_items: u32,
        unselect_rest: bool
    ) -> bool { ... }
fn set_selection(
        &self,
        model: &Self::Type,
        selected: &Bitset,
        mask: &Bitset
    ) -> bool { ... }
fn unselect_all(&self, model: &Self::Type) -> bool { ... }
fn unselect_item(&self, model: &Self::Type, position: u32) -> bool { ... }
fn unselect_range(
        &self,
        model: &Self::Type,
        position: u32,
        n_items: u32
    ) -> bool { ... } }

Provided methods

Implementors