Dang! I tried pdb.gimp-quit() like in script-fu and it, of course, did
not work. I then browsed http://developer.gimp.org/api/2.0/index.html
looking for a quit or some type of control over gimp and did not see
It works. Thanks.
Personally, pdb.gimp_quit(0) makes just as much sense as gimp.exit() as
long as it noted somewhere.
On Mon, 2008-02-18 at 22:19 +0100, Sven Neumann wrote:
> On Mon, 2008-02-18 at 21:26 +0100, Sven Neumann wrote:
> > > I expect the the line "I am running the script" to print and then GIMP
> > > to exit -- see http://www.gimp.org/docs/python/index.html for details on
> > > gimp.quit().
> > The documentation you are looking at is hopelessly outdated. gimp.quit()
> > exits the plug-in (python-fu-eval in this case), not the GIMP
> > application.
> So in order to fix your script you will have to use
> from gimpfu import *
> print "I am running the script"
> Perhaps it would make sense for the Python binding to map this procedure
> to a method on the gimp object. Perhaps gimp.exit() ?
I have never found the companion that was so companionable as solitude.
- From Walden by Henry David Thoreau
The universe is indifferent, and life is brutal; however, it is man's
choice of behavior that makes them malevolent rather than benevolent.
Some will fall in love with life and drink it from a fountain
That is pouring like an avalanche coming down the mountain.
- From the song Pepper by the Butthole Surfers
Gimp-developer mailing list