FileFilter.filter

Tests whether a file should be displayed according to filter. The #GtkFileFilterInfo filter_info should include the fields returned from gtk.file_filter.FileFilter.getNeeded.

This function will not typically be used by applications; it is intended principally for use in the implementation of #GtkFileChooser.

Parameters

filterInfo gtk.file_filter_info.FileFilterInfo

a #GtkFileFilterInfo containing information about a file.

Return Value

Type: bool

true if the file should be displayed