docs(events) rename LV_EVENT_APPLY to LV_EVENT_READY (#2791)

This commit is contained in:
Vincent Hamp
2021-11-11 14:09:40 +01:00
committed by Gabor Kiss-Vamosi
parent 742db8bdc0
commit bf6837f4c0
2 changed files with 2 additions and 2 deletions

View File

@@ -77,8 +77,8 @@ To manually open or close the drop-down list the `lv_dropdown_open/close(dropdow
## Events
Apart from the [Generic events](../overview/event.html#generic-events), the following [Special events](../overview/event.html#special-events) are sent by the drop-down list:
- `LV_EVENT_VALUE_CHANGED` Sent when the new option is selected or the list is opened/closed.
- `LV_EVENT_APPLY` Sent when the list is opened
- `LV_EVENT_CANCEL` Sent when the list is closed
- `LV_EVENT_READY` Sent when the list is opened
See the events of the [Base object](/widgets/obj) too.

View File

@@ -97,7 +97,7 @@ This works much like when you select text on your PC with your mouse.
The event paramter is the text about to be inserted. `lv_textarea_set_insert_replace(textarea, "New text")` replaces the text to insert.
The new text cannot be in a local variable which is destroyed when the event callback exists. `""` means do not insert anything.
- `LV_EVENT_VALUE_CHANGED` Sent when the content of the text area has been changed.
- `LV_EVENT_APPLY` Sent when `LV_KEY_ENTER` is pressed (or(sent) to a one line text area.
- `LV_EVENT_READY` Sent when `LV_KEY_ENTER` is pressed (or(sent) to a one line text area.
See the events of the [Base object](/widgets/obj) too.