(self, event)
| 202 | |
| 203 | |
| 204 | def onResize(self, event): |
| 205 | cwidth = self.canvas.winfo_width() |
| 206 | cheight = self.canvas.winfo_height() |
| 207 | self.canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth) |
| 208 | self.canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight) |
| 209 | |
| 210 | def makeTextFrame(self, root): |
| 211 | self.text_frame = text_frame = Frame(root) |
nothing calls this directly
no test coverage detected