Can I save or snap my Drawing Area into image file
such as JPG, GIF?
Please, tell me.
Thank
youÂ
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,
> 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
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