Function

GtkFileFilterFunc

Declaration

gboolean
(* GtkFileFilterFunc) (
  const GtkFileFilterInfo* filter_info,
  gpointer data
)

Description [src]

The type of function that is used with custom filters, see gtk_file_filter_add_custom().

Parameters

filter_info

Type: GtkFileFilterInfo

A GtkFileFilterInfo that is filled according to the needed flags passed to gtk_file_filter_add_custom().

The data is owned by the caller of the function.
data

Type: gpointer

User data passed to gtk_file_filter_add_custom().

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if the file should be displayed.