Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Installing Python scripts
#1
Hello,
W10 gimp 2.10.22
How to install any python plugin.
Would like a working small example
e.g. from WW
Code:
import gimp

def python_message(image, drawable, message):
    gimp.message(message)

register(
        "python_fu_message",
        "Show message",
        "Show message",
        "Pin-Chou Liu",
        "Pin-Chou Liu",
        "2019",
        "<Image>/Filters/Hello World...",
        "",
        [
            (PF_STRING, "message", "message", "Hello World"),
        ],
        [],
        python_message)

main()
Reply


Messages In This Thread
[split] Installing Python scripts - by opaPeter - 11-10-2020, 09:10 AM
RE: [split] Installing Python scripts - by Ofnuts - 11-10-2020, 11:22 PM
RE: [split] Installing Python scripts - by Ofnuts - 11-13-2020, 11:31 AM

Forum Jump: