| Total Complexity | 2 |
| Total Lines | 11 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | import tkinter |
||
| 9 | class TrueFalseWidget(MyWidget): # pragma : no cover |
||
| 10 | def __init__(self, label): |
||
| 11 | super(TrueFalseWidget, self).__init__(label) |
||
| 12 | self.widget = None |
||
| 13 | self.labelw = None |
||
| 14 | |||
| 15 | def draw(self, root, line): |
||
| 16 | self.widget = tkinter.Checkbutton(root) |
||
| 17 | self.widget.grid(column=1, row=line, sticky=tkinter.NSEW) |
||
| 18 | self.labelw = tkinter.Label(root, text=self.label, justify=tkinter.LEFT) |
||
| 19 | self.labelw.grid(column=2, row=line, sticky=tkinter.NSEW) |
||
| 20 | |||
| 29 |