RSS/Atom feed Twitter
Site is read-only, email is disabled

Documentation for script-fu-register?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

Documentation for script-fu-register? J. Leslie Turriff 16 Sep 05:54
  Documentation for script-fu-register? Dave English 16 Sep 16:47
   Documentation for script-fu-register? J. Leslie Turriff 17 Sep 02:41
  Documentation for script-fu-register? Jon Tait 16 Sep 18:22
J. Leslie Turriff
2015-09-16 05:54:33 UTC (over 8 years ago)

Documentation for script-fu-register?

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
Dave English
2015-09-16 16:47:07 UTC (over 8 years ago)

Documentation for script-fu-register?

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

Jon Tait
2015-09-16 18:22:04 UTC (over 8 years ago)

Documentation for script-fu-register?

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

J. Leslie Turriff
2015-09-17 02:41:47 UTC (over 8 years ago)

Documentation for script-fu-register?

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