Defined in File stackedwidget.h
Page Contents
Inheritance Relationships
Base Type
Class Documentation
public nanogui::Widget (Class Widget)
public nanogui::Widget
StackedWidget
A stack widget.
Public Functions
setSelectedIndex
selectedIndex
performLayout
Invoke the associated layout generator to properly place child widgets, if any.
preferredSize
Compute the preferred size of the widget.
addChild
Add a child widget to the current widget at the specified index.
This function almost never needs to be called by hand, since the constructor of Widget automatically adds the current widget to its parent