gtk.OffscreenWindow Synopsis gtk.OffscreenWindow gtk.Window gtk.OffscreenWindow get_pixmap get_pixbuf Ancestry +-- GObject +-- gtk.Object +-- gtk.Widget +-- gtk.Container +-- gtk.Bin +-- gtk.Window +-- gtk.OffscreenWindow Constructor gtk.OffscreenWindow Returns : A pointer to a gtk.Widget This constructor is available in PyGTK 2.22 and above. Creates a toplevel container widget that is used to retrieve snapshots of widgets without showing them on the screen. For widgets that are on the screen and part of a normal widget hierarchy, gtk.Widget.get_snapshot can be used instead. Methods gtk.OffscreenWindow.get_pixmap get_pixmap Returns : A GdkPixmap pointer to the offscreen pixmap, or NULL. This method is available in PyGTK 2.22 and above. Retrieves a snapshot of the contained widget in the form of a GdkPixmap. If you need to keep this around over window resizes then you should add a reference to it. gtk.OffscreenWindow.get_pixbuf get_pixbuf Returns : A GdkPixbuf pointer, or NULL. This method is available in PyGTK 2.22 and above. Retrieves a snapshot of the contained widget in the form of a GdkPixbuf. This is a new pixbuf with a reference count of 1, and the application should unreference it once it is no longer needed.