|
FabGL
ESP32 Display Controller and Graphics Library
|
| uiSplitButton | ( | uiWindow * | parent, |
| char const * | text, | ||
| const Point & | pos, | ||
| const Size & | size, | ||
| int | listHeight, | ||
| char const * | itemsText, | ||
| char | separator = ';', |
||
| bool | visible = true, |
||
| uint32_t | styleClassID = 0 |
||
| ) |
Creates an instance of the object.
| parent | The parent window. A splitbutton must always have a parent window |
| text | The text of the splitbutton |
| pos | Top-left coordinates of the splitbutton relative to the parent |
| size | The splitbutton size |
| listHeight | Height in pixels of the open menu |
| itemsText | Separated list of menu items (ie "options 1;option 2;option 3") |
| separator | Character used to separate itemsText. Default is ";" |
| visible | If true the splitbutton is immediately visible |
| styleClassID | Optional style class identifier |