/lvgl-3.7.0/src/core/ |
D | lv_event.c | 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 [all …]
|
D | lv_event.h | 235 struct _lv_event_dsc_t * lv_obj_add_event_cb(struct _lv_obj_t * obj, lv_event_cb_t event_cb, lv_eve… 244 bool lv_obj_remove_event_cb(struct _lv_obj_t * obj, lv_event_cb_t event_cb); 253 bool lv_obj_remove_event_cb_with_user_data(struct _lv_obj_t * obj, lv_event_cb_t event_cb, 271 void * lv_obj_get_event_user_data(struct _lv_obj_t * obj, lv_event_cb_t event_cb);
|
/lvgl-3.7.0/examples/widgets/msgbox/ |
D | lv_example_msgbox_1.py | 1 def event_cb(e): function 8 mbox1.add_event_cb(event_cb, lv.EVENT.VALUE_CHANGED, None)
|
D | lv_example_msgbox_1.c | 4 static void event_cb(lv_event_t * e) in event_cb() function 15 lv_obj_add_event_cb(mbox1, event_cb, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_msgbox_1()
|
/lvgl-3.7.0/examples/others/snapshot/ |
D | lv_example_snapshot_1.c | 4 static void event_cb(lv_event_t * e) in event_cb() function 53 lv_obj_add_event_cb(img, event_cb, LV_EVENT_PRESSED, snapshot_obj); in lv_example_snapshot_1() 54 lv_obj_add_event_cb(img, event_cb, LV_EVENT_RELEASED, snapshot_obj); in lv_example_snapshot_1()
|
D | lv_example_snapshot_1.py | 32 def event_cb(e, snapshot_obj): function 70 img.add_event_cb(lambda e: event_cb(e, snapshot_obj), lv.EVENT.PRESSED, None) 71 img.add_event_cb(lambda e: event_cb(e, snapshot_obj), lv.EVENT.RELEASED, None)
|
/lvgl-3.7.0/examples/event/ |
D | lv_example_event_1.c | 4 static void event_cb(lv_event_t * e) in event_cb() function 23 lv_obj_add_event_cb(btn, event_cb, LV_EVENT_CLICKED, NULL); in lv_example_event_1()
|
D | lv_example_event_1.py | 11 btn.add_event_cb(self.event_cb, lv.EVENT.CLICKED, None) 17 def event_cb(self,e): member in Event_1
|
D | lv_example_event_2.c | 4 static void event_cb(lv_event_t * e) in event_cb() function 43 lv_obj_add_event_cb(btn, event_cb, LV_EVENT_ALL, info_label); in lv_example_event_2()
|
D | lv_example_event_2.py | 1 def event_cb(e,label): function 22 btn.add_event_cb(lambda e: event_cb(e,info_label), lv.EVENT.ALL, None)
|
D | lv_example_event_3.c | 4 static void event_cb(lv_event_t * e) in event_cb() function 41 lv_obj_add_event_cb(cont, event_cb, LV_EVENT_CLICKED, NULL); in lv_example_event_3()
|
D | lv_example_event_3.py | 1 def event_cb(e): function 32 cont.add_event_cb(event_cb, lv.EVENT.CLICKED, None)
|
D | lv_example_event_4.c | 28 static void event_cb(lv_event_t * e) in event_cb() function 62 lv_obj_add_event_cb(cont, event_cb, LV_EVENT_DRAW_MAIN, NULL); in lv_example_event_4()
|
/lvgl-3.7.0/examples/widgets/dropdown/ |
D | lv_example_dropdown_3.c | 4 static void event_cb(lv_event_t * e) in event_cb() function 40 lv_obj_add_event_cb(dropdown, event_cb, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_dropdown_3()
|
D | lv_example_dropdown_3.py | 21 def event_cb(e): function 52 dropdown.add_event_cb(event_cb, lv.EVENT.VALUE_CHANGED, None)
|
/lvgl-3.7.0/examples/widgets/btnmatrix/ |
D | lv_example_btnmatrix_3.c | 4 static void event_cb(lv_event_t * e) in event_cb() function 52 lv_obj_add_event_cb(btnm, event_cb, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_btnmatrix_3()
|
D | lv_example_btnmatrix_3.py | 1 def event_cb(e): function 52 btnm.add_event_cb(event_cb, lv.EVENT.VALUE_CHANGED, None)
|
D | lv_example_btnmatrix_2.c | 4 static void event_cb(lv_event_t * e) in event_cb() function 73 lv_obj_add_event_cb(btnm, event_cb, LV_EVENT_ALL, NULL); in lv_example_btnmatrix_2()
|
/lvgl-3.7.0/examples/widgets/bar/ |
D | lv_example_bar_6.c | 9 static void event_cb(lv_event_t * e) in event_cb() function 53 lv_obj_add_event_cb(bar, event_cb, LV_EVENT_DRAW_PART_END, NULL); in lv_example_bar_6()
|
D | lv_example_bar_6.py | 4 def event_cb(e): function 41 bar.add_event_cb(event_cb, lv.EVENT.DRAW_PART_END, None)
|
D | test.py | 7 def event_cb(e): function 44 bar.add_event_cb(event_cb, lv.EVENT.DRAW_PART_END, None)
|
/lvgl-3.7.0/examples/widgets/chart/ |
D | lv_example_chart_4.c | 4 static void event_cb(lv_event_t * e) in event_cb() function 69 lv_obj_add_event_cb(chart, event_cb, LV_EVENT_ALL, NULL); in lv_example_chart_4()
|
D | lv_example_chart_4.py | 1 def event_cb(e): function 53 chart.add_event_cb(event_cb, lv.EVENT.ALL, None)
|
D | lv_example_chart_6.c | 8 static void event_cb(lv_event_t * e) in event_cb() function 69 lv_obj_add_event_cb(chart, event_cb, LV_EVENT_ALL, NULL); in lv_example_chart_6()
|
/lvgl-3.7.0/tests/src/test_cases/ |
D | test_event.c | 15 .event_cb = event_object_deletion_cb,
|