drawing area to image file ???

2002-11-19 Thread 42052670 <[EMAIL PROTECTED]>
Can I save or snap my Drawing Area into image file such as JPG, GIF? Please, tell me. Thank you 

Re: drawing area to image file ???

2002-11-21 Thread Olexiy Avramchenko
42052670 wrote: Can I save or snap my Drawing Area into image file such as JPG, GIF? /* VERY SIMPLIFIED and UNTESTED example */ static void save_2_jpeg(GtkWidget *area) { GdkPixbuf *pixbuf; pixbuf = gdk_pixbuf_get_from_drawable( NULL,

Re: drawing area to image file ???

2002-11-22 Thread beer
> 42052670 wrote: > > > Can I save or snap my Drawing Area into image file such as JPG, GIF? > > > > /* VERY SIMPLIFIED and UNTESTED example */ > static void save_2_jpeg(GtkWidget *area) > { > GdkPixbuf *pixbuf; > > pixbuf = gdk_pixbuf_get_from_drawable( > NULL

Re: drawing area to image file ???

2002-11-22 Thread David Neary
beer wrote: > then I try to install Gtk+2. > I can ./configure ; make ;make install > but when I use "gtk-config --version" > it return version "1.2.10" > > How can I install Gtk2.0? If it installed OK, it's already installed :) GTK+ 2.0 uses pkg-config rather than the package-specific gtk-co