Re: Screenshot of a GtkWindow



2008/7/23 Gabriele Greco <gabriele greco darts it>:
I need to make a screenshot of a GtkWindow from the program itself, there is
a crossplatform way to do it (with 2.12 stable)?

I thought about copying the window->window drawable to a gdkpixbuf, but
maybe there is a cleaner way....

No, that's what you need, as far as I know:

  http://library.gnome.org/devel/gdk/stable/gdk-Pixbufs.html#gdk-pixbuf-get-from-drawable

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]