Anonymous
public python v1 · immutablein the main program I do:w = pyvcp_scale(master, pycomp,fromval=0, toval=100,resolutionval=0.1,halpin="myscale")w.pack()and this is the class definition:class pyvcp_scale(Scale): " (control) a slider " def __init__(self,master,pycomp,fromval=0,toval=100,resolutionval=1,halpin="pyvcp_scale"): Scale.__init__(self,master,from_=fromval,to=toval,resolution=resolutionval)