Gnome::Gsk4::DebugNode
#------------------------------------------------------------------------------- #--[Class Description]---------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
Description
A render node that emits a debugging message when drawing its child node.
=end rakudoc
#------------------------------------------------------------------------------- #--[Class Initialization]------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
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! )
=end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
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.
=end rakudoc
#------------------------------------------------------------------------------- #--[Methods]-------------------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
Methods =end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
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.
=end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
get-message
Gets the debug message that was set on this node
method get-message (--> Str )
Return value; The debug message.
=end rakudoc