push_isolation


Description:

[ Version ( since = "4.22" ) ]
public void push_isolation (Isolation features)

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 [flags@Gsk.Isolation].

Content is isolated until the next call to [method@Gtk.Snapshot.pop].

Parameters:

this

a `GtkSnapshot`

features

features that are isolated