The Widget Type

The Widget type is used to wrap specific widgets types, making it possible to mix different types of widgets in containers. The functions used to construct declarative widgets (e.g. widget, bin, and container) automatically wrap widgets in the Widget type where needed.