When the object (lv_obj_t) is deleted by lv_obj_del() function, are all of this object's child-objects automatically deleted?


When the object (lv_obj_t) is deleted by lv_obj_del function,
are all of this object’s child-objects automatically deleted ?
Or do I must delete manually all of the child-objects one by one?

Thank you.

What MCU/Processor/Board and compiler are you using?

  • ESP32

What do you want to achieve?

Delete all of the childs

What have you tried so far?

Code to reproduce

Screenshot and/or video

With lv_obj_del, all children are deleted as well as the object. With lv_obj_clean, only the children are deleted, but not the object itself.


Thank you very much.

@TridentTD For the record, leaving parts of the template blank does not count as filling it out. :wink: