Gtk.OffscreenWindow.prototype.get_pixbuf
function get_pixbuf():GdkPixbuf.Pixbuf { // Gjs wrapper for gtk_offscreen_window_get_pixbuf() }
Retrieves a snapshot of the contained widget in the form of a GdkPixbuf.Pixbuf. This is a new pixbuf with a reference count of 1, and the application should unreference it once it is no longer needed.
Since 2.20
- Returns
A GdkPixbuf.Pixbuf pointer, or null.