| Conditions | 3 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | import tkinter |
||
| 5 | def __init__(self, *args, **kwargs): |
||
| 6 | super(CustomFrame, self).__init__(*args, **kwargs) |
||
| 7 | self.bind("<Configure>", self.configure) |
||
| 8 | self.drawn = [] |
||
| 9 | self.height = 0 |
||
| 10 | self.width = 0 |
||
| 11 | if "height" in kwargs: |
||
| 12 | self.height = kwargs["height"] |
||
| 13 | if "width" in kwargs: |
||
| 14 | self.width = kwargs["width"] |
||
| 15 | |||
| 39 |