[Gimp-user] gimpfu calling xsane
Andreas Matthias
andreas.matthias at gmail.com
Sun Nov 9 03:52:02 PST 2008
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()
More information about the Gimp-user
mailing list