summaryrefslogtreecommitdiff
path: root/Lib/idlelib/ObjectBrowser.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-05-29 01:46:26 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2014-05-29 01:46:26 -0400
commit2e8234a5975a79773584220a8f4d61f5fc5cf8e9 (patch)
tree8437423a36234e530e2eee40d7c8a6e5846a1a40 /Lib/idlelib/ObjectBrowser.py
parenta5b257af22976b9fdeb1907f8d0c50ef9b97facb (diff)
downloadcpython-git-2e8234a5975a79773584220a8f4d61f5fc5cf8e9.tar.gz
Issue #21477: Add htests for GrepDialog, UndoDelegator, and configDialog.
Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.
Diffstat (limited to 'Lib/idlelib/ObjectBrowser.py')
-rw-r--r--Lib/idlelib/ObjectBrowser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/ObjectBrowser.py b/Lib/idlelib/ObjectBrowser.py
index 0f3c1bc330..7b57aa4c68 100644
--- a/Lib/idlelib/ObjectBrowser.py
+++ b/Lib/idlelib/ObjectBrowser.py
@@ -126,8 +126,9 @@ def _object_browser(parent):
import sys
from tkinter import Tk
root = Tk()
+ root.title("Test ObjectBrowser")
width, height, x, y = list(map(int, re.split('[x+]', parent.geometry())))
- root.geometry("+%d+%d"%(x, y + 100))
+ root.geometry("+%d+%d"%(x, y + 150))
root.configure(bd=0, bg="yellow")
root.focus_set()
sc = ScrolledCanvas(root, bg="white", highlightthickness=0, takefocus=1)