Re: [Gimp-developer] GIMP python (pythonfu) plugin: How to include the PreviewArea from gimpui

On 20 July 2013 17:58, Alexandre Prokoudine
<alexandre prokoudine gmail com> wrote:
On Sat, Jul 20, 2013 at 9:22 PM, Akkana Peck <akkana shallowsky com> 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.


Alexandre Prokoudine
gimp-developer-list mailing list
List address:    gimp-developer-list gnome org
List membership:

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]