Google
  Web www.spinics.net

Re: python-fu script

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


On Sun, May 11, 2008 at 7:27 AM, Joao S. O. Bueno <gwidion@xxxxxxxxxx> wrote:
>> The drawable you are passing looks just right. But doesn't the
>> resynthesizer PDB procedure take run-mode as its first parameter?
>>
> When caling PDB stuff from a python plug-in, the run-mode
> parameter is always omited and assumed to be "non-interactive"

For the sake of completeness, I'll mention that you *can* use other
run modes, by specifying the kwarg 'run_mode'
like this

pdb.plug_in_gauss (i, i.layers[0], 4, 4, 1, run_mode = 0)

^^^
Brings up the normal interactive dialog.
_______________________________________________
Gimp-user mailing list
Gimp-user@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

[Home]     [GIMP Development]     [Video For Linux]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Yosemite Book Store]     [gtk]     [KDE]     [Scanner]     [Gimp's Home]     [Gimp Docs]     [Gimp on Windows]     [Steve's Art]     [Webcams]     [Share Your Images]     [Free Online Dating]     [Script Fu]

Powered by Linux amazon