NoSelection#
Superclasses: Object
Implemented Interfaces: ListModel, SectionModel, SelectionModel
A selection model that does not allow selecting anything.
This model is meant to be used as a simple wrapper around a GListModel
when a GtkSelectionModel is required.
GtkNoSelection passes through sections from the underlying model.
Constructors#
- class NoSelection
- classmethod new(model: ListModel | None = None) NoSelection#
Creates a new selection to handle
model.- Parameters:
model – the
GListModelto manage
Methods#
Properties#
- class NoSelection
- 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.