[ CCode ( has_construct_function = false ) ]
public SliceListModel (owned ListModel? model, uint offset, uint size)
Creates a new slice model.
It presents the slice from offset
to offset + size
of the given model
.
model |
The model to use |
offset |
the offset of the slice |
size |
maximum size of the slice |
A new `GtkSliceListModel` |