/lvgl-3.5.0/examples/widgets/list/ |
D | lv_example_list_1.c | 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() 48 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1() [all …]
|
D | lv_example_list_2.c | 128 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_2() 145 lv_obj_add_event_cb(btn, event_handler_top, LV_EVENT_ALL, NULL); in lv_example_list_2() 149 lv_obj_add_event_cb(btn, event_handler_up, LV_EVENT_ALL, NULL); in lv_example_list_2() 153 lv_obj_add_event_cb(btn, event_handler_center, LV_EVENT_ALL, NULL); in lv_example_list_2() 157 lv_obj_add_event_cb(btn, event_handler_dn, LV_EVENT_ALL, NULL); in lv_example_list_2() 161 lv_obj_add_event_cb(btn, event_handler_bottom, LV_EVENT_ALL, NULL); in lv_example_list_2() 165 lv_obj_add_event_cb(btn, event_handler_swap, LV_EVENT_ALL, NULL); in lv_example_list_2()
|
/lvgl-3.5.0/examples/widgets/switch/ |
D | lv_example_switch_1.c | 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()
|
/lvgl-3.5.0/examples/widgets/checkbox/ |
D | lv_example_checkbox_1.c | 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()
|
D | lv_example_checkbox_2.c | 60 lv_obj_add_event_cb(cont1, radio_event_handler, LV_EVENT_CLICKED, &active_index_1); in lv_example_checkbox_2() 74 lv_obj_add_event_cb(cont2, radio_event_handler, LV_EVENT_CLICKED, &active_index_2); in lv_example_checkbox_2()
|
/lvgl-3.5.0/examples/widgets/win/ |
D | lv_example_win_1.c | 16 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_win_1() 21 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_win_1() 24 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_win_1()
|
/lvgl-3.5.0/examples/widgets/roller/ |
D | lv_example_roller_2.c | 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()
|
/lvgl-3.5.0/examples/widgets/btn/ |
D | lv_example_btn_1.c | 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()
|
/lvgl-3.5.0/examples/widgets/keyboard/ |
D | lv_example_keyboard_1.c | 29 lv_obj_add_event_cb(ta, ta_event_cb, LV_EVENT_ALL, kb); in lv_example_keyboard_1() 35 lv_obj_add_event_cb(ta, ta_event_cb, LV_EVENT_ALL, kb); in lv_example_keyboard_1()
|
/lvgl-3.5.0/examples/others/msg/ |
D | lv_example_msg_3.c | 44 lv_obj_add_event_cb(btn, btn_event_cb, LV_EVENT_ALL, NULL); in lv_example_msg_3() 55 lv_obj_add_event_cb(label, label_event_cb, LV_EVENT_MSG_RECEIVED, NULL); in lv_example_msg_3() 60 lv_obj_add_event_cb(btn, btn_event_cb, LV_EVENT_ALL, NULL); in lv_example_msg_3() 69 lv_obj_add_event_cb(slider, slider_event_cb, LV_EVENT_ALL, NULL); in lv_example_msg_3()
|
D | lv_example_msg_1.c | 18 lv_obj_add_event_cb(slider, slider_event_cb, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_msg_1() 22 lv_obj_add_event_cb(label, label_event_cb, LV_EVENT_MSG_RECEIVED, NULL); in lv_example_msg_1()
|
D | lv_example_msg_2.c | 31 lv_obj_add_event_cb(ta, textarea_event_cb, LV_EVENT_ALL, NULL); in lv_example_msg_2() 45 lv_obj_add_event_cb(btn, log_out_event_cb, LV_EVENT_ALL, NULL); in lv_example_msg_2() 55 lv_obj_add_event_cb(label, info_label_msg_event_cb, LV_EVENT_MSG_RECEIVED, NULL); in lv_example_msg_2() 64 lv_obj_add_event_cb(btn, start_engine_msg_event_cb, LV_EVENT_MSG_RECEIVED, NULL); in lv_example_msg_2()
|
/lvgl-3.5.0/examples/others/fragment/ |
D | lv_example_fragment_2.c | 60 lv_obj_add_event_cb(root, sample_container_del, LV_EVENT_DELETE, manager); in lv_example_fragment_2() 65 lv_obj_add_event_cb(push_btn, sample_push_click, LV_EVENT_CLICKED, manager); in lv_example_fragment_2() 66 lv_obj_add_event_cb(pop_btn, sample_pop_click, LV_EVENT_CLICKED, manager); in lv_example_fragment_2() 95 lv_obj_add_event_cb(inc_btn, sample_fragment_inc_click, LV_EVENT_CLICKED, fragment); in sample_fragment_create_obj()
|
/lvgl-3.5.0/src/extra/widgets/calendar/ |
D | lv_calendar_header_dropdown.c | 85 lv_obj_add_event_cb(year_dd, year_event_cb, LV_EVENT_VALUE_CHANGED, calendar); in my_constructor() 90 lv_obj_add_event_cb(month_dd, month_event_cb, LV_EVENT_VALUE_CHANGED, calendar); in my_constructor() 93 lv_obj_add_event_cb(obj, value_changed_event_cb, LV_EVENT_VALUE_CHANGED, NULL); in my_constructor()
|
D | lv_calendar_header_arrow.c | 81 lv_obj_add_event_cb(mo_prev, month_event_cb, LV_EVENT_CLICKED, NULL); in my_constructor() 93 lv_obj_add_event_cb(mo_next, month_event_cb, LV_EVENT_CLICKED, NULL); in my_constructor() 96 lv_obj_add_event_cb(obj, value_changed_event_cb, LV_EVENT_VALUE_CHANGED, NULL); in my_constructor()
|
/lvgl-3.5.0/examples/widgets/spinbox/ |
D | lv_example_spinbox_1.c | 39 lv_obj_add_event_cb(btn, lv_spinbox_increment_event_cb, LV_EVENT_ALL, NULL); in lv_example_spinbox_1() 45 lv_obj_add_event_cb(btn, lv_spinbox_decrement_event_cb, LV_EVENT_ALL, NULL); in lv_example_spinbox_1()
|
/lvgl-3.5.0/examples/widgets/textarea/ |
D | lv_example_textarea_1.c | 27 lv_obj_add_event_cb(ta, textarea_event_handler, LV_EVENT_READY, ta); in lv_example_textarea_1() 39 lv_obj_add_event_cb(btnm, btnm_event_handler, LV_EVENT_VALUE_CHANGED, ta); in lv_example_textarea_1()
|
D | lv_example_textarea_2.c | 17 lv_obj_add_event_cb(pwd_ta, ta_event_cb, LV_EVENT_ALL, NULL); in lv_example_textarea_2() 29 lv_obj_add_event_cb(text_ta, ta_event_cb, LV_EVENT_ALL, NULL); in lv_example_textarea_2()
|
/lvgl-3.5.0/examples/widgets/chart/ |
D | lv_example_chart_5.c | 88 lv_obj_add_event_cb(slider, slider_x_event_cb, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_chart_5() 94 lv_obj_add_event_cb(slider, slider_y_event_cb, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_chart_5()
|
/lvgl-3.5.0/examples/others/snapshot/ |
D | lv_example_snapshot_1.c | 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()
|
/lvgl-3.5.0/examples/anim/ |
D | lv_example_anim_timeline_1.c | 145 lv_obj_add_event_cb(btn_start, btn_start_event_handler, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_anim_timeline_1() 156 lv_obj_add_event_cb(btn_del, btn_del_event_handler, LV_EVENT_CLICKED, NULL); in lv_example_anim_timeline_1() 166 lv_obj_add_event_cb(btn_stop, btn_stop_event_handler, LV_EVENT_CLICKED, NULL); in lv_example_anim_timeline_1() 176 lv_obj_add_event_cb(slider_prg, slider_prg_event_handler, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_anim_timeline_1()
|
/lvgl-3.5.0/docs/overview/ |
D | event.md | 14 lv_obj_add_event_cb(btn, my_event_cb, LV_EVENT_CLICKED, NULL); /*Assign an event callback*/ 26 The last parameter of `lv_obj_add_event_cb` is a pointer to any custom data that will be available … 30 lv_obj_add_event_cb(obj, my_event_cb_1, LV_EVENT_CLICKED, NULL); 31 lv_obj_add_event_cb(obj, my_event_cb_2, LV_EVENT_PRESSED, NULL); 32 lv_obj_add_event_cb(obj, my_event_cb_3, LV_EVENT_ALL, NULL); /*No filtering, receive all events*/ 37 lv_obj_add_event_cb(obj, increment_on_click, LV_EVENT_CLICKED, &num1); 38 lv_obj_add_event_cb(obj, increment_on_click, LV_EVENT_CLICKED, &num2); 49 …_obj_remove_event_dsc(obj, event_dsc)`. `event_dsc` is a pointer returned by `lv_obj_add_event_cb`. 155 - `lv_event_get_user_data(e)` get the pointer passed as the last parameter of `lv_obj_add_event_cb`.
|
/lvgl-3.5.0/examples/widgets/msgbox/ |
D | lv_example_msgbox_1.c | 15 lv_obj_add_event_cb(mbox1, event_cb, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_msgbox_1()
|
/lvgl-3.5.0/examples/widgets/table/ |
D | lv_example_table_2.c | 84 lv_obj_add_event_cb(table, draw_event_cb, LV_EVENT_DRAW_PART_END, NULL); in lv_example_table_2() 85 lv_obj_add_event_cb(table, change_event_cb, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_table_2()
|
/lvgl-3.5.0/demos/keypad_encoder/ |
D | lv_demo_keypad_encoder.c | 158 lv_obj_add_event_cb(ta1, ta_event_cb, LV_EVENT_ALL, kb); in text_input_create() 159 lv_obj_add_event_cb(ta2, ta_event_cb, LV_EVENT_ALL, kb); in text_input_create() 166 lv_obj_add_event_cb(mbox, msgbox_event_cb, LV_EVENT_ALL, NULL); in msgbox_create()
|