set_meta


Description:

[ Version ( since = "3.2" ) ]
public void set_meta (bool is_meta, string meta_extensions)

Some [class@Gimp.

LoadProcedure] or [class@Gimp.ExportProcedure] may actually be a *meta* procedure. Meta procedures are typically supporting container formats which will call another procedure for the actual format within the container.

Note that you should still call [method@FileProcedure.set_extensions], usually with a list of standard full formats, such as "xcf.gz,xcfgz", or again "hgt.zip". Nevertheless the meta_extensions should be only "gz" or "zip" respectively. This would allow this meta format to work even on less common combinations. For instance, I could export an image as "png.gz" even though it is not explicitly listed.

Parameters:

this

A file procedure.

is_meta

Whether this is a meta file procedure.

meta_extensions

A comma separated list of generic extensions this procedure can handle (i.e. "gz").