lvgl.set¶
lvgl.set(parent, params)
Update the settings of an existing LVGL object. Can also be used to change settings that have no dedicated update function (e.g. rectangle thickness). Can also be called as parent:set(params).
Parameters¶
| Name | Req | Type | Description |
|---|---|---|---|
parent | yes | object | LVGL object to update; unlike the constructor functions, this parameter is required, not optional |
params | yes | table | settings to update; use the same keys documented for the object's constructor function |
Returns¶
| Name | Type | Description |
|---|---|---|
none | unknown |
Availability¶
- Since:
2.11.0 - Radio support:
color-lcd
Source¶
radio/src/lua/api_colorlcd_lvgl.cpp