offscreenWindowGetSurface

fncairo.surface.Surface offscreenWindowGetSurface(gdk.window.Window window)

Gets the offscreen surface that an offscreen window renders into. If you need to keep this around over window resizes, you need to add a reference to it.

Parameters

windowa #GdkWindow

Returns

The offscreen surface, or

null if not offscreen