Package: gtk

Function gtk:snapshot-to-paintable

Lambda List

gtk:snapshot-to-paintable (snapshot &optional size)

Arguments

snapshot -- a gtk:snapshot object
size -- a graphene:size-t instance for the size of the resulting paintable or the nil default value to use the bounds of the snapshot

Return Value

The new gdk:paintable object.

Details

Returns a paintable encapsulating the render node that was constructed by snapshot. After calling this function, it is no longer possible to add more nodes to the snapshot.
 

See also

2025-2-12