12 Frame.__init__(self, master)
26 Scale(self, label=channel[0], variable=self.
var[i],
27 to=channel[1], orient=VERTICAL))
28 self.
scales[i][
"from"] = channel[2]
29 self.
scales[i][
"resolution"] = channel[3]
30 self.
scales[i][
"length"] = channel[4]
31 self.
scales[i].pack(side=LEFT)
52 channels = ((
"angle", 0, 360, 0.1, 200), (
"velocity", -100, 100, 0.1, 200))
54 sth = dummy_threading.Thread(target=slider.mainloop, args=())
63 if __name__ ==
'__main__':
test()
def __init__(self, channels, master=None)