Box
March 28, 2026 · View on GitHub
Bordered box container with optional title, holding a single child.
Constructor: NewBox(id, class, title string) *Box
Methods
Add(widget Widget)— sets child widgetChildren() []Widget— returns child widgetHint() (w, h int)— calculates preferred size from childLayout()— positions child within box