UI module

begin_container

procedure · 1 overloadsince 0.31.0Source

Open a container as the current parent; end_container closes it. Containers written with for do both.

begin_container :: (
    axis: Axis,
    role: Role,
    style: Style,
    loc: Source_Code_Location
) -> *Node

Open a container as the current parent; end_container closes it. Containers written with for do both.

Parameters

axis: Axis
which way the children are laid out.
role: Role
what the container is.
style: Style
layout and paint options.
loc: Source_Code_Location
the call site. It identifies the node from one frame to the next, so pass the caller's location.

Returns

See also