Class: Gsk::DebugNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::DebugNode
- Defined in:
- (unknown)
Overview
A render node that emits a debugging message when drawing its child node.
Instance Method Summary collapse
-
#child ⇒ Gsk::RenderNode
Gets the child node that is getting drawn by the given node.
-
#initialize(child, message) ⇒ Gsk::DebugNode
constructor
Creates a
GskRenderNodethat will add debug information about the given child. -
#message ⇒ String
Gets the debug message that was set on this node.
Methods inherited from RenderNode
deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file
Constructor Details
#initialize(child, message) ⇒ Gsk::DebugNode
Creates a GskRenderNode that will add debug information about
the given child.
Adding this node has no visual effect.
Instance Method Details
#child ⇒ Gsk::RenderNode
Gets the child node that is getting drawn by the given node.
#message ⇒ String
Gets the debug message that was set on this node