code: def handle_search_terminated(self, event):
      # todo: refactor the model such that it is less state sensitive
      results = self.model.get_results()
      self.write_results(results)
      self.status["text"] = ""
      if len(results) == 0:
          self.status["text"] = (
              "No results found for " + self.model.query
          )
      else:
          self.current_page = self.model.last_requested_page
      self.unfreeze_editable()
      self.results_box.xview_moveto(self._FRACTION_LEFT_TEXT)
  
imports: import queue
  import re
  import threading
  from tkinter import END, LEFT, SUNKEN, Button, Entry, Frame, IntVar, Label, Menu, OptionMenu, Scrollbar, StringVar, Text, Tk
  from tkinter.font import Font
  from nltk.corpus import alpino, brown, cess_cat, cess_esp, floresta, indian, mac_morpho, nps_chat, sinica_treebank, treebank
  from nltk.draw.util import ShowText
  from nltk.util import in_idle
label_desc: Use image node_id 21 for calling the ConcordanceSearchView obj's underlying member method code with example usage: obj.handle_search_terminated(event) without return types