:right-sidebar: True DebugNode =================================================================== .. currentmodule:: gi.repository.Gsk .. class:: DebugNode(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gsk.RenderNode` A render node that emits a debugging message when drawing its child node. 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