Hi Amit, Have a look at my application called giv, which does exactly this (except for the dragging part). It is built around my widget GtkImageViewer, which you can also use yourself if giv isn't general enough for you.
Have a look at: http://imagic.weizmann.ac.il/~dov/freesw/gtk/gtk-image-viewer/ and http://imagic.weizmann.ac.il/~dov/freesw/gtk/giv/ Note that both the widget and the standalone tool are being developed in the gnome cvs. Regards, Dov On Tue, Jan 27, 2004 at 03:22:46PM -0800, Amit BHATNAGAR wrote: > Hi all. > > I plan on using a drawing area widget to display images where > the user may want to place some symbology and textual annotations > at various locations on the image. I am wondering how GTK / GdkPixbuf > will facilitate this. > > Ideally, I would like to treat the symbology and text annotations as > "layers" where the user would be able to toggle on and off the display of > the symbology/annotations, and possibly drag them to different positions. > > Does GTK / GdkPixbuf allow me to do something like this? If not, what would > be an approach to take? > > thanks again. > amit. > _______________________________________________ > gtk-list mailing list > [EMAIL PROTECTED] > http://mail.gnome.org/mailman/listinfo/gtk-list _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list