parameters: (self, parent, title, text, modal=True)
docstring: Show the given text in a scrollable window with a 'close' button
docstring_summary: Show the given text in a scrollable window with a 'close' button
docstring_tokens: Show the given text in a scrollable window with a close button
function: def __init__(self, parent, title, text, modal=True):
          """Show the given text in a scrollable window with a 'close' button
  
          """
          Toplevel.__init__(self, parent)
          self.configure(borderwidth=5)
          self.geometry("=%dx%d+%d+%d" % (625, 500,
                                          parent.winfo_rootx() + 10,
                                          parent.winfo_rooty() + 10))
          #elguavas - config placeholders til config stuff completed
          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()
          #key bindings for this dialog
          self.bind('<Return>',self.Ok) #dismiss dialog
          self.bind('<Escape>',self.Ok) #dismiss dialog
          self.textView.insert(0.0, text)
          self.textView.config(state=DISABLED)
  
          if modal:
              self.transient(parent)
              self.grab_set()
              self.wait_window()
function_tokens: def __init__ ( self , parent , title , text , modal = True ) : Toplevel . __init__ ( self , parent ) self . configure ( borderwidth = 5 ) self . geometry ( "=%dx%d+%d+%d" % ( 625 , 500 , parent . winfo_rootx ( ) + 10 , parent . winfo_rooty ( ) + 10 ) ) #elguavas - config placeholders til config stuff completed 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 ( ) #key bindings for this dialog self . bind ( '<Return>' , self . Ok ) #dismiss dialog self . bind ( '<Escape>' , self . Ok ) #dismiss dialog self . textView . insert ( 0.0 , text ) self . textView . config ( state = DISABLED ) if modal : self . transient ( parent ) self . grab_set ( ) self . wait_window ( )