Home
last modified time | relevance | path

Searched refs:lv_obj_add_event_cb (Results 1 – 25 of 97) sorted by relevance

1234

/lvgl-3.7.0/examples/widgets/list/
Dlv_example_list_1.c26 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 …]
Dlv_example_list_2.c127 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_2()
144 lv_obj_add_event_cb(btn, event_handler_top, LV_EVENT_ALL, NULL); in lv_example_list_2()
148 lv_obj_add_event_cb(btn, event_handler_up, LV_EVENT_ALL, NULL); in lv_example_list_2()
152 lv_obj_add_event_cb(btn, event_handler_center, LV_EVENT_ALL, NULL); in lv_example_list_2()
156 lv_obj_add_event_cb(btn, event_handler_dn, LV_EVENT_ALL, NULL); in lv_example_list_2()
160 lv_obj_add_event_cb(btn, event_handler_bottom, LV_EVENT_ALL, NULL); in lv_example_list_2()
164 lv_obj_add_event_cb(btn, event_handler_swap, LV_EVENT_ALL, NULL); in lv_example_list_2()
/lvgl-3.7.0/examples/widgets/switch/
Dlv_example_switch_1.c21 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.7.0/examples/widgets/checkbox/
Dlv_example_checkbox_1.c23 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_2.c58 lv_obj_add_event_cb(cont1, radio_event_handler, LV_EVENT_CLICKED, &active_index_1); in lv_example_checkbox_2()
72 lv_obj_add_event_cb(cont2, radio_event_handler, LV_EVENT_CLICKED, &active_index_2); in lv_example_checkbox_2()
/lvgl-3.7.0/examples/widgets/win/
Dlv_example_win_1.c15 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()
/lvgl-3.7.0/examples/widgets/roller/
Dlv_example_roller_2.c36 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.7.0/examples/widgets/btn/
Dlv_example_btn_1.c21 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.7.0/examples/others/msg/
Dlv_example_msg_3.c44 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()
Dlv_example_msg_2.c31 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()
Dlv_example_msg_1.c18 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()
/lvgl-3.7.0/examples/others/fragment/
Dlv_example_fragment_2.c60 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()
94 lv_obj_add_event_cb(inc_btn, sample_fragment_inc_click, LV_EVENT_CLICKED, fragment); in sample_fragment_create_obj()
/lvgl-3.7.0/examples/widgets/keyboard/
Dlv_example_keyboard_1.c29 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.7.0/examples/widgets/textarea/
Dlv_example_textarea_1.c27 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()
Dlv_example_textarea_2.c17 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.7.0/examples/widgets/spinbox/
Dlv_example_spinbox_1.c37 lv_obj_add_event_cb(btn, lv_spinbox_increment_event_cb, LV_EVENT_ALL, NULL); in lv_example_spinbox_1()
43 lv_obj_add_event_cb(btn, lv_spinbox_decrement_event_cb, LV_EVENT_ALL, NULL); in lv_example_spinbox_1()
/lvgl-3.7.0/src/extra/widgets/calendar/
Dlv_calendar_header_arrow.c81 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()
Dlv_calendar_header_dropdown.c124 lv_obj_add_event_cb(year_dd, year_event_cb, LV_EVENT_VALUE_CHANGED, calendar); in my_constructor()
129 lv_obj_add_event_cb(month_dd, month_event_cb, LV_EVENT_VALUE_CHANGED, calendar); in my_constructor()
132 lv_obj_add_event_cb(obj, value_changed_event_cb, LV_EVENT_VALUE_CHANGED, NULL); in my_constructor()
/lvgl-3.7.0/examples/widgets/chart/
Dlv_example_chart_5.c88 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.7.0/examples/others/snapshot/
Dlv_example_snapshot_1.c53 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.7.0/examples/anim/
Dlv_example_anim_timeline_1.c145 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.7.0/docs/overview/
Devent.md14 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.7.0/examples/widgets/msgbox/
Dlv_example_msgbox_1.c15 lv_obj_add_event_cb(mbox1, event_cb, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_msgbox_1()
/lvgl-3.7.0/examples/widgets/table/
Dlv_example_table_2.c83 lv_obj_add_event_cb(table, draw_event_cb, LV_EVENT_DRAW_PART_END, NULL); in lv_example_table_2()
84 lv_obj_add_event_cb(table, change_event_cb, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_table_2()
/lvgl-3.7.0/demos/keypad_encoder/
Dlv_demo_keypad_encoder.c167 lv_obj_add_event_cb(ta1, ta_event_cb, LV_EVENT_ALL, kb); in text_input_create()
168 lv_obj_add_event_cb(ta2, ta_event_cb, LV_EVENT_ALL, kb); in text_input_create()
175 lv_obj_add_event_cb(mbox, msgbox_event_cb, LV_EVENT_ALL, NULL); in msgbox_create()

1234