:right-sidebar: True PasteNode =================================================================== .. currentmodule:: gi.repository.Gsk .. versionadded:: 4.22 .. class:: PasteNode(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gsk.RenderNode` A render node for a paste. Constructors ------------ .. rst-class:: interim-class .. class:: PasteNode :no-index: .. classmethod:: new(bounds: ~gi.repository.Graphene.Rect, depth: int) -> ~gi.repository.Gsk.PasteNode Creates a ``GskRenderNode`` that will paste copied contents. .. versionadded:: 4.22 :param bounds: the rectangle to render the paste into :param depth: the index of which copy to paste. This will usually be 0. Methods ------- .. rst-class:: interim-class .. class:: PasteNode :no-index: .. method:: get_depth() -> int Retrieves the index of the copy that should be pasted. .. versionadded:: 4.22