Package: gtk

Function gtk:snapshot-to-node

Lambda List

gtk:snapshot-to-node (snapshot)

Arguments

snapshot -- a gtk:snapshot object

Return Value

The constructed gsk:render-node instance or nil if there are no nodes to render.

Details

Returns the render node that was constructed by snapshot. Note that this function may return nil if nothing has been added to the snapshot or if its content does not produce pixels to be rendered.

After calling this function, it is no longer possible to add more nodes to snapshot.
 

See also

2025-2-12