How to port lv_list_focus to v8

Description

I’m porting a UI from v6 to v8. I have a list widget where focus should be programmatically moved to certain buttons. In v6 I did this with the lv_list_focus function, but it is missing from v8. I guess that with the state/style/flags overhaul this as been moved to a generic function for all objects, but I can’t seem to find it in the documentation. How could I programmatically move the scroll window to a specific element of a list (or page)?

What MCU/Processor/Board and compiler are you using?

Linux on Raspberry Pi

What LVGL version are you using?

v8.1