Lines Matching refs:event_cb
89 while(base && base->event_cb == NULL) base = base->base_class; in lv_obj_event_base()
92 if(base->event_cb == NULL) return LV_RES_OK; in lv_obj_event_base()
96 base->event_cb(base, e); in lv_obj_event_base()
157 struct _lv_event_dsc_t * lv_obj_add_event_cb(lv_obj_t * obj, lv_event_cb_t event_cb, lv_event_code_… in lv_obj_add_event_cb() argument
168 obj->spec_attr->event_dsc[obj->spec_attr->event_dsc_cnt - 1].cb = event_cb; in lv_obj_add_event_cb()
175 bool lv_obj_remove_event_cb(lv_obj_t * obj, lv_event_cb_t event_cb) in lv_obj_remove_event_cb() argument
182 if(event_cb == NULL || obj->spec_attr->event_dsc[i].cb == event_cb) { in lv_obj_remove_event_cb()
199 bool lv_obj_remove_event_cb_with_user_data(lv_obj_t * obj, lv_event_cb_t event_cb, const void * use… in lv_obj_remove_event_cb_with_user_data() argument
206 if((event_cb == NULL || obj->spec_attr->event_dsc[i].cb == event_cb) && in lv_obj_remove_event_cb_with_user_data()
248 void * lv_obj_get_event_user_data(struct _lv_obj_t * obj, lv_event_cb_t event_cb) in lv_obj_get_event_user_data() argument
255 … if(event_cb == obj->spec_attr->event_dsc[i].cb) return obj->spec_attr->event_dsc[i].user_data; in lv_obj_get_event_user_data()