My idea is to add a function like: lv_obj_get_type(obj, buf) which put a string into the buffer. For example: "lv_sw", "lv_cb, "lv_btn" etc. It can be implemented as a new signal, for example: LV_SIGNAL_GET_TYPE. I'm not sure, but maybe you already know that every obj...