[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Screenshot of a GtkWindow
- From: jcupitt gmail com
- To: "Gabriele Greco" <gabriele greco darts it>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Screenshot of a GtkWindow
- Date: Wed, 23 Jul 2008 14:03:31 +0100
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]