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

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


On Thu, Oct 06, 2005 at 12:02:18PM -0400, Kevin Cozens wrote:
> 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 !
> 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.
this is interesting.  if i understand it correctly, the python browser
is doing the exact opposite.  for example, i get from the browser:
pdb['gimp-image-add-layer'](image, layer, position) and i have to change
it to: pdb.gimp_image_add_layer(image, layer, position)

it never seemed to be a big problem to me though.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.

Yahoo! Groups Links

<*> To visit your group on the web, go to:

<*> To unsubscribe from this group, send an email to:

<*> Your use of Yahoo! Groups is subject to:

[Index of Archives]     [Gimp Developers]     [Gimp Users]     [Yosemite News]     [Epson Inkjet Printers]     [Scanners]     [Gimp's Home]     [Steve's Art]

&hbsp; Powered by Linux