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

Description:

[ CCode ( type_id = "gtk_slice_list_model_get_type ()" ) ]
public class SliceListModel : Object, ListModel

`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.


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



2022 vala-language.org