Re: [Gimp-user] what's with the auto-insert of run-mode as the first arg for script-fu methods?

2012-09-24 Thread Kevin Cozens
On 12-09-20 01:43 AM, Gary Aitken wrote: But the procedure browser lists it as taking two args, the first of which is run-mode INT32 Interactive, non-interactive The procedure browser outputs information oriented more at C based plugins and not Scheme scripts. Scheme scripts do not take a

[Gimp-user] what's with the auto-insert of run-mode as the first arg for script-fu methods?

2012-09-20 Thread paynekj
There's half an explanation in this e-mail chain: http://www.gimpusers.com/forums/gimp-developer/10891-run-mode-enums But essentially, if you start your procedure name with script-fu- then the run mode is implicit and you shouldn't include it in any definitions. The fact that it turns up in the

[Gimp-user] what's with the auto-insert of run-mode as the first arg for script-fu methods?

2012-09-19 Thread Gary Aitken
Using gimp 2.6 I originally defined my script-fu procedure as (define (my-proc fileExpr) ... ) and registered it using: (script-fu-register "my-proc" ... "" ; image type the script works on SF-STRING "FileNameExpression""" ) But