Lv_obj_clean() on list widgets?


the list widget is a multipart object. When lv_obj_clean() is applied onto such a widget, all the sub-parts are wiped.

Maybe it would make sense that multipart container objects would forward calls like lv_obj_clean() to the relevant sub-part?

AFAIR, such a forwarding is already implemented for some functions (dragging?)

It’s recommended to use lv_list_clean when deleting all the buttons from a list, to solve precisely that problem.

Ah, I see!