Package org.gnome.gtk

Class SliceListModel<T extends GObject>

java.lang.Object
All Implemented Interfaces:
Proxy, ListModelJavaList<T>, Iterable<T>, Collection<T>, List<T>, SequencedCollection<T>, ListModel<T>, SectionModel<T>

@Generated("io.github.jwharm.JavaGI") public class SliceListModel<T extends GObject> extends GObject implements ListModel<T>, SectionModel<T>
GtkSliceListModel is a list model that presents a slice of another model.

This is useful when implementing paging by setting the size to the number of elements per page and updating the offset whenever a different page is opened.

GtkSliceListModel passes through sections from the underlying model.