lvgl_cpp/examples/widgets/bar/lv_example_bar_1.py

6 lines
98 B
Python

bar1 = lv.bar(lv.scr_act())
bar1.set_size(200, 20)
bar1.center()
bar1.set_value(70, lv.ANIM.OFF)