:right-sidebar: True IsolationNode =================================================================== .. currentmodule:: gi.repository.Gsk .. versionadded:: 4.22 .. class:: IsolationNode(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gsk.RenderNode` A render node that isolates its child from surrounding rendernodes. Constructors ------------ .. rst-class:: interim-class .. class:: IsolationNode :no-index: .. classmethod:: new(child: ~gi.repository.Gsk.RenderNode, isolations: ~gi.repository.Gsk.Isolation) -> ~gi.repository.Gsk.IsolationNode Creates a ``GskRenderNode`` that 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 :obj:`~gi.repository.Gsk.Isolation`\. .. versionadded:: 4.22 :param child: The child :param isolations: features to isolate Methods ------- .. rst-class:: interim-class .. class:: IsolationNode :no-index: .. method:: get_child() -> ~gi.repository.Gsk.RenderNode Gets the child node that is getting drawn by the given ``node``\. .. versionadded:: 4.22 .. method:: get_isolations() -> ~gi.repository.Gsk.Isolation Gets the isolation features that are enforced by this node. .. versionadded:: 4.22