About all my projects
Gnome::Gsk4::DebugNode

Gnome::Gsk4::DebugNode

Description

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

Class initialization

new

:native-object

Create an object using a native object from elsewhere. See also Gnome::N::TopLevelSupportClass.

multi method new ( N-Object :$native-object! )

new-debugnode

Creates a Gnome::Gsk4::RenderNode that will add debug information about the given $child.

Adding this node has no visual effect.

method new-debugnode ( N-Object() $child, Str $message --> Gnome::Gsk4::DebugNode \)
  • $child; The child to add debug info for.

  • $message; (transfer ownership: full) The debug message.

Methods

get-child

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

method get-child (--> N-Object )

Return value; the child Gnome::Gsk4::RenderNode.

get-message

Gets the debug message that was set on this node

method get-message (--> Str )

Return value; The debug message.