NoSelection#
Superclasses: Object
Implemented Interfaces: ListModel, SectionModel, SelectionModel
GtkNoSelection is a GtkSelectionModel 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