Package: gtk

Class gtk:filter-list-model

Superclasses

gio:list-model, gtk:section-model, gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

filter
The filter property of type gtk:filter (Read / Write)
The filter for the model.
incremental
The incremental property of type :boolean (Read / Write)
Whether the model should filter items incrementally.
Default value: false
item-type
The item-type property of type g:type-t (Read)
The type of items. Since 4.8
model
The model property of type g:list-model (Read / Write)
The model being filtered.
n-items
The n-items property of type :uint (Read / Write)
The number of items. Since 4.8
Default value: 0
pending
The pending property of type :uint (Read)
The number of items not yet filtered.
Default value: 0

Details

The gtk:filter-list-model object is a list model that filters the elements of the underlying model according to a gtk:filter object. It hides some elements from the other model according to criteria given by a gtk:filter object.

The model can be set up to do incremental searching, so that filtering long lists does not block the UI. See the gtk:filter-list-model-incremental function for details.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2025-3-26