GNOME Bugzilla – Bug 164854
Screen capture API needed for widgets
Last modified: 2007-02-28 17:25:40 UTC
It would be very useful for the widgets to provide some kind of screen capture or screen scraping API. It is quinteseential that one be able to get the content of the widgets directly - it would be helpful for a variety of applications like printing, UI development etc.
You can look at the hoops through which doc/tools/doc-shooter has to jump to do this.
Note that doc-shooter only works if the windows are visible on the screen, if they are obscured or hidden then gdk_pixbuf_get_from_drawable is not going to work.
The defect/enhancement is for the toolkit to provide API to directly spit out a picture/pixbuf of the widgets. It should not depend on X or other capture mechanisms. It should work when widgets are offscreen, minimized etc.
*** Bug 164807 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 318807 ***