FilterListModel


Object Hierarchy:

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

Description:

[ CCode ( type_id = "gtk_filter_list_model_get_type ()" ) ]
public sealed class FilterListModel : Object, ListModel, SectionModel

`GtkFilterListModel` is a list model that filters the elements of the underlying model according to a `GtkFilter`.

It hides some elements from the other model according to criteria given by a `GtkFilter`.

The model can be set up to do incremental filtering, so that filtering long lists doesn't block the UI. See [ method@Gtk.FilterListModel.set_incremental] for details.

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