code: def _show_final_overflow_message(self, row_overflow, col_overflow):
          
  
          if row_overflow and col_overflow:
              overflow_cause = _("rows and columns")
          elif row_overflow:
              overflow_cause = _("rows")
          elif col_overflow:
              overflow_cause = _("columns")
          else:
              raise AssertionError(_("Import cell overflow missing"))
  
          statustext = \
              _("The imported data did not fit into the grid {cause}. "
                "It has been truncated. Use a larger grid for full import.").\
              format(cause=overflow_cause)
          post_command_event(self.main_window, self.StatusBarMsg,
                             text=statustext)
docs: Displays overflow message after import in statusbar