Panel class new in Git master
#include <Magnum/Ui/Panel.h>
Panel widget.
Base classes
-
template<class UserInterface>class BasicWidget<UserInterface> new in Git master
- Templated abstract base for stateful widgets.
Constructors, destructors, conversion operators
- Panel(Anchor anchor, PanelStyle style = PanelStyle::Default) explicit
- Constructor.
- Panel(NoCreateT) explicit
- Construct with no underlying node.
Public functions
- auto style() const -> PanelStyle
- Style.
- auto setStyle(PanelStyle style) -> Panel&
- Set style.
- auto backgroundData() const -> DataHandle
- Background data or DataHandle::
Null.
Function documentation
Magnum:: Ui:: Panel:: Panel(Anchor anchor,
PanelStyle style = PanelStyle::Default) explicit
Constructor.
| Parameters | |
|---|---|
| anchor | Positioning anchor |
| style | Panel style |
Panel& Magnum:: Ui:: Panel:: setStyle(PanelStyle style)
Set style.
| Returns | Reference to self (for method chaining) |
|---|
DataHandle Magnum:: Ui:: Panel:: backgroundData() const
Background data or DataHandle::
Exposed mainly for testing purposes, not meant to be modified directly.