7 hours ago
I have written the subsequent code to get a Plugin that creates a frame of selectable width around a selected layer in a Python image.
The only working example was the "plug-in-zemarmot-py3-demo-hello-world" from GIMP tutorial.
My questions:
First, the variable mane in line 97 is falling from sky. If I change the value of plug_in_proc given in line 12 of the code, no entry is set up in GIMP.
The content of the displayed menu is "falling from sky", too.
I need only the OK and Cancel entry, and additionally the window for the frame-width (integer) and unit (px, cm, etc.)
Every other example given in the internet doesn't work. Normally the entry doesn't appear in GIMP, or, if working better, the entry appears but the entry menu is only showing OK and CANCEL button.
Could you change the code and describe for me where to find a step-by-step documentation which value plug_in_proc may have beside "plug-in-zemarmot-py3-demo-hello-world", where the content of name in line 97 comes from, and why it isn't possible to change the content of the GUI.
besides publishing here, please send the new code to thomas.schaffrath@web.de
Thanks.
The only working example was the "plug-in-zemarmot-py3-demo-hello-world" from GIMP tutorial.
My questions:
First, the variable mane in line 97 is falling from sky. If I change the value of plug_in_proc given in line 12 of the code, no entry is set up in GIMP.
The content of the displayed menu is "falling from sky", too.
I need only the OK and Cancel entry, and additionally the window for the frame-width (integer) and unit (px, cm, etc.)
Every other example given in the internet doesn't work. Normally the entry doesn't appear in GIMP, or, if working better, the entry appears but the entry menu is only showing OK and CANCEL button.
Could you change the code and describe for me where to find a step-by-step documentation which value plug_in_proc may have beside "plug-in-zemarmot-py3-demo-hello-world", where the content of name in line 97 comes from, and why it isn't possible to change the content of the GUI.
besides publishing here, please send the new code to thomas.schaffrath@web.de
Thanks.
