SliceListModel
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_slice_list_model_get_type ()" ) ]
public sealed class SliceListModel : Object, ListModel, SectionModel
public sealed class SliceListModel : Object, ListModel, SectionModel
`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.
Namespace: Gtk
Package: gtk4
Content:
Properties:
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface GLib.ListModel
All known members inherited from interface Gtk.SectionModel