Re: [script-fu] Re: New file uploaded to script-fu

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


lasm.rm wrote:
>   I am on 2.2 "stable" and found some changes in the PDB,
>   one of the bugs really got on my nerves... Turn out that
>   the PDB browser says gimp_display_new but it won't work,
>   the one which works is gimp-display-new .. Ugh... stuff like
>   that !

The PDB browser in the current CVS copy of GIMP now uses - instead of _ in 
procedure names. That is a step in the right direction, IMHO. It still shows 
the wrong form of named constants as far as Script-Fu writers are concerned.

To use named constants shown in the PDB browser output you need to drop the 
leading GIMP_ and change any remaining _ to -. For example, the named constant 
GIMP_MAKE_PALETTE as shown in the PDB browser should be MAKE-PALETTE in script 
files.

I discussed this with the GIMP developers some time back suggesting that PDB 
brower show things from the point of view of Script-Fu. They didn't want to 
change it. As a result, it continues to show its C oriented plug-in roots and 
confuses some users who want to try their hand at writing or modifying their 
first Script-Fu script.

-- 
Cheers!

Kevin.

http://www.interlog.com/~kcozens/ |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172        |"Same thing we always do, Pinkutus:
                                   |  Try to assimilate the world!"
#include <disclaimer/favourite>   |              -Pinkutus & the Borg


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/e4wwlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/script-fu/

<*> To unsubscribe from this group, send an email to:
    script-fu-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





Photo 4 Less

[Gimp Developers]     [Gimp Users]     [Photos]     [Yosemite News]     [Yosemite Photos]    [Epson Inkjet]     [Scanner]     [Gimp's Home]     [Steve's Art]

Add to Google Powered by Linux