offscreenWindowGetSurface

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

window gdk.window.Window

a #GdkWindow

Return Value

Type: cairo.surface.Surface

The offscreen surface, or null if not offscreen