Gsk.DebugNode

g Gsk.DebugNode Gsk.DebugNode Gsk.RenderNode Gsk.RenderNode Gsk.RenderNode->Gsk.DebugNode

Subclasses:

None

Methods

Inherited:

Gsk.RenderNode (8)

class

new (child, message)

get_child ()

get_message ()

Virtual Methods

None

Fields

None

Class Details

class Gsk.DebugNode
Bases:

Gsk.RenderNode

Abstract:

No

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

classmethod new(child, message)
Parameters:
  • child (Gsk.RenderNode) – The child to add debug info for

  • message (str) – The debug message

Returns:

A new GskRenderNode

Return type:

Gsk.DebugNode

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

Adding this node has no visual effect.

get_child()
Returns:

the child GskRenderNode

Return type:

Gsk.RenderNode

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

get_message()
Returns:

The debug message

Return type:

str

Gets the debug message that was set on this node