int i=0;
/*Create a label on the page*/
lv_obj_t * label = lv_label_create(page, NULL);
lv_obj_type_t type;
do{
if (type.type[i] == NULL) break;
lv_obj_get_type(label, &type);
printf("%s\n",type.type[i]);
i++;
}while(1);