Lines Matching refs:gauge
85 def gauge_anim(a,gauge,val): argument
86 gauge.set_value(0,val)
87 label=gauge.get_child(None)
89 label.align(gauge, lv.ALIGN.CENTER, 0, 0)
363 gauge = lv.gauge(parent, None)
364 gauge.set_drag_parent(True)
365 gauge.set_size(meter_size, meter_size)
366 gauge.add_style(lv.gauge.PART.MAIN, style_box)
367 gauge.set_style_local_value_str(lv.gauge.PART.MAIN, lv.STATE.DEFAULT, "Gauge")
369 label = lv.label(gauge, label)
370 label.align(gauge, lv.ALIGN.CENTER, 0, grid_w_meter // 3)
379 a_ga.set_custom_exec_cb(lambda a, val: gauge_anim(a,gauge,val))