WContainerWidget [doc]

A WContainerWidget corresponds to an HTML <div> or <span> element, and groups other widgets.

One of the most fundamental building blocks of Wt, the widget itself is usually invisible. The widgets that are contained within the container widget can be layed out using CSS or one of Wt's layout managers. CSS is usually the best option, but does not work if you require vertical fitting or stretching of children to the height of the container, or if you need to layout children in a grid.

Wt also provides some specialized WContainerWidget classes that have additional markup or behaviour:

Related topics: Style and Layout.

Events will be shown here.