Trait gtk4::subclass::selection_model::SelectionModelImplExt
source · [−]pub trait SelectionModelImplExt: ObjectSubclass {
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
sourcefn parent_selection_in_range(
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
sourcefn parent_select_range(
fn parent_select_range(
&self,
model: &Self::Type,
position: u32,
n_items: u32,
unselect_rest: bool
) -> bool
source
fn parent_unselect_all(&self, model: &Self::Type) -> bool
source