After writing my first, modest plugin, I found the post "Plugins in
Python - und zwar richtig" in the german "GIMP-Forum". I found this infos really great. The presented framework just seems to be more logical. Until this day I have programmed a "
python-fu" plugin. Since I have previously designed my interfaces with GTK (import gtk), I immediately tried following the recommendation to work with PyGTK. Unfortunately without success, because in my current GIMP installation 2.10.8 PyGTK does not exist (error message at "import gi": ImportError: No module named gi). See attachment.
That's why I have the following questions for a specialist:
- What's the difference between "*Real*" and "
python-fu" plugin?
- Where can I find descriptions of methods such as "gimp.main()" or "gimp.install_procedure()"?
- I noticed that there are many examples of "
python-fu" plugins, but almost no "* real *" plugins. Am I not looking right, or programming all "
python-fu" plugins?
- How can I find out which modules have been installed with the latest GIMP version 2.10.8?
- For a plugin always a window surface is needed. It would be best to use a surface that was installed with the current GIMP version. How is this usually handled? What is your opinion about this? Which surface do you recommend?
I would be very grateful for your help!