Package: gtk

Function gtk:offscreen-window-surface

Lambda List

gtk:offscreen-window-surface (offscreen)

Arguments

offscreen -- a gtk:offscreen-window widget

Return Value

The cairo:surface-t instance to the offscreen surface, or nil.

Details

Retrieves a snapshot of the contained widget in the form of a cairo:surface-t instance. If you need to keep this around over window resizes then you should add a reference to it.
 

See also

2024-3-17