Gsk.IsolationNode¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gsk.IsolationNode¶
- Bases:
- Abstract:
No
A render node that isolates its child from surrounding rendernodes.
New in version 4.22.
- classmethod new(child, isolations)¶
- Parameters:
child (
Gsk.RenderNode) – The childisolations (
Gsk.Isolation) – features to isolate
- Returns:
A new
GskRenderNode- Return type:
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 [flags`Gsk`.Isolation].
New in version 4.22.
- get_child()¶
- Returns:
the child
GskRenderNode- Return type:
Gets the child node that is getting drawn by the given self.
New in version 4.22.
- get_isolations()¶
- Returns:
the isolation features
- Return type:
Gets the isolation features that are enforced by this node.
New in version 4.22.