code: def get_title(self):
          
          def _title(context_model):
              context = context_model.context()
              if context is None:
                  return "new context*"
              title = os.path.basename(context.load_path) if context.load_path \
                  else "new context"
              if context_model.is_modified():
                  title += '*'
              return title
  
          if self.diff_mode:
              diff_title = _title(self.diff_context_model)
              if self.diff_from_source:
                  diff_title += "'"
              return "%s  %s  %s" % (_title(self.context_model),
                                     self.short_double_arrow, diff_title)
          else:
              return _title(self.context_model)
docs: Returns a string suitable for titling a window containing this table.