示例#1
0
文件: tile.py 项目: BurntSushi/pyndow
    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
示例#2
0
    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
示例#3
0
 def remove_one(self, client):
     Layout.remove(self, client)