lvgl.dialog¶
Syntax¶
lvgl.dialog({settings})
Parameters¶
The lvgl.dialog function uses only the settings shown below. The common settings shown on the API page are not used.
| Name | Type | Description | Default |
|---|---|---|---|
| title | String | Text to be displayed in the header of the dialog box. | Empty string |
| close | Function | Called when the dialog box is closed. | nil |
| flexFlow | Flow type - lvgl.FLOW_COLUMN or lvgl.FLOW_ROW | Enable flex layout for this box. | not used |
| flexPad | Number | When flex layout is used, set the padding between rows or columns. Recommended to use the lvgl.PAD_xxx values. | 0 |
Return values¶
LVGL object
API Status¶
| Avail | Status | Comment | |
|---|---|---|---|
| BW radios | false | ||
| Color radios | true | active |
Change log¶
| EdgeTX version | Change |
|---|---|
| 2.11.0 | Introduced |