gtk.OffscreenWindowSynopsisgtk.OffscreenWindowgtk.Windowgtk.OffscreenWindowget_pixmapget_pixbufAncestry+-- GObject
+-- gtk.Object
+-- gtk.Widget
+-- gtk.Container
+-- gtk.Bin
+-- gtk.Window
+-- gtk.OffscreenWindow
Constructorgtk.OffscreenWindowReturns :A pointer to a gtk.WidgetThis 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.Methodsgtk.OffscreenWindow.get_pixmapget_pixmapReturns :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_pixbufget_pixbufReturns :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.