def remove(self, client): self.restore(client) Layout.remove(self, client) for leaf in self.root.childs(): if leaf.client == client: leaf.parent.remove_child(leaf) break
def remove(self, client): self.restore(client) Layout.remove(self, client) for leaf in self.root.childs(): if leaf.client == client: leaf.parent.remove_child(leaf) break
def remove_one(self, client): Layout.remove(self, client)