Class DebugNode

All Implemented Interfaces:
PointerInterface

public class DebugNode extends RenderNode
A render node that emits a debugging message when drawing its
child node.

https://docs.gtk.org/gsk4/class.DebugNode.html

  • Constructor Details

    • DebugNode

      public DebugNode(PointerContainer pointer)
    • DebugNode

      public DebugNode(@Nonnull RenderNode child, @Nonnull Str message)
      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
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getChild

      public RenderNode getChild()
      Gets the child node that is getting drawn by the given @node.
      Returns:
      the child `GskRenderNode`
    • getMessage

      public Str getMessage()
      Gets the debug message that was set on this node
      Returns:
      The debug message
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()