Class StackedWidget¶
- Defined in File stackedwidget.h
Page Contents
Inheritance Relationships¶
Base Type¶
public nanogui::Widget
(Class Widget)
Class Documentation¶
-
class
StackedWidget
: public nanogui::Widget¶ A stack widget.
Public Functions
-
void
setSelectedIndex
(int index)¶
-
int
selectedIndex
() const¶
-
virtual void
performLayout
(NVGcontext *ctx)¶ Invoke the associated layout generator to properly place child widgets, if any.
-
virtual Vector2i
preferredSize
(NVGcontext *ctx) const¶ Compute the preferred size of the widget.
Private Members
-
int
mSelectedIndex
= -1¶
-
void