Gtk.FileChooser.prototype.list_filters

function list_filters():[Gtk.FileFilter] {
    // Gjs wrapper for gtk_file_chooser_list_filters()
}

Lists the current set of user-selectable filters; see Gtk.FileChooser.prototype.add_filter, Gtk.remove_filter.

Since 2.4

Returns

a GLib.SList containing the current set of user selectable filters. The contents of the list are owned by GTK+, but you must free the list itself with GLib.free when you are done with it.