Next: ClutterPathConstraint, Previous: Paint Nodes, Up: Top
Paint objects
<clutter-paint-node> is an element in the render graph.
The render graph contains all the elements that need to be painted by Clutter when submitting a frame to the graphics system.
The render graph is distinct from the scene graph: the scene graph is composed by actors, which can be visible or invisible; the scene graph elements also respond to events. The render graph, instead, is only composed by nodes that will be painted.
Each <clutter-actor> can submit multiple
<clutter-paint-node>s to the render graph.
<clutter-paint-node>) (name mchars)Sets a user-readable name for node.
The name will be used for debugging purposes.
The node will copy the passed string.
- node
- a
<clutter-paint-node>- name
- a string annotating the node
Since 1.10
<clutter-paint-node>) (child <clutter-paint-node>)Adds child to the list of children of node.
This function will acquire a reference on child.
- node
- a
<clutter-paint-node>- child
- the child
<clutter-paint-node>to addSince 1.10
<clutter-paint-node>) (rect <clutter-actor-box>)Adds a rectangle region to the node, as described by the passed rect.
- node
- a
<clutter-paint-node>- rect
- a
<clutter-actor-box>Since 1.10