mirror of
https://github.com/lvgl/lvgl.git
synced 2026-08-17 09:42:19 +08:00
459 B
459 B
title, description, order
| title | description | order |
|---|---|---|
| Events | Widget events and user input handling. | 50 |
Widgets emit events such as LV_EVENT_CLICKED, LV_EVENT_VALUE_CHANGED, LV_EVENT_DRAW_MAIN, and LV_EVENT_KEY. You register a callback with lv_obj_add_event_cb() and receive an lv_event_t pointer from which you read the code, target, and user data. The examples cover basic wiring, bubbling, custom event codes, and reading input device state inside a handler.