On 07/09/2010 20:55, Jerry Baker wrote:
PF_OPTION is what I had in mind, without finding it described. I googled
it after you netioned itn and found a nice python-fu sample with all
parameters types... I wish I had found it earlier...
Thanks for confirming my guess that multiple registration co
On 07/09/2010 20:52, Sven Neumann wrote:
>
> On Tue, 2010-09-07 at 16:53 +0200, Ofnuts wrote:
>> I'd like the user to select a "variant" of a plugin (among 3 to 5
>> ones). I would normally do so with a R/O drop-down box displaying the
>> names. Is there a way to do so using the right type of param
On Tue, 2010-09-07 at 16:53 +0200, Ofnuts wrote:
> I'd like the user to select a "variant" of a plugin (among 3 to 5
> ones). I would normally do so with a R/O drop-down box displaying the
> names. Is there a way to do so using the right type of parameter type in
> the registration (couldn't fin
If your 'variants' are similar you could just use PF_OPTION and change
your variables/options with an if/else...
Or you can define different functions and register them separately in
the same file. The 'palette-to-gradient.py' file in the source does
this...
http://git.gnome.org/browse/gimp/
I'd like the user to select a "variant" of a plugin (among 3 to 5
ones). I would normally do so with a R/O drop-down box displaying the
names. Is there a way to do so using the right type of parameter type in
the registration (couldn't find it)?
Otherwise what would be the recommended way to