FileFilter


Description:

[ CCode ( has_construct_function = false ) ]
public FileFilter ()

Creates a new `GtkFileFilter` with no rules added to it.

Such a filter doesn’t accept any files, so is not particularly useful until you add rules with [method@Gtk.FileFilter.add_mime_type], [ method@Gtk.FileFilter.add_pattern], [method@Gtk.FileFilter.add_suffix] or [method@Gtk.FileFilter.add_pixbuf_formats].

To create a filter that accepts any file, use: ```c GtkFileFilter *filter = gtk_file_filter_new (); gtk_file_filter_add_pattern (filter, "*"); ```

Returns:

a new `GtkFileFilter`