diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-05-27 07:30:54 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-05-27 07:30:54 (GMT) |
commit | 0a4d13e87e0272085ed920b284f7245f01137cb3 (patch) | |
tree | ed71eb2dca6a3e61b9cc76f065bbcaea44ca25a6 /Lib/idlelib/TreeWidget.py | |
parent | aa7886dd3fd56f02a4f5ef239c869e97cbde4a57 (diff) | |
download | cpython-0a4d13e87e0272085ed920b284f7245f01137cb3.zip cpython-0a4d13e87e0272085ed920b284f7245f01137cb3.tar.gz cpython-0a4d13e87e0272085ed920b284f7245f01137cb3.tar.bz2 |
Issue #21477: Add htests for Search and Replace dialogs.
Patch by Saimadhav Heblikar.
Diffstat (limited to 'Lib/idlelib/TreeWidget.py')
-rw-r--r-- | Lib/idlelib/TreeWidget.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/idlelib/TreeWidget.py b/Lib/idlelib/TreeWidget.py index 2ae6555..f05011d 100644 --- a/Lib/idlelib/TreeWidget.py +++ b/Lib/idlelib/TreeWidget.py @@ -453,20 +453,11 @@ def _tree_widget(parent): root.title("Test TreeWidget") width, height, x, y = list(map(int, re.split('[x+]', parent.geometry()))) root.geometry("+%d+%d"%(x, y + 150)) - # test with scrollable canvas sc = ScrolledCanvas(root, bg="white", highlightthickness=0, takefocus=1) sc.frame.pack(expand=1, fill="both", side=LEFT) item = FileTreeItem(os.getcwd()) node = TreeNode(sc.canvas, None, item) node.expand() - - # test without scrollable canvas - canvas = Canvas(root, bg="white", highlightthickness=0) - canvas.pack(expand=0, fill="both", side=RIGHT) - item = FileTreeItem(os.getcwd()) - node = TreeNode(canvas, None, item) - node.update() - root.mainloop() if __name__ == '__main__': |