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
(
GtkFileFilterInfo* filterInfo
)

Parameters

filterInfo GtkFileFilterInfo*

a #GtkFileFilterInfo containing information about a file.

Return Value

Type: bool

%TRUE if the file should be displayed

Meta