I'm trying to write a python script that opens the xsane dialog.
But the example script below does not work. Any idea what's wrong?
Ciao
Andreas
#! /usr/bin/env python
from gimpfu import *
def foobar(*args):
print "start foobar()"
pdb.xsane()
print "end foobar()"
register(
"run_xsane", "", "", "", "", "",
"<Toolbox>/Xtns/Foobar", "",
[], [],
foobar
)
main()
_______________________________________________
Gimp-user mailing list
[email protected]
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user