Package: gtk

Class gtk:snapshot

Superclasses

gdk:snapshot, gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

None

Details

The gtk:snapshot object is an auxiliary object that assists in creating gsk:render-node objects for widgets. It functions in a similar way to a Cairo context, and maintains a stack of render nodes and their associated transformations.

The node at the top of the stack is the the one that the snapshot functions operate on. Use the gtk:snapshot-push-... functions and gtk:snapshot-pop function to change the current node.

The typical way to obtain a gtk:snapshot object is as an argument to the gtk:widget-snapshot virtual function. If you need to create your own gtk:snapshot object, use the gtk:snapshot-new function.
 

Returned by

Inherited Slot Access Functions

See also

2025-2-12