MultiSelection
Superclasses: Object
Implemented Interfaces: ListModel
, SectionModel
, SelectionModel
GtkMultiSelection
is a GtkSelectionModel
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
GListModel
to manage
Methods
Properties
- class MultiSelection
- props.item_type: type
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.