"Branko Collin" <[EMAIL PROTECTED]> writes:

> On 4 Apr 2003, at 2:41, Ernst Lippe wrote:
> > On Thu, 03 Apr 2003 02:00:22 +0200
> > Branko Collin <[EMAIL PROTECTED]> wrote:
> > 
> > > What do the two different GimpPreviews do? If they are so alike, why
> > > are there two different versions? Please explain it to me as if I
> > > did not understand programming at all (which I don't, so it will be
> > > very easy for me to play my part :-)).
> > 
> > There is a large difference. The GimpPreview in the GIMP is used
> > internally, and is not avalaible to plug-ins (I you are really
> > as naive as you pretend, I should probably should have called
> > the plug-ins "filters"). My preview is intended for plug-ins
> > and contains severeal bells-and-whistles, that might be usefull
> > for plug-ins.
> But otherwise they have the same function? Is it useful to have two 
> previews that do the same?

they are completely different. The internal widget is a lot simpler
and serves as a replacement for the deprecated GtkPreview. As a
descendant of GtkDrawingArea, it provides an area where a
GimpPreviewRenderer renders a view on a GimpViewable object. Thus, it
could as well be called GimpView.

Salut, Sven
Gimp-developer mailing list

Reply via email to