Home
last modified time | relevance | path

Searched refs:info_label (Results 1 – 2 of 2) sorted by relevance

/lvgl-latest/examples/event/
Dlv_example_event_2.c40 lv_obj_t * info_label = lv_label_create(lv_scr_act()); in lv_example_event_2() local
41 lv_label_set_text(info_label, "The last button event:\nNone"); in lv_example_event_2()
43 lv_obj_add_event_cb(btn, event_cb, LV_EVENT_ALL, info_label); in lv_example_event_2()
Dlv_example_event_2.py19 info_label = lv.label(lv.scr_act()) variable
20 info_label.set_text("The last button event:\nNone")
22 btn.add_event_cb(lambda e: event_cb(e,info_label), lv.EVENT.ALL, None)