widget

abstract fun widget(name: String): W

Create a new widget with the given name. This may be attached to children, and the name will need to be returned from names if so.