summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/ObjectBrowser.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-05-29 05:46:26 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-05-29 05:46:26 (GMT)
commit2e8234a5975a79773584220a8f4d61f5fc5cf8e9 (patch)
tree8437423a36234e530e2eee40d7c8a6e5846a1a40 /Lib/idlelib/ObjectBrowser.py
parenta5b257af22976b9fdeb1907f8d0c50ef9b97facb (diff)
downloadcpython-2e8234a5975a79773584220a8f4d61f5fc5cf8e9.zip
cpython-2e8234a5975a79773584220a8f4d61f5fc5cf8e9.tar.gz
cpython-2e8234a5975a79773584220a8f4d61f5fc5cf8e9.tar.bz2
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 0f3c1bc..7b57aa4 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)