Post Reply 

Where can I get a list of registered enum types used for "SF-ENUM" argument?

Feb 1, 2011, 10:53
Post: #1
Where can I get a list of registered enum types used for "SF-ENUM" argument?
Hello,Everyone. I'm sorry that my English is terrible.

I am in trouble.
I'm writing a script-fu script. I would like to use parameter API, "SF-ENUM" but there're no list of registered enum types. I'd like to show "Template"(The list of paper size,A4,B5,A5...)
I wrote this:
SF-ENUM "Template" '("Template" "A4")
But an error returned.
"Error: script-fu-register: first element in enum defaults must be the name of a registered type "
Where can I get the list of the name of a registered type? The document shows only this example: SF-ENUM "Interpolation" '("InterpolationType" "linear")
Please,help me.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Need to know list of valid parameter types for scripting oconzer 6 464 Feb 18, 2014 00:38
Last Post: oconzer
  Script Fu List of Function alzyee 2 724 Aug 30, 2013 15:16
Last Post: ofnuts
  If-Types umwelt 3 1,727 May 27, 2011 15:27
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS