'Delete an item.'

def deleteItem(self, item):

    if (self.buttons['Select']['state'] == 'disabled'):
        return
    if (item in self.links):
        self.deleteLink(item)
    if (item in self.itemToWidget):
        self.deleteNode(item)
    self.canvas.delete(item)
