FabGL
ESP32 Display Controller and Graphics Library

◆ uiSplitButton()

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.

Parameters
parentThe parent window. A splitbutton must always have a parent window
textThe text of the splitbutton
posTop-left coordinates of the splitbutton relative to the parent
sizeThe splitbutton size
listHeightHeight in pixels of the open menu
itemsTextSeparated list of menu items (ie "options 1;option 2;option 3")
separatorCharacter used to separate itemsText. Default is ";"
visibleIf true the splitbutton is immediately visible
styleClassIDOptional style class identifier

Definition at line 5291 of file fabui.cpp.