About my projects, examples and tutorials
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 an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.

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

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 \)
Code
  • $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 )
Code

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

get-message§

Gets the debug message that was set on this node

method get-message (--> Str )
Code

Return value; The debug message.