Re: [Gimp-developer] Non interactive plugin call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Maxime Cousinou <max@xxxxxxxxx> writes:

> I'm writing a plug in (two in fact) and I want the first one to launch
> the second one through the non-interactive way, but I can't find how to
> do that.
> Can anyone help ?

call it through the PDB. For an example, have a look at the helpbrowser
plug-in. It calls the webbrowser extension:

      return_vals = gimp_run_procedure ("extension_web_browser",
					&nreturn_vals,
					GIMP_PDB_INT32,  GIMP_RUN_NONINTERACTIVE,
					GIMP_PDB_STRING, cbs->href,
					GIMP_PDB_INT32,  FALSE,
					GIMP_PDB_END);
      gimp_destroy_params (return_vals, nreturn_vals);



Salut, Sven


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux