docs: def highlight(self, rect, color="red", seconds=None):
          """ Simulates a transparent rectangle over the specified ``rect`` on the screen.
  
          Actually takes a screenshot of the region and displays with a
          rectangle border in a borderless window (due to Tkinter limitations)
  
          If a Tkinter root window has already been created somewhere else,
          uses that instead of creating a new one.
          """
          if tk._default_root is None:
              Debug.log(3, "Creating new temporary Tkinter root")
              temporary_root = True
              root = tk.Tk()
              root.withdraw()
          else:
              Debug.log(3, "Borrowing existing Tkinter root")
              temporary_root = False
              root = tk._default_root
          image_to_show = self.getBitmapFromRect(*rect)
          app = highlightWindow(root, rect, color, image_to_show)
          if seconds == 0:
              t = threading.Thread(target=app.do_until_timeout)
              t.start()
              return app
          app.do_until_timeout(seconds)