a better aproach please, --- Hubert Soko³owski <[EMAIL PROTECTED]> wrote:
> On Sat, 30 Jul 2005 00:55:44 -0700 (PDT) > Yogesh M <[EMAIL PROTECTED]> wrote: > > > I want to print the drawing area and it should > work in windows and linux. I am using gtk 2.4. > > > you can save it to a jpeg file > dest = gdk_pixbuf_get_from_drawable (NULL, > drawing_area->window, NULL, > 0,0,0,0, width, height); > > ret = gdk_pixbuf_save (dest, figname, "jpeg", > &error, > "quality", "100", > NULL); > > and then open some external application to show it > and print it, > for example html browser will do that. > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list