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-
Type:
GdkWindowA
GdkWindow.The data is owned by the caller of the function.
Return value
Type: 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. |