Post Reply 

Need to know list of valid parameter types for scripting

Feb 17, 2014, 19:36
Post: #1
Need to know list of valid parameter types for scripting
As the title says, I've been searching online for a list of the valid types of parameters that you can declare when registering a script. I only know of the types that are listed on the gimp script help on the website. : S
Find all posts by this user
Quote this message in a reply
Feb 17, 2014, 19:38
Post: #2
RE: Need to know list of valid parameter types for scripting
I mainly need to know for certain if I can use a Radio button (the one that can have multiple selection types, so i don't need to use a ton of toggles to get what I want my script to do).
Find all posts by this user
Quote this message in a reply
Feb 17, 2014, 21:15 (This post was last modified: Feb 17, 2014 21:29 by oconzer.)
Post: #3
RE: Need to know list of valid parameter types for scripting
Thanks for the list of the parameter types, the only issue is that I'm not certain with now is how to use them. I know only how to use a few of those listed (don't know how to set up selections / default values for certain ones).

If you could please provide some examples of how someone would use the following parameter types (or where I can find out how to use them):

PF_ADJUSTMENT
PF_BRUSH
PF_CHANNEL
PF_COLOR
PF_COLOUR
PF_DISPLAY
PF_FONT
PF_GRADIENT
PF_ITEM
PF_OPTION
PF_PALETTE
PF_PATTERN
PF_RADIO
PF_SLIDER
PF_SPINNER
PF_VECTORS
Find all posts by this user
Quote this message in a reply
Feb 17, 2014, 21:53
Post: #4
RE: Need to know list of valid parameter types for scripting
I've only used the Scheme equivalents.
Maybe you can find the equivalent Python doc somewhere or extrapolate from this.
Find all posts by this user
Quote this message in a reply
Feb 18, 2014, 00:38
Post: #5
RE: Need to know list of valid parameter types for scripting
Thanks that showed me what I needed to know so I could use them in scripting.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Script-fu ordered file list vnicent 1 142 Mar 19, 2018 17:33
Last Post: paynekj
  script-fu argument/parameter formats dhugg 2 242 Mar 13, 2018 00:50
Last Post: dhugg
  Script Fu List of Function alzyee 0 945 Aug 30, 2013 15:02
Last Post: alzyee
  Live scripting with python-fu? hedgehogrider 2 1,138 Feb 15, 2013 01:12
Last Post: hedgehogrider
  Help Request. First attempt at GIMP + Python scripting - not working.... Jettatore 1 1,071 Nov 26, 2012 10:48
Last Post: Jettatore

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS