|
FabGL
ESP32 Display Controller and Graphics Library
|
| uiButton | ( | uiWindow * | parent, |
| char const * | text, | ||
| const Point & | pos, | ||
| const Size & | size, | ||
| uiButtonKind | kind = uiButtonKind::Button, |
||
| bool | visible = true, |
||
| uint32_t | styleClassID = 0 |
||
| ) |
Creates an instance of the object.
| parent | The parent window. A button must always have a parent window |
| text | The text of the button |
| pos | Top-left coordinates of the button relative to the parent |
| size | The button size |
| kind | The button kind (button or switch) |
| visible | If true the button is immediately visible |
| styleClassID | Optional style class identifier |