DebugNode

class DebugNode(*args, **kwargs)

Superclasses: RenderNode

A render node that emits a debugging message when drawing its child node.

Constructors

class DebugNode
classmethod new(child: RenderNode, message: str) DebugNode

Creates a GskRenderNode that will add debug information about the given child.

Adding this node has no visual effect.

Parameters:
  • child – The child to add debug info for

  • message – The debug message

Methods

class DebugNode
get_child() RenderNode

Gets the child node that is getting drawn by the given node.

get_message() str

Gets the debug message that was set on this node