Method

GtkFileFilterfilter

since: 2.4

Declaration [src]

gboolean
gtk_file_filter_filter (
  GtkFileFilter* filter,
  const GtkFileFilterInfo* filter_info
)

Description [src]

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.

Available since: 2.4

Parameters

filter_info

Type: GtkFileFilterInfo

A GtkFileFilterInfo containing information about a file.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if the file should be displayed.