GtkImage won't help you for your application as it is really only for showing static images. To do what you want, you may as well use a drawing area and then whenever you receive an exposed or resize event, just redraw your vector data through cairo.
You may also want to check out the tutorial for my GtkImageViewer widget, which comes with a tutorial showing how you draw scalable data through cairo or agg. See: http://giv.sourceforge.net/gtk-image-viewer/gtkimageviewer_tutorial.html Look for agg-circles.c and cairo-circles.c . A third option is using a canvas widget, e.g. goocanvas. Regards, Dov 2008/12/16 Daniel Lewandowski <[email protected]> > HI! > > Can anybody post some code how to use widget GtkImage with Glade. > I'd like to make picture from array of points and show them in scalabe > window. > > Thanks in advance > > Daniel > _______________________________________________ > 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
