lv_obj_get_state() function
Get the state of an object
Return value
the state (OR-ed values from `lv_state_t`)
![]()
const char * state = lv_obj_get_state(obj) & LV_STATE_CHECKED ? "Checked" : "Unchecked";
lv_obj_get_state() is called by 6 functions:
![]()
lv_obj_get_state()
lv_obj_get_state() reads 1 variable:
![]()
lv_obj_get_state()