code: def go_to_epoch(self, checked=False, test_text_str=None):
          
          if test_text_str is not None:
              time_str = test_text_str
              ok = True
          else:
              time_str, ok = QInputDialog.getText(self,
                                                  'Go To Epoch',
                                                  'Enter start time of the '
                                                  'epoch,\nin seconds ("1560") '
                                                  'or\nas absolute time '
                                                  '("22:30")')
  
          if not ok:
              return
  
          try:
              rec_start_time = self.parent.info.dataset.header['start_time']
              window_start = _convert_timestr_to_seconds(time_str, rec_start_time)
          except ValueError as err:
              error_dialog = QErrorMessage()
              error_dialog.setWindowTitle('Error moving to epoch')
              error_dialog.showMessage(str(err))
              if test_text_str is None:
                  error_dialog.exec()
              self.parent.statusBar().showMessage(str(err))
              return
  
          self.parent.overview.update_position(window_start)
docs: Go to any window