Home
last modified time | relevance | path

Searched refs:event_handler (Results 1 – 25 of 26) sorted by relevance

12

/lvgl-latest/examples/widgets/list/
Dlv_example_list_1.c5 static void event_handler(lv_event_t * e) in event_handler() function
26 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
28 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
30 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
32 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
34 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
38 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
40 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
42 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
44 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
[all …]
Dlv_example_list_1.py1 def event_handler(e): function
15 btn_new.add_event_cb(event_handler,lv.EVENT.ALL, None)
17 btn_open.add_event_cb(event_handler,lv.EVENT.ALL, None)
19 btn_save.add_event_cb(event_handler,lv.EVENT.ALL, None)
21 btn_delete.add_event_cb(event_handler,lv.EVENT.ALL, None)
23 btn_edit.add_event_cb(event_handler,lv.EVENT.ALL, None)
27 btn_bluetooth.add_event_cb(event_handler,lv.EVENT.ALL, None)
29 btn_navig.add_event_cb(event_handler,lv.EVENT.ALL, None)
31 btn_USB.add_event_cb(event_handler,lv.EVENT.ALL, None)
33 btn_battery.add_event_cb(event_handler,lv.EVENT.ALL, None)
[all …]
Dtest.py4 def event_handler(e): function
18 btn_new.add_event_cb(event_handler,lv.EVENT.ALL, None)
20 btn_open.add_event_cb(event_handler,lv.EVENT.ALL, None)
22 btn_save.add_event_cb(event_handler,lv.EVENT.ALL, None)
24 btn_delete.add_event_cb(event_handler,lv.EVENT.ALL, None)
26 btn_edit.add_event_cb(event_handler,lv.EVENT.ALL, None)
30 btn_bluetooth.add_event_cb(event_handler,lv.EVENT.ALL, None)
32 btn_navig.add_event_cb(event_handler,lv.EVENT.ALL, None)
34 btn_USB.add_event_cb(event_handler,lv.EVENT.ALL, None)
36 btn_battery.add_event_cb(event_handler,lv.EVENT.ALL, None)
[all …]
Dlv_example_list_2.c11 static void event_handler(lv_event_t * e) in event_handler() function
127 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_2()
/lvgl-latest/examples/widgets/switch/
Dlv_example_switch_1.c4 static void event_handler(lv_event_t * e) in event_handler() function
21 lv_obj_add_event_cb(sw, event_handler, LV_EVENT_ALL, NULL); in lv_example_switch_1()
25 lv_obj_add_event_cb(sw, event_handler, LV_EVENT_ALL, NULL); in lv_example_switch_1()
29 lv_obj_add_event_cb(sw, event_handler, LV_EVENT_ALL, NULL); in lv_example_switch_1()
33 lv_obj_add_event_cb(sw, event_handler, LV_EVENT_ALL, NULL); in lv_example_switch_1()
Dlv_example_switch_1.py1 def event_handler(e): function
15 sw.add_event_cb(event_handler,lv.EVENT.ALL, None)
19 sw.add_event_cb(event_handler, lv.EVENT.ALL, None)
23 sw.add_event_cb(event_handler, lv.EVENT.ALL, None)
27 sw.add_event_cb(event_handler, lv.EVENT.ALL, None)
/lvgl-latest/examples/widgets/checkbox/
Dlv_example_checkbox_1.c4 static void event_handler(lv_event_t * e) in event_handler() function
23 lv_obj_add_event_cb(cb, event_handler, LV_EVENT_ALL, NULL); in lv_example_checkbox_1()
28 lv_obj_add_event_cb(cb, event_handler, LV_EVENT_ALL, NULL); in lv_example_checkbox_1()
33 lv_obj_add_event_cb(cb, event_handler, LV_EVENT_ALL, NULL); in lv_example_checkbox_1()
38 lv_obj_add_event_cb(cb, event_handler, LV_EVENT_ALL, NULL); in lv_example_checkbox_1()
Dlv_example_checkbox_1.py1 def event_handler(e): function
18 cb.add_event_cb(event_handler, lv.EVENT.ALL, None)
23 cb.add_event_cb(event_handler, lv.EVENT.ALL, None)
28 cb.add_event_cb(event_handler, lv.EVENT.ALL, None)
33 cb.add_event_cb(event_handler, lv.EVENT.ALL, None)
/lvgl-latest/examples/widgets/win/
Dlv_example_win_1.c4 static void event_handler(lv_event_t * e) in event_handler() function
15 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_win_1()
20 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_win_1()
23 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_win_1()
Dlv_example_win_1.py1 def event_handler(e): function
10 btn1.add_event_cb(event_handler, lv.EVENT.ALL, None)
13 btn2.add_event_cb(event_handler, lv.EVENT.ALL, None)
15 btn3.add_event_cb(event_handler, lv.EVENT.ALL, None)
/lvgl-latest/examples/widgets/roller/
Dlv_example_roller_2.c4 static void event_handler(lv_event_t * e) in event_handler() function
36 lv_obj_add_event_cb(roller, event_handler, LV_EVENT_ALL, NULL); in lv_example_roller_2()
45 lv_obj_add_event_cb(roller, event_handler, LV_EVENT_ALL, NULL); in lv_example_roller_2()
56 lv_obj_add_event_cb(roller, event_handler, LV_EVENT_ALL, NULL); in lv_example_roller_2()
Dlv_example_roller_2.py4 def event_handler(e): function
39 roller.add_event_cb(event_handler, lv.EVENT.ALL, None)
48 roller.add_event_cb(event_handler, lv.EVENT.ALL, None)
59 roller.add_event_cb(event_handler, lv.EVENT.ALL, None)
Dlv_example_roller_1.c4 static void event_handler(lv_event_t * e) in event_handler() function
38 lv_obj_add_event_cb(roller1, event_handler, LV_EVENT_ALL, NULL); in lv_example_roller_1()
Dlv_example_roller_1.py1 def event_handler(e): function
30 roller1.add_event_cb(event_handler, lv.EVENT.ALL, None)
/lvgl-latest/examples/widgets/btn/
Dlv_example_btn_1.c4 static void event_handler(lv_event_t * e) in event_handler() function
21 lv_obj_add_event_cb(btn1, event_handler, LV_EVENT_ALL, NULL); in lv_example_btn_1()
29 lv_obj_add_event_cb(btn2, event_handler, LV_EVENT_ALL, NULL); in lv_example_btn_1()
Dlv_example_btn_1.py1 def event_handler(evt): function
13 btn1.add_event_cb(event_handler,lv.EVENT.ALL, None)
24 btn2.add_event_cb(event_handler,lv.EVENT.ALL, None)
/lvgl-latest/examples/widgets/dropdown/
Dlv_example_dropdown_1.c4 static void event_handler(lv_event_t * e) in event_handler() function
32 lv_obj_add_event_cb(dd, event_handler, LV_EVENT_ALL, NULL); in lv_example_dropdown_1()
Dlv_example_dropdown_1.py1 def event_handler(e): function
25 dd.add_event_cb(event_handler, lv.EVENT.ALL, None)
/lvgl-latest/examples/widgets/btnmatrix/
Dlv_example_btnmatrix_1.c4 static void event_handler(lv_event_t * e) in event_handler() function
29 lv_obj_add_event_cb(btnm1, event_handler, LV_EVENT_ALL, NULL); in lv_example_btnmatrix_1()
Dlv_example_btnmatrix_1.py1 def event_handler(evt): function
21 btnm1.add_event_cb(event_handler, lv.EVENT.ALL, None)
/lvgl-latest/examples/widgets/calendar/
Dlv_example_calendar_1.py2 def event_handler(evt): function
16 calendar.add_event_cb(event_handler, lv.EVENT.ALL, None)
Dlv_example_calendar_1.c4 static void event_handler(lv_event_t * e) in event_handler() function
22 lv_obj_add_event_cb(calendar, event_handler, LV_EVENT_ALL, NULL); in lv_example_calendar_1()
/lvgl-latest/examples/others/gridnav/
Dlv_example_gridnav_4.c4 static void event_handler(lv_event_t * e) in event_handler() function
36 lv_obj_add_event_cb(item, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_gridnav_4()
/lvgl-latest/tests/src/test_cases/
Dtest_checkbox.c20 static void event_handler(lv_event_t * e) in event_handler() function
43 lv_obj_add_event_cb(checkbox, event_handler, LV_EVENT_ALL, NULL); in test_checkbox_should_call_event_handler_on_click_when_enabled()
Dtest_switch.c33 static void event_handler(lv_event_t * e) in event_handler() function
125 lv_obj_add_event_cb(sw, event_handler, LV_EVENT_ALL, NULL); in test_switch_should_trigger_value_changed_event_only_once()

12