'Show the given text in a scrollable window with a \'close\' button
If modal option set to False, user can interact with other windows,
otherwise they will be unable to interact with other windows until
the textview window is closed.
_htest - bool; change box location when running htest.'

def __init__(self, parent, title, text, modal=True, _htest=False):

    Toplevel.__init__(self, parent)
    self.configure(borderwidth=5)
    self.geometry(('=%dx%d+%d+%d' % (625, 500, (parent.winfo_rootx() + 10), (parent.winfo_rooty() + (10 if (not _htest) else 100)))))
    self.bg = '#ffffff'
    self.fg = '#000000'
    self.CreateWidgets()
    self.title(title)
    self.protocol('WM_DELETE_WINDOW', self.Ok)
    self.parent = parent
    self.textView.focus_set()
    self.bind('<Return>', self.Ok)
    self.bind('<Escape>', self.Ok)
    self.textView.insert(0.0, text)
    self.textView.config(state=DISABLED)
    if modal:
        self.transient(parent)
        self.grab_set()
        self.wait_window()
