Re: Python plugin registration: choosing between a "closed" set of strings

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

 



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 parameter type in
>> the registration (couldn't find it)?
>
> You should consider to avoid gimpfu for this and write a real GIMP
> plug-in in Python using a user interface built in PyGTK. The
> auto-generated UI of gimpfu is really just suited for very simple
> scripts. And there is a lot of awkwardness in gimpfu. It tries to make
> things easy for you, but then it gets into your way and you end up
> spending time to find workarounds for that.

Still a rather simple script so far, parameter-wise, so python-fu is 
sufficient, especially given Jerry's answers... but I'll keep your 
suggestion in mind for when I get more proficient with all this.

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[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