:right-sidebar: True DebugNode =================================================================== .. currentmodule:: gi.repository.Gsk .. class:: DebugNode(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gsk.RenderNode` :Constructors: :: DebugNode(**properties) new(child:Gsk.RenderNode, message:str) -> Gsk.DebugNode Constructors ------------ .. rst-class:: interim-class .. class:: DebugNode :no-index: .. classmethod:: new(child: ~gi.repository.Gsk.RenderNode, message: str) -> ~gi.repository.Gsk.DebugNode Creates a ``GskRenderNode`` that will add debug information about the given ``child``. Adding this node has no visual effect. :param child: The child to add debug info for :param message: The debug message Methods ------- .. rst-class:: interim-class .. class:: DebugNode :no-index: .. method:: get_child() -> ~gi.repository.Gsk.RenderNode Gets the child node that is getting drawn by the given ``node``. .. method:: get_message() -> str Gets the debug message that was set on this node