Package: gtk

Function gtk:snapshot-push-isolation

Lambda List

gtk:snapshot-push-isolation (snapshot features)

Arguments

snapshot -- a gtk:snapshot object
features -- a gsk:isolation value for features that are isolated

Details

Isolates the following drawing operations from previous ones. You can express "everything but these flags" in a forward compatible way by using bit math: GSK_ISOLATION_ALL & ~(GSK_ISOLATION_BACKGROUND | GSK_ISOLATION_COPY_PASTE) will isolate everything but background and copy/paste. For what isolation features exist, see the gsk:isolation flags. Content is isolated until the next call to the gtk:snapshot-pop function.

Since 4.22
 

See also

#2026-05-22