On 20 July 2013 17:58, Alexandre Prokoudine <alexandre.prokoudine@xxxxxxxxx> wrote: > On Sat, Jul 20, 2013 at 9:22 PM, Akkana Peck <akkana@xxxxxxxxxxxxxx> wrote: >> Michael Schroeder writes: >>> I am writing a plugin for Gimp. It works alright via the GIMP UI and >>> command line by registering it to gimp. But I would wish to offer also a >>> Preview area in the UI, and apparently it is not so easy to add the >>> PreviewArea from the gimpui python package to the input dialog. >> >> Since I haven't seen any other responses: >> >> I don't think there's a way to add a formal preview area in Python. > > AFAIK, that was one of the points of GIMP's GSoC2010 project re > Python. The one that was never merged. That part was not complete, anyway. :-/ But in current GIMP what makes sense is to figure out how to make GEGL calls from GIMP-Python plug-ins, and create an on-screen preview API using the GEGL capabilities. And while one is at that, there is the need port Python-fu from pygtk to gobject introspection as well - I hacked a bit on it a while ago, and I think it can be done while keeping backwards compatibility for python-fu scripts. js -><- > Alexandre Prokoudine > http://libregraphicsworld.org > _______________________________________________ > gimp-developer-list mailing list > List address: gimp-developer-list@xxxxxxxxx > List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list _______________________________________________ gimp-developer-list mailing list List address: gimp-developer-list@xxxxxxxxx List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list