On Tue, Sep 14, 2004 at 07:42:18PM +0200, geert jordaens wrote: > hello, > > I'm trying to catch up with the changes concerning the preview widget > Could somebody explain me why the functions > > gimp_preview_area_menu_popup > gimp_preview_area_menu_new > gimp_preview_area_menu_toggled > > are located in gimppreviewarea this way the preview area is not a basic > replacement for the gtk_preview widget. If i understand the function of > gimp_drawable_preview then I would place forementioned functions there. > Certainly not. The menu is for changing the checker aspect. It is in no way related to a particular drawable. > I would like to use the gimp_drawable_preview for a plugin on a scaled down > version of the drawable (let's say thumbnail). You'll have to create a new widget derived from GimpPreview to do this, then. But then, why not just using GimpPreviewArea in a frame? Regards, DindinX -- david@xxxxxxxxxxx /D{def}def 306 108 translate 57.6 dup scale 1 setlinecap 0.005 setlinewidth 0 0 150000 {/r rand 100 mod D r 1 lt {/m[0 0 0 0.16 0 0]D}{r 86 lt{/m[0.85 -0.04 0.04 0.85 0 1.6]D}{r 93 lt{/m[0.2 0.23 -0.26 0.22 0 1.6]D}{/m[-0.15 0.26 0.28 0.24 0 0.44]D}ifelse}ifelse}ifelse m transform 2 copy moveto 0.001 dup rlineto stroke}repeat showpage %(c)DindinX