lv_obj_bind_state_if_eq() function
Set an object state if an integer subject's value is equal to a reference value, clear the flag otherwise
Arguments
subject
pointer to a subject
state
state to set or clear (e.g. `LV_STATE_CHECKED`)
ref_value
reference value to compare the subject's value with
Return value
pointer to the created observer