Gcr.FilterCollection.prototype.set_callback
function set_callback(callback: Gcr.FilterCollectionFunc): void {
// Gjs wrapper for gcr_filter_collection_set_callback()
}
Set the callback used to filter the objects in the underlying collection. The callback should return true if an object should appear in the filtered collection.
If a null callback is set, then all underlynig objects will appear in the filtered collection.
This will refilter the collection.
- callback
function to call for each object