Snapshot.save

Makes a copy of the current state of snapshot and saves it on an internal stack.

When gtk.snapshot.Snapshot.restore is called, snapshot will be restored to the saved state.

Multiple calls to gtk.snapshot.Snapshot.save and gtk.snapshot.Snapshot.restore can be nested; each call to [gtk.snapshot.Snapshot.restore] restores the state from the matching paired [gtk.snapshot.Snapshot.save].

It is necessary to clear all saved states with corresponding calls to [gtk.snapshot.Snapshot.restore].

class Snapshot
void
save
()