IsolationNode#
Added in version 4.22.
- class IsolationNode(*args, **kwargs)#
Superclasses: RenderNode
A render node that isolates its child from surrounding rendernodes.
Constructors#
- class IsolationNode
- classmethod new(child: RenderNode, isolations: Isolation) IsolationNode#
Creates a
GskRenderNodethat isolates the drawing operations of the child from surrounding 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 the available isolations, see
Isolation.Added in version 4.22.
- Parameters:
child – The child
isolations – features to isolate
Methods#
- class IsolationNode
- get_child() RenderNode#
Gets the child node that is getting drawn by the given
node.Added in version 4.22.