Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_gimp_procedure_run_array: no return values, shouldn't happen
#4
(11-21-2024, 12:47 PM)JustJamie Wrote: Ok...

I believe I would do this in the do_create_procedure function with the following line of code:

procedure = Gimp.ImageProcedure.new(self, name, Gimp.PDBProcType.PLUGIN,self.run,None)

The last argument (None) is the 'run-data' of type gpointer that gets passed to the run function.  I haven't found much information about the gpointer type in the Gimp or GimpUi documentation ...

Yes. GPointer is a C thing, it is a pointer to anything. I don't see much use for this in the average Python plugin.
Reply


Messages In This Thread
RE: _gimp_procedure_run_array: no return values, shouldn't happen - by Ofnuts - 11-21-2024, 09:24 PM

Forum Jump: