To obtain the button labels, the Tabs inspects each content element to see if it has a description() property. If so, the value of that property is used as the button label. For convenience, the Tab class has a predefined description() property, and can be used to host tabbed page contents, or as the basis for a custom tab control.
This wraps a Modes control. For modal behavior without the tabs, use Modes directly.