FilterCollection
Object Hierarchy:
Description:
[
CCode ( type_id =
"gcr_filter_collection_get_type ()" ) ]
public class FilterCollection :
Object,
Collection
A collection which filters a [iface@Collection].
An implementation of [iface@Collection] which filters objects from another underlying collection. Use [
ctor@FilterCollection.new_with_callback] to create a new filter collection.
The callback will determine the criteria for whether an object shows through the filter or not.
Content:
Properties:
Creation methods:
Methods:
- public unowned Collection get_underlying ()
Get the collection that is being filtered by this filter collection.
- public void refilter ()
Refilter all objects in the underlying collection.
- public void set_callback (owned FilterCollectionFunc? callback)
Set the callback used to filter the objects in the underlying
collection.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface Gcr.Collection