Gtk.FileFilter.prototype.set_name

function set_name(name:String):void {
    // Gjs wrapper for gtk_file_filter_set_name()
}

Sets the human-readable name of the filter; this is the string that will be displayed in the file selector user interface if there is a selectable list of filters.

Since 2.4

name

the human-readable-name for the filter, or null to remove any existing name.