Function

Gdkoffscreen_window_get_surface

Declaration [src]

cairo_surface_t*
gdk_offscreen_window_get_surface (
  GdkWindow* window
)

Description [src]

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 GdkWindow
 

A GdkWindow.

 The data is owned by the caller of the function.

Return value

Returns: cairo_surface_t
 

The offscreen surface, or NULL if not offscreen.

 The data is owned by the called function.
 The return value can be NULL.