get_surface


Description:

[ Version ( since = "2.20" ) ]
public unowned Surface? get_surface ()

Retrieves a snapshot of the contained widget in the form of a XlibSurface.

If you need to keep this around over window resizes then you should add a reference to it.

Parameters:

this

the OffscreenWindow contained widget.

Returns:

A XlibSurface pointer to the offscreen surface, or null.