klyn.gui.windows.layouts.Layout.add
method

    public add(widget as Widget) as Void:

Description

Adds a widget to the attached container.

Layouts own the structure of the interface; containers own the child storage. This helper keeps user code focused on the selected layout while preserving the existing container tree internally.

    layout = VBoxLayout()
    panel = Container(layout)
    layout.add(Button("Save"))