Hi all,
Is it possible to retrieve all the objects within a group ? I understand that objects are stored in a linked list but how can I retrieve them given the group object ?
Thanks is advance,
Lorenzo
Hi all,
Is it possible to retrieve all the objects within a group ? I understand that objects are stored in a linked list but how can I retrieve them given the group object ?
Thanks is advance,
Lorenzo
I see no API for it in v7 but you should be able to do it with the following trick:
lv_obj_t ** obj_p;
_LV_LL_READ(group->obj_ll, obj_p) {
lv_obj_t *obj = *obj_p;
/* obj is a normal object reference */
}
That works perfectly ! Thanks a lot.