NoSelection
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.
Skipped during bindings generation
method
item-type
: Property has no getter nor settermethod
n-items
: Property has no getter nor setter
Constructors
Properties
Functions
Emitted when the start-of-section state of some of the items in @model changes.
Emitted when the selection state of some of the items in @model changes.
Gets the set containing all currently selected items in the model.
Gets the set of selected items in a range.
Checks if the given item is selected.
This function emits the signal@Gtk.SectionModel::sections-changed signal to notify about changes to sections.
Helper function for implementations of GtkSelectionModel
.
Requests to select an item in the model.
Requests to select a range of items in the model.
Make selection changes.
Requests to unselect all items in the model.
Requests to unselect an item in the model.
Requests to unselect a range of items in the model.