(parent)
| 491 | |
| 492 | |
| 493 | def _tree_widget(parent): # htest # |
| 494 | top = Toplevel(parent) |
| 495 | x, y = map(int, parent.geometry().split('+')[1:]) |
| 496 | top.geometry("+%d+%d" % (x+50, y+175)) |
| 497 | sc = ScrolledCanvas(top, bg="white", highlightthickness=0, takefocus=1) |
| 498 | sc.frame.pack(expand=1, fill="both", side=LEFT) |
| 499 | item = FileTreeItem(ICONDIR) |
| 500 | node = TreeNode(sc.canvas, None, item) |
| 501 | node.expand() |
| 502 | |
| 503 | |
| 504 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected
searching dependent graphs…