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.

Return: A #cairo_surface_t pointer to the offscreen surface, or %NULL.

class OffscreenWindow
getSurface
()

Meta

Since

2.20