def setActive(self, component, entryID, active): with suppress(KeyError): self._entries[entryID].active = active self.on_update()
def setMatrix(self, component, entryID, matrix): with suppress(KeyError): self._entries[entryID].set_matrix(matrix) self.on_update()
def invoke(self, component, entryID, *signature): with suppress(KeyError): self._entries[entryID].invoke(*signature) self.on_update()
def move(self, component, entryID, container): with suppress(KeyError): self._entries[entryID].container = container self.on_update()
def delEntry(self, component, entryID): with suppress(KeyError): del self._entries[entryID] self.on_update()