Method
GtkOffscreenWindowget_surface
since: 2.20
Declaration [src]
cairo_surface_t*
gtk_offscreen_window_get_surface (
GtkOffscreenWindow* offscreen
)
Description [src]
Retrieves a snapshot of the contained widget in the form of a #cairo_surface_t. If you need to keep this around over window resizes then you should add a reference to it.
Available since: 2.20
Return value
Type: cairo_surface_t
A #cairo_surface_t pointer to the offscreen
surface, or NULL
.
The returned data is owned by the instance. |
The return value can be NULL . |