Re: Improvement for measurement tool

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

 



On Mon, Jul 6, 2009 at 5:45 PM, Sven Neumann<sven@xxxxxxxx> wrote:> Hi,>> On Mon, 2009-07-06 at 17:32 -0500, Chris Mohler wrote:>>> When using the old, unnamed register() parameters, if you leave>> 'params' empty, the main plug-in function still receives two>> parameters - the current image and drawable.  Using the new, named>> register() parameters does not seem to do this anymore.>>>> No big deal really, but I thought it odd that the behavior would be different.>> That is exactly the odd quirks mode for backward compatibility that I> mentioned. If you use the old register() API, then parameters are added> for you depending on the menu location your script is registering to. As> that is hard to understand and frequently leads to automatically added> parameters that the script does not actually need, this behavior was> changed. It is still there, for backward compatibility, if you use the> old API though.
OK - thanks for clarifying that.  I had no idea that the automaticparameters varied based on menu location.
Chris_______________________________________________Gimp-developer mailing listGimp-developer@xxxxxxxxxxxxxxxxxxxxxxxxxxx://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