public override add(widget as Widget) as Void
Sets the single hosted widget through the Container API.
window.titleBar.add(Button("New"))