Gimp.FileProcedure.set_magics

@accepts(Gimp.FileProcedure, unicode)
@returns(none)
def set_magics(self, magics):
    # Python wrapper for gimp_file_procedure_set_magics()
  

Registers the list of magic file information this procedure can handle.

Since 3.0

self

A file procedure object.

magics

A comma-separated list of magic file information (i.e. "0,string,GIF").