FileChooser.getFilters

Gets the current set of user-selectable filters, as a list model.

See [gtk.file_chooser.FileChooser.addFilter] and [gtk.file_chooser.FileChooser.removeFilter] for changing individual filters.

You should not modify the returned list model. Future changes to chooser may or may not affect the returned model.

Returns

a [gio.list_model.ListModel] containing the current set

of user-selectable filters.

Deprecated

Use [gtk.file_dialog.FileDialog] instead