"lv_event_send" migration from v8 to v9


I’m trying to port my v8 project to the v9 but got stuck because of lack of documentation. The official v9 documentation apparently has not been yet published as the examples uses the outdated APIs. The Changelog didn’t mention all API changes as well. Specifically I’m looking for how to port “lv_event_send” function calls as it uses a fairly different function signature now. In v8, you could easily send an event by passing the lv_obj_t and the event code, I assume lv_event_t can contain those info. now but what about lv_event_list_t. How does that work under the hood? Any example would help.

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

What LVGL version are you using?


What do you want to achieve?

What have you tried so far?

Code to reproduce

Screenshot and/or video

lv_obj_send_event is what you want to use. It has the same signature as lv_event_send in version 8