Lines Matching refs:lv
2 import lvgl as lv namespace
7 if code == lv.EVENT.CLICKED:
11 list1 = lv.list(lv.scr_act())
17 btn_new = list1.add_btn(lv.SYMBOL.FILE, "New")
18 btn_new.add_event_cb(event_handler,lv.EVENT.ALL, None)
19 btn_open = list1.add_btn(lv.SYMBOL.DIRECTORY, "Open")
20 btn_open.add_event_cb(event_handler,lv.EVENT.ALL, None)
21 btn_save = list1.add_btn(lv.SYMBOL.SAVE, "Save")
22 btn_save.add_event_cb(event_handler,lv.EVENT.ALL, None)
23 btn_delete = list1.add_btn(lv.SYMBOL.CLOSE, "Delete")
24 btn_delete.add_event_cb(event_handler,lv.EVENT.ALL, None)
25 btn_edit = list1.add_btn(lv.SYMBOL.EDIT, "Edit")
26 btn_edit.add_event_cb(event_handler,lv.EVENT.ALL, None)
29 btn_bluetooth = list1.add_btn(lv.SYMBOL.BLUETOOTH, "Bluetooth")
30 btn_bluetooth.add_event_cb(event_handler,lv.EVENT.ALL, None)
31 btn_navig = list1.add_btn(lv.SYMBOL.GPS, "Navigation")
32 btn_navig.add_event_cb(event_handler,lv.EVENT.ALL, None)
33 btn_USB = list1.add_btn(lv.SYMBOL.USB, "USB")
34 btn_USB.add_event_cb(event_handler,lv.EVENT.ALL, None)
35 btn_battery = list1.add_btn(lv.SYMBOL.BATTERY_FULL, "Battery")
36 btn_battery.add_event_cb(event_handler,lv.EVENT.ALL, None)
39 btn_apply = list1.add_btn(lv.SYMBOL.OK, "Apply")
40 btn_apply.add_event_cb(event_handler,lv.EVENT.ALL, None)
41 btn_close = list1.add_btn(lv.SYMBOL.CLOSE, "Close")
42 btn_close.add_event_cb(event_handler,lv.EVENT.ALL, None)