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 List of Function alzyee 1 868 Aug 30, 2013 15:12
Last Post: paynekj
  Live scripting with python-fu? hedgehogrider 2 1,072 Feb 15, 2013 01:12
Last Post: hedgehogrider
  Help Request. First attempt at GIMP + Python scripting - not working.... Jettatore 1 997 Nov 26, 2012 10:48
Last Post: Jettatore
  Scripting in GIMP - automating a common task. tahwos 8 3,481 Jan 14, 2012 01:43
Last Post: tahwos
  call functions with image parameter tralli 1 1,113 Jun 15, 2011 09:43
Last Post: tralli

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS