Skip to content

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.

NameTypeDescriptionDefault
titleStringText to be displayed in the header of the dialog box.Empty string
closeFunctionCalled when the dialog box is closed.nil
flexFlowFlow type - lvgl.FLOW_COLUMN or lvgl.FLOW_ROWEnable flex layout for this box.not used
flexPadNumberWhen 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

AvailStatusComment
BW radiosfalse
Color radiostrueactive

Change log

EdgeTX versionChange
2.11.0Introduced