Dropdown menu. More...
#include <menu.h>


Public Member Functions | |
| TuiMenu (const String &title=String(), ObjectBase *parent=nullptr) | |
| const String & | title () const |
| void | setTitle (const String &title) |
| TuiAction * | addAction (const String &text) |
| void | addSeparator () |
| const List< TuiAction * > & | actions () const |
| int | currentIndex () const |
| void | setCurrentIndex (int index) |
| bool | isOpen () const |
| void | open () |
| void | close () |
| Size2Di32 | sizeHint () const override |
Public Member Functions inherited from promeki::TuiWidget | |
| TuiWidget (ObjectBase *parent=nullptr) | |
| Constructs a TuiWidget. | |
| ~TuiWidget () override | |
| Destructor. | |
| void | update () override |
| Marks the widget as needing a repaint. | |
Protected Member Functions | |
| void | paintEvent (PaintEvent *e) override |
| void | keyPressEvent (KeyEvent *e) override |
Dropdown menu.