Package: gtk

Function gtk:recent-filter-add-custom

Lambda List

gtk:recent-filter-add-custom (filter needed func)

Arguments

filter -- a gtk:recent-filter object
needed -- bitfield of gtk:recent-filter-flags flags indicating the information that the custom filter function needs
func -- a gtk:recent-filter-func callback function, if the function returns true, then the file will be displayed

Details

Adds a rule to a filter that allows resources based on a custom callback function. The bitfield needed which is passed in provides information about what sorts of information that the filter function needs. This allows GTK to avoid retrieving expensive information when it is not needed by the filter.
 

See also

#2023-3-24