Re: [Gimp-user] Documentation for script-fu-register?

2015-09-16 Thread J. Leslie Turriff
On Wednesday 16 September 2015 11:47:07 Dave English wrote:
> Only a novice myself, it seems to me that you are quite right that there
> does not seem to be any obvious documentation of the function.
>
> On the documentation site the best appears to be:
>
> http://docs.gimp.org/en/gimp-using-script-fu-tutorial-result.html
> 
>
> The function is not documented in the script-fu console, which I would
> normally rely on.
>
> Of course, the is always the source code, where it is called
> “script_fu_add_script" in "plug-ins/script-fu/script-fu-scripts.c”, e.g.:

Ah, excellent.  Yes, the source is always the ultimate authority.  
Thanks.

-- 
A Caution to Everybody

Consider the Auk;
Becoming extinct because he forgot how to fly, and could only walk.
Consider man, who may well become extinct
Because he forgot how to walk and learned how to fly before he thinked.

-- Ogden Nash
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list

Re: [Gimp-user] Documentation for script-fu-register?

2015-09-16 Thread Jon Tait
The basic form and all available parameter types are described in this
section:

http://docs.gimp.org/en/gimp-using-script-fu-tutorial-first-script.html

On Wed, Sep 16, 2015 at 6:54 AM, J. Leslie Turriff 
wrote:

> I'm trying to learn how to write Gimp script-fu extensions, and I
> see in
> several tutorials that a function called script-fu-register is used to
> attach
> the script to Gimp, and also apparently to create an interactive dialog
> when
> necessary.
> I've looked through the Gimp User Manual, but I can't find any
> documentation
> for script-fu-register.  I'd like to see a list of the possible attributes
> that can be used to create the interactive dialog.
> Can anyone point me to that information?
>
> Leslie
> --
> A Caution to Everybody
>
> Consider the Auk;
> Becoming extinct because he forgot how to fly, and could only walk.
> Consider man, who may well become extinct
> Because he forgot how to walk and learned how to fly before he
> thinked.
>
> -- Ogden Nash
> ___
> gimp-user-list mailing list
> List address:gimp-user-list@gnome.org
> List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
> List archives:   https://mail.gnome.org/archives/gimp-user-list
>
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] Documentation for script-fu-register?

2015-09-16 Thread Dave English
Only a novice myself, it seems to me that you are quite right that there does 
not seem to be any obvious documentation of the function.

On the documentation site the best appears to be:

http://docs.gimp.org/en/gimp-using-script-fu-tutorial-result.html 


The function is not documented in the script-fu console, which I would normally 
rely on.

Of course, the is always the source code, where it is called 
“script_fu_add_script" in "plug-ins/script-fu/script-fu-scripts.c”, e.g.:

https://github.com/GNOME/gimp/blob/master/plug-ins/script-fu/script-fu-scripts.c
 


see also:

https://github.com/GNOME/gimp/blob/2275d4b257e9de36f1ac749e591378e58b348754/plug-ins/script-fu/scheme-wrapper.c
 


ATB

> On 16 Sep 2015, at 06:54, J. Leslie Turriff  wrote:
> 
> script-fu-register



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list

[Gimp-user] Documentation for script-fu-register?

2015-09-15 Thread J. Leslie Turriff
I'm trying to learn how to write Gimp script-fu extensions, and I see 
in 
several tutorials that a function called script-fu-register is used to attach 
the script to Gimp, and also apparently to create an interactive dialog when 
necessary.
I've looked through the Gimp User Manual, but I can't find any 
documentation 
for script-fu-register.  I'd like to see a list of the possible attributes 
that can be used to create the interactive dialog.
Can anyone point me to that information?

Leslie
-- 
A Caution to Everybody

Consider the Auk;
Becoming extinct because he forgot how to fly, and could only walk.
Consider man, who may well become extinct
Because he forgot how to walk and learned how to fly before he thinked.

-- Ogden Nash
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list