Create settings menu


Using LVGL 8.2.0 (320x480 display 32bit)

I am trying to create a settings menu like the lvgl menu example and added a keyboard and textareas.
The menu is created (not shown) at startup of the application.
When entering the service menu I would like to adjust some textareas and switch values.
(the real use case is to create a settings menu for network related settings like dhcp (switch), ip, netmask, dhcp etc.)

I would like to readout the current network settings from the moment it will activate the menu, but I haven’t found out how to do it. There are some events like LV_EVENT_DRAW_MAIN_BEGIN, but it will continuous fire when you scroll the menu.

Does anybody have an idea how to do this?

Thanks in advance.

You can look into LV_EVENT_VALUE_CHANGED, which is sent when there is change in the page within the menu.