Method

Gdk.DrawContext.get_surface

Declaration [src]

GdkSurface*
gdk_draw_context_get_surface (
  GdkDrawContext* context
)

Description [src]

Retrieves the surface that context is bound to.

Return value

Returns: GdkSurface

a GdkSurface or NULL

Ownership is not transferred to the caller
Can be NULL