Issue #21477: Add htests for GrepDialog, UndoDelegator, and configDialog.

Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.
This commit is contained in:
Terry Jan Reedy 2014-05-29 01:46:26 -04:00
parent a5b257af22
commit 2e8234a597
5 changed files with 108 additions and 21 deletions

View file

@ -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)