MultiSelection#
Superclasses: Object
Implemented Interfaces: ListModel, SectionModel, SelectionModel
A selection model that allows selecting multiple elements.
Constructors#
- class MultiSelection
- classmethod new(model: ListModel | None = None) MultiSelection#
Creates a new selection to handle
model.- Parameters:
model – the
GListModelto manage
Methods#
Properties#
- class MultiSelection
- props.item_type: GType#
The type of items. See
get_item_type.Added in version 4.8.
- props.n_items: int#
The number of items. See
get_n_items.Added in version 4.8.