Skip to content

Display LVGL

LVGL bindings and UI helpers for display-oriented Lua scripts.

lvgl.align Display a button showing a text alignment name. lvgl.arc Display an arc. lvgl.box Create a container for managing object layout. lvgl.build Build a complex UI in a single operation from a table of object definitions. lvgl.button Add a text button using the EdgeTX style. lvgl.choice Display a button showing an option value. lvgl.circle Display a solid or outlined circle. lvgl.clear Delete LVGL objects. lvgl.close Close an LVGL object that represents a closable container or dialog. lvgl.color Display a button showing a color swatch. lvgl.confirm Display a Yes/No confirmation dialog box. lvgl.dialog Display a dialog box. lvgl.disable Disable interaction for an LVGL control object. lvgl.enable Enable interaction for an LVGL control object. lvgl.exitFullScreen If the script is running in full screen mode, return it to normal mode. lvgl.file Display a button showing a filename. lvgl.font Display a button showing a font name. lvgl.getContext For a widget script, returns the local instance table created by (and returned from) the script's `create()` function. lvgl.getScrollPos Get the current scroll position of a container object. lvgl.hide Hide an LVGL object. lvgl.hline Display a horizontal line. lvgl.image Display an image, centered in the frame `(x, y, w, h)`. lvgl.isAppMode Test if the script is running in App Mode. lvgl.isFullScreen Test if the script is running in full screen mode. lvgl.label Display a text label. lvgl.line Display one or more connected line segments. lvgl.menu Open a popup menu with multiple options to choose from, using EdgeTX styling. lvgl.message Display a message dialog box. lvgl.momentaryButton Add a momentary text button using the EdgeTX style. lvgl.numberEdit Add a number edit box using the EdgeTX style. lvgl.page Create a page layout for a One-Time script using EdgeTX styling: a header with title/sub-title lines and a back... lvgl.qrcode Display a QR code. lvgl.rectangle Display a rectangle. lvgl.set Update the settings of an existing LVGL object. lvgl.setting Create a container for a single row of a settings page, automatically padded for controls such as... lvgl.show Show an LVGL object. lvgl.slider Add a horizontal slider using the EdgeTX style. lvgl.source Display a button showing a source name. lvgl.switch Display a button showing a switch name. lvgl.textEdit Add a text edit box using the EdgeTX style. lvgl.timer Display a button showing a timer name. lvgl.toggle Add a toggle switch using the EdgeTX style. lvgl.triangle Display a filled triangle. lvgl.verticalSlider Add a vertical slider using the EdgeTX style. lvgl.vline Display a vertical line.