Searched refs:btn_del (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.5.0/examples/anim/ |
D | lv_example_anim_timeline_1.c | 155 lv_obj_t * btn_del = lv_btn_create(par); in lv_example_anim_timeline_1() local 156 lv_obj_add_event_cb(btn_del, btn_del_event_handler, LV_EVENT_CLICKED, NULL); in lv_example_anim_timeline_1() 157 lv_obj_add_flag(btn_del, LV_OBJ_FLAG_IGNORE_LAYOUT); in lv_example_anim_timeline_1() 158 lv_obj_align(btn_del, LV_ALIGN_TOP_MID, 0, 20); in lv_example_anim_timeline_1() 160 lv_obj_t * label_del = lv_label_create(btn_del); in lv_example_anim_timeline_1()
|
D | lv_example_anim_timeline_1.py | 24 self.btn_del = lv.btn(self.par) 25 self.btn_del.add_event_cb(self.btn_del_event_handler, lv.EVENT.CLICKED, None) 26 self.btn_del.add_flag(lv.obj.FLAG.IGNORE_LAYOUT) 27 self.btn_del.align(lv.ALIGN.TOP_MID, 50, 20) 29 self.label_del = lv.label(self.btn_del)
|