feat(event) rework the prototype of lv_event_cb
It encapsulates all event related parameters into a single lv_event_t obejct.
This commit is contained in:
@@ -176,7 +176,7 @@ There are 2 custom pointer that are available in the events:
|
||||
- `user_data`: set when the event is registered.
|
||||
- `event_param`: set when the event is sent in `lv_event_send`
|
||||
|
||||
In any event callback these pointer can be get with `lv_event_get_user_data()` and `lv_event_get_param()`.
|
||||
In any event callback these pointer can be get with `lv_event_get_user_data(e)` and `lv_event_get_param(e)`.
|
||||
|
||||
|
||||
## Event bubbling
|
||||
|
||||
Reference in New Issue
Block a user