[Gimp-developer] gimp_patterns_get_list

Sven Neumann sven at gimp.org
Wed Mar 12 12:10:50 PDT 2008


Hi,

On Wed, 2008-03-12 at 14:12 -0400, Andrei Simion wrote:
> I checked in the procedure browser for gimp_patterns_get_list and found 
> it is not supposed to get any compulsory parameters. There is an 
> optional parameter, a regular expression string.
> 
> If the optional parameter is not provided, then no pattern is returned 
> in the array. I passed the empty string and I got the list of available 
> patterns.
> 
> I think this method is not properly documented in the procedure browser.

The term "optional" in the procedure documentation means that you can
pass an empty string here. GIMP core PDB procedures don't support
optional parameters in the sense that you can omit them.


Sven




More information about the Gimp-developer mailing list