OffscreenWindow.getSurface

Retrieves a snapshot of the contained widget in the form of a cairo_surface_t. If you need to keep this around over window resizes then you should add a reference to it. Since 2.20

class OffscreenWindow
getSurface
()

Return Value

Type: Surface

A cairo_surface_t pointer to the offscreen surface, or NULL. [transfer none]

Meta