Register script in Vectors Menu?

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

 



I have written a script to fractalize a path (vector) and wanted to
register it in the paths menu.
Here is my register statements:

(script-fu-register "fractalize_path"
        		        "Fractalize Path..."
                    "Fractalize the active path."
                    "Rob Antonishen"
                    "Rob Antonishen"
                    "July 2009"
                    ""
                    SF-IMAGE      "image"              0
                    SF-DRAWABLE   "drawable"           0
                    SF-ADJUSTMENT "Subdivisions"       (list 3 1 5 1 2
0 SF-SLIDER)
                    SF-ADJUSTMENT "Smoothness"         (list 5 0 20
0.1 1 1 SF-SLIDER)
                    SF-TOGGLE     "Interpolate First"  FALSE
                    SF-ADJUSTMENT "Interpolate Pixels" (list 50 15 100
1 10 0 SF-SLIDER)
)

(script-fu-menu-register "fractalize_path"
                         "<Vectors>")

And the error I get is:
attempted to install <Vectors> procedure "fractalize-path" which does
not take the standard <Vectors> Plug-In arguments: (INT32, IMAGE,
VECTORS).


Is it not possible to register a script-fu with a number of different
parameters into that menu location?

I have successfully registered scripts into other locations like
<Gradients> and Layers using this mechanism.

-Rob A>
_______________________________________________
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