All pastes #298071 Raw Edit

Anonymous

public python v1 · immutable
#298071 ·published 2006-12-31 15:09 UTC
rendered paste body
in 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)