:right-sidebar: True CopyNode =================================================================== .. currentmodule:: gi.repository.Gsk .. versionadded:: 4.22 .. class:: CopyNode(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gsk.RenderNode` A render node that copies the current state of the rendering canvas so a :obj:`~gi.repository.Gsk.PasteNode` can draw it. Constructors ------------ .. rst-class:: interim-class .. class:: CopyNode :no-index: .. classmethod:: new(child: ~gi.repository.Gsk.RenderNode) -> ~gi.repository.Gsk.CopyNode Creates a ``GskRenderNode`` that copies the current rendering canvas for playback by paste nodes that are part of the child. .. versionadded:: 4.22 :param child: The child Methods ------- .. rst-class:: interim-class .. class:: CopyNode :no-index: .. method:: get_child() -> ~gi.repository.Gsk.RenderNode Gets the child node that is getting drawn by the given ``node``\. .. versionadded:: 4.22