SliceListModel


Object Hierarchy:

Gtk.SliceListModel Gtk.SliceListModel Gtk.SliceListModel GLib.Object GLib.Object GLib.Object->Gtk.SliceListModel GLib.ListModel GLib.ListModel GLib.ListModel->Gtk.SliceListModel Gtk.SectionModel Gtk.SectionModel Gtk.SectionModel->Gtk.SliceListModel

Description:

[ CCode ( type_id = "gtk_slice_list_model_get_type ()" ) ]
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 interface GLib.ListModel
All known members inherited from interface Gtk.SectionModel