Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
plugin help: not appearing in gimp
#1
Hi

What's wrong with this code and why does it not appear in GIMP?
What needs to be changed to make it work?


Code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys
from gimpfu import*



def test(timg, tdrawable):

   print_to_stderr("Hello World")

def print_to_stderr(*a):

   print(*a, file=sys.stderr)
   
   
   
register(
       "test",
       "test",
       "test",
       "test",
       "test",
       "2024",
       "<Image>/Tools/test...",
       "*",
       [],
       [],
       test
       )

main()
Reply


Messages In This Thread
plugin help: not appearing in gimp - by gimpygirl - 02-29-2024, 07:15 PM

Forum Jump: