| Total Complexity | 2 |
| Total Lines | 7 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | import tkinter |
||
| 22 | class ScaleWidget(tkinter.Frame): # pragma : no cover |
||
| 23 | def __init__(self, master, label, min_, max_, redundancy=0): |
||
| 24 | super(ScaleWidget, self).__init__(master) |
||
| 25 | self.min = min_ |
||
| 26 | self.max = max_ |
||
| 27 | self.variables = [tkinter.Entry(master, width=2) for _ in range(redundancy + 1)] |
||
| 28 | self.label = tkinter.Label(master, text=label) |
||
| 29 |