Gsk.CopyNode

g Gsk.CopyNode Gsk.CopyNode Gsk.RenderNode Gsk.RenderNode Gsk.RenderNode->Gsk.CopyNode

Subclasses:

None

Methods

Inherited:

Gsk.RenderNode (9)

class

new (child)

get_child ()

Virtual Methods

None

Fields

None

Class Details

class Gsk.CopyNode
Bases:

Gsk.RenderNode

Abstract:

No

A render node that copies the current state of the rendering canvas so a [class`Gsk`.PasteNode] can draw it.

New in version 4.22.

classmethod new(child)
Parameters:

child (Gsk.RenderNode) – The child

Returns:

A new GskRenderNode

Return type:

Gsk.CopyNode

Creates a GskRenderNode that copies the current rendering canvas for playback by paste nodes that are part of the child.

New in version 4.22.

get_child()
Returns:

the child GskRenderNode

Return type:

Gsk.RenderNode

Gets the child node that is getting drawn by the given self.

New in version 4.22.