Re: Screenshot of a GtkWindow

2008-07-23 Thread jcupitt
2008/7/23 Gabriele Greco <[EMAIL PROTECTED]>: > 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 cle

Re: Screenshot of a GtkWindow

2008-07-23 Thread Andrew Cowie
On Wed, 2008-07-23 at 13:32 +0200, Gabriele Greco wrote: > I need to make a screenshot of a GtkWindow from the program itself We used code from gnome-utils's gnome-screenshot/gnome-screenshot.c and gnome-screenshot/screenshot-utils.c to add a capture capability to java-gnome (we wante

Screenshot of a GtkWindow

2008-07-23 Thread Gabriele Greco
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 -- Ing. Gabriele Greco, DARTS Engineering Tel: +39-0105761