On Fri, Apr 04, 2003 at 08:39:41AM +0200, Sven Neumann 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. Uhm. Then why not rename the internal widget to have a nicer name for the external one? This would make sense IMO! If it's a preview it should be called that way. Bye, Tino. -- * LINUX - Where do you want to be tomorrow? * http://www.tu-chemnitz.de/linux/tag/