lv_obj_get_index() function
Get the index of a child.
Return value
the child index of the object. E.g. 0: the oldest (firstly created child). (-1 if child could not be found or no parent exists)
lv_obj_get_index() is called by 8 functions and calls 1 function:
![]()
lv_obj_get_index()
lv_obj_get_index() reads 3 variables:
![]()
lv_obj_get_index()