mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-23 07:46:36 +08:00
chore(obj): deprecate lv_obj_find_by_id in favor of lv_obj_find_by_name
This commit is contained in:
committed by
Liam Howatt
parent
56c44bfdc4
commit
346395d039
@@ -190,7 +190,8 @@ that the Widget no longer exists.
|
||||
Find child by ID
|
||||
----------------
|
||||
|
||||
.. warning::
|
||||
``lv_obj_find_by_id(widget, id)`` is deprecated. To find a widget use ``obj_name``.
|
||||
|
||||
:cpp:expr:`lv_obj_find_by_id(widget, id)` will perform a recursive walk through
|
||||
``widget``\ 's children and return the first child encountered having the given ID.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user