def setSlider(self, f):
	if f > self.max:
	    f = self.max
	if f < 0:
	    f = 0
	self.slider.value = int(f)
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Demo/applet/deprecated/Converter.py/ConversionPanel.setSlider/original