Class WStackedWidget


public class WStackedWidget extends WContainerWidget
A container widget that stacks its widgets on top of each other.

This is a container widget which at all times has only one item visible. The widget accomplishes this using setHidden(bool) on the children.

Using getCurrentIndex() and setCurrentIndex() you can retrieve or set the visible widget.

WStackedWidget, like WContainerWidget, is by default not inline.

CSS

The widget is rendered using an HTML <div> tag and does not provide styling. It can be styled using inline or external CSS as appropriate.

See Also: