Greetings, In my application I have to save the contents of a widget to a PNG file. So far it works (using GDK Pixbuf and gdk_pixbuf_save), but garbage appears if the window is obscured by another window, or if some part of it is hidden.
How can someone get a GtkWidget's GdkWindow in a way no garbage will show up if that window isn't completely visible? I know that GTK+ is double-buffered, so it must be some way. By the way, the code I am currently using is available at [1]. See tree_view_save_image(). [1] http://svn.berlios.de/wsvn/hardinfo/trunk/hardinfo2/util.c?op=file&rev=0&sc=0 Thanks in advance, -- Leandro A. F. Pereira <[EMAIL PROTECTED]> Developer, Tiamat Software Wizardry. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list