Fix a problem with Tkinter Buttons in Mojave. See https://stackoverflow.com/questions/52529403/button-text-of-tkinter-not-works-in-mojave
(self)
| 83 | self.childWindow.after(0, self.fix) |
| 84 | |
| 85 | def fix(self): |
| 86 | """ |
| 87 | Fix a problem with Tkinter Buttons in Mojave. |
| 88 | See https://stackoverflow.com/questions/52529403/button-text-of-tkinter-not-works-in-mojave |
| 89 | """ |
| 90 | a = self.childWindow.winfo_geometry().split('+')[0] |
| 91 | b = a.split('x') |
| 92 | w = int(b[0]) |
| 93 | h = int(b[1]) |
| 94 | self.childWindow.geometry('%dx%d' % (w + 1, h + 1)) |
| 95 | |
| 96 | def createKeycodeTab(self): |
| 97 | ''' KEYCODE ''' |
no outgoing calls
no test coverage detected