code: def update_event_types(self):
          
          self.idx_evt_type.clear()
          self.idx_evt_type.setSelectionMode(QAbstractItemView.ExtendedSelection)
          event_types = sorted(self.parent.notes.annot.event_types,
                               key=str.lower)
  
          for ty in event_types:
              item = QListWidgetItem(ty)
              self.idx_evt_type.addItem(item)
docs: Update event types in event type box.