FileDialog.setDefaultFilter

void setDefaultFilter(gtk.file_filter.FileFilter filter = null)

Sets the filter that will be selected by default in the file chooser dialog.

If set to null, the first item in [gtk.file_dialog.FileDialog.filters] will be used as the default filter. If that list is empty, the dialog will be unfiltered.

Parameters

filtera [gtk.file_filter.FileFilter]