ContainerNode
- class ContainerNode(*args, **kwargs)
Superclasses: RenderNode
- Constructors:
ContainerNode(**properties)
new(children:list) -> Gsk.ContainerNode
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