FileFilter.this

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], or [method@Gtk.FileFilter.add_pixbuf_formats].

To create a filter that accepts any file, use:

GtkFileFilter *filter = gtk_file_filter_new ();
gtk_file_filter_add_pattern (filter, "*");

Return Value

a new GtkFileFilter

Throws

ConstructionException GTK+ fails to create the object.

Meta