chore(observer): rename lv_button_bind_checked to lv_obj_bind_checked (#5944)

This commit is contained in:
liamHowatt
2024-03-25 02:13:31 -04:00
committed by GitHub
parent 48416d7dae
commit 0cdad0299d
5 changed files with 15 additions and 29 deletions

View File

@@ -272,14 +272,11 @@ Set an object state if an integer subject's value is not equal to a reference va
observer = lv_obj_bind_state_if_not_eq(obj, &subject, LV_STATE_*, ref_value);
Button
------
Set an integer subject to 1 when a button is checked and set it 0 when unchecked.
Set an integer subject to 1 when an object is checked and set it 0 when unchecked.
.. code:: c
observer = lv_button_bind_checked(obj, &subject);
observer = lv_obj_bind_checked(obj, &subject);
Label
-----