Using PyGTK, I used to be able to take a screenshot using gtk.gdk.pixbuf.get_from_drawable
.
I can't seem to figure out how to do that using PyGObject and GdkPixbuf. I've tried get_from_drawable
and get_from_window
but neither work in PyGObject.
Thanks in advance.