pub trait SelectionModelImplExt: ObjectSubclass {
    // Required methods
    fn parent_selection_in_range(
        &self,
        model: &Self::Type,
        position: u32,
        n_items: u32
    ) -> Bitset;
    fn parent_is_selected(&self, model: &Self::Type, position: u32) -> bool;
    fn parent_select_all(&self, model: &Self::Type) -> bool;
    fn parent_select_item(
        &self,
        model: &Self::Type,
        position: u32,
        unselect_rest: bool
    ) -> bool;
    fn parent_select_range(
        &self,
        model: &Self::Type,
        position: u32,
        n_items: u32,
        unselect_rest: bool
    ) -> bool;
    fn parent_set_selection(
        &self,
        model: &Self::Type,
        selected: &Bitset,
        mask: &Bitset
    ) -> bool;
    fn parent_unselect_all(&self, model: &Self::Type) -> bool;
    fn parent_unselect_item(&self, model: &Self::Type, position: u32) -> bool;
    fn parent_unselect_range(
        &self,
        model: &Self::Type,
        position: u32,
        n_items: u32
    ) -> bool;
}

Required Methods§

source

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

source

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

source

fn parent_select_all(&self, model: &Self::Type) -> bool

source

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

source

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

source

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

source

fn parent_unselect_all(&self, model: &Self::Type) -> bool

source

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

source

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

Implementors§