Package: gtk

Function gtk:snapshot-save

Lambda List

gtk:snapshot-save (snapshot)

Arguments

snapshot -- a gtk:snapshot object

Details

Makes a copy of the current state of snapshot and saves it on an internal stack. When the gtk:snapshot-restore function is called, the snapshot will be restored to the saved state. Multiple calls to the gtk:snapshot-save function and the gtk:snapshot-restore function can be nested. Each call to the gtk:snapshot-restore function restores the state from the matching paired gtk:snapshot-save function.

It is necessary to clear all saved states with corresponding calls to the gtk:snapshot-restore function.
 

See also

2025-2-12