Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python plugin development
#2
I got the plugin working with all warnings 1..6 in the error console. The only changes I made were:

gimp.image -> gimp.Image
gimp.layer -> gimp.Layer

Note the capital letters. In the sample you mentioned, the letters indeed were lower case. I don't know what this is about. Perhaps somebody else can explain. I found the capital letters by writing "help(gimp)" in the Python console.
Reply


Messages In This Thread
Python plugin development - by Milarck - 01-06-2022, 07:26 PM
RE: Python plugin development - by Ottia Tuota - 01-06-2022, 09:00 PM
RE: Python plugin development - by nelo - 01-07-2022, 08:42 AM
RE: Python plugin development - by gasMask - 01-08-2022, 05:06 PM
RE: Python plugin development - by rich2005 - 01-08-2022, 05:31 PM
RE: Python plugin development - by nelo - 01-08-2022, 06:09 PM

Forum Jump: