|
FabGL
ESP32 Display Controller and Graphics Library
|
| void setupButton | ( | int | index, |
| char const * | text, | ||
| char const * | subItems = nullptr, |
||
| int | subItemsHeight = 80 |
||
| ) |
Setups extended button or split-button.
Extended button texts are reset to empty values after every dialog.
| index | A value from 0 to 3. 0 = leftmost button ... 3 = rightmost button |
| text | Button text |
| subItems | If specified a Split Button is created. subItems contains a semicolon separated list of menu items |
| subItemsHeight | Determines split button sub items height in pixels |
Definition at line 112 of file inputbox.cpp.