gimp git master + python

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

gimp git master + python

Developers mailing list
Hi,

Been a while since i've tinkered under the hood, i've been working on
updating some python scripts that i have to make them work with the
latest GIMP from git (master) and i was wondering if there was some API
information somewhere on what's changed as right now i'm just spinning
my wheels searching for it. I've managed to get them to load and appear
in filters but that's about all that works so far, and some of the
functions don't seem to take the same set of parameters. At least a lot
of it is unclear so far.

Thanks in advance.

Ben

_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: gimp git master + python

Developers mailing list
The official stance is that Python plugins in Gimp 3 will need to use
Python3 and GObject Introspection.  There are working examples in the
gimp/plug-ins/python directory and at gimp/plug-ins/goat-exercises/... .py
.  AFAIK there is little documentation for plugin authors.

IOW PyGimp and GimpFu will be obsolete, but you will still be able to write
plugins in Python, and many other languages.

Also, plugins in Gimp 3 are a work in progress.  I think features like
automatic GUI (plugin dialog) generation and saving of settings might still
be absent in Gimp itself,  possibly just in the working examples.

There is a discussion https://gitlab.gnome.org/GNOME/gimp/-/issues/4717 and
also earlier in this mailing list.

Note I am not a Gimp developer, just a plugin author.
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list