Searched refs:info_label (Results 1 – 2 of 2) sorted by relevance
40 lv_obj_t * info_label = lv_label_create(lv_scr_act()); in lv_example_event_2() local41 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()
19 info_label = lv.label(lv.scr_act()) variable20 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)