code: def removed_tree(self, dirname):
          
          dirname = osp.abspath(to_text_string(dirname))
          for fname in self.get_filenames():
              if osp.abspath(fname).startswith(dirname):
                  self.close_file_from_name(fname)
docs: Directory was removed in project explorer widget