A GtkFileFilter can be used to restrict the files being shown in a GtkFileChooser Files can be filtered based on their name (with FileFilter.addPattern), on their mime type (with FileFilter.addMimeType), or by a custom filter function (with FileFilter.addCustom).
Undocumented in source.