set_default_filter


Description:

public void set_default_filter (FileFilter? filter)

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

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

Parameters:

this

a `GtkFileDialog`

filter

a `GtkFileFilter`