Gimp » Gimp.ImageProcedure »

Gimp.ImageProcedure.new

function new(plug_in: Gimp.PlugIn, name: String, proc_type: Gimp.PDBProcType): Gimp.Procedure {
    // Gjs wrapper for gimp_image_procedure_new()
}
  

Creates a new image procedure named name which will call run_func when invoked.

See [ctor@Procedure.new] for information about proc_type.

Since 3.0

plug_in

a Gimp.PlugIn.

name

the new procedure's name.

proc_type

the new procedure's Gimp.PDBProcType.

Returns

a new Gimp.Procedure.

More Information

  • Gimp.ImageProcedure