DrawContext.getSurface

gdk.surface.Surface getSurface()

Retrieves the surface that context is bound to.

Returns

a [gdk.surface.Surface]