ContainerNode
- class ContainerNode(*args, **kwargs)
Superclasses: RenderNode
A render node that can contain other render nodes.
Constructors
- class ContainerNode
- classmethod new(children: Sequence[RenderNode]) ContainerNode
Creates a new
GskRenderNode
instance for holding the givenchildren
.The new node will acquire a reference to each of the children.
- Parameters:
children – The children of the node
Methods
- class ContainerNode
- get_child(idx: int) RenderNode
Gets one of the children of
container
.- Parameters:
idx – the position of the child to get