Looking for v8 equivalent of v7 functions: lv_obj_set_top, lv_obj_set_drag, lv_obj_set_drag_parent

I am in the process of migrating from v7 to v8 and currently haven’t been able to discover what the equivalent methods are in v8 to replicate these functions, or a viable alternative way to replicate:

lv_obj_set_top
lv_obj_set_drag
lv_obj_set_drag_parent

Apologies if this is documented or in the forums already, but my initial review didn’t seem to find any information

  • lv_obj_set_top → use a custom event handler and call lv_obj_move_foreground(obj) when you receive LV_EVENT_CLICKED.
  • lv_obj_set_dragrefer to this example. Dragging is now implemented outside of the LVGL core.
  • lv_obj_set_drag_parent → not 100% sure about this one, but the functionality is most likely gone as it was mainly used for scrolling.