1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

chore: fix typo related to lv_msgbox (#4882)

This commit is contained in:
GoT 2023-11-28 14:58:09 +01:00 committed by GitHub
parent 01b90bb52b
commit 0b22070d64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,8 +66,8 @@ Events
you can add events to the message box itself. In the event handler,
:cpp:expr:`lv_event_get_target(e)` will return the button matrix and
:cpp:expr:`lv_event_get_current_target(e)` will return the message box.
:cpp:expr:`lv_msgbox_get_active_btn(msgbox)` and
:cpp:expr:`lv_msgbox_get_active_btn_text(msgbox)` can be used to get the
:cpp:expr:`lv_msgbox_get_active_button(msgbox)` and
:cpp:expr:`lv_msgbox_get_active_button_text(msgbox)` can be used to get the
index and text of the clicked button.
Learn more about :ref:`events`.