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_get_needed().

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

class FileFilter
bool
filter

Parameters

filterInfo GtkFileFilterInfo*

a #GtkFileFilterInfo containing information about a file.

Return: %TRUE if the file should be displayed

Meta