Gimp.FileProcedure.prototype.set_prefixes

function set_prefixes(prefixes: String): void {
    // Gjs wrapper for gimp_file_procedure_set_prefixes()
}
  

It should almost never be necessary to register prefixes with file procedures, because most sorts of URIs should be handled by GIO.

Since 3.0

prefixes

A comma separated list of prefixes this procedure can handle (i.e. "http:,ftp:").