示例#1
0
 def info(self):
     d = Layout.info(self)
     d["rows"] = [[win.name for win in self.get_row(i)]
                  for i in xrange(self.get_num_rows())]
     d["current_window"] = self.current_window
     d["clients"] = [x.name for x in self.clients]
     return d
示例#2
0
 def info(self):
     d = Layout.info(self)
     d["rows"] = [
         [win.name for win in self.get_row(i)]
         for i in xrange(self.get_num_rows())
     ]
     d["current_window"] = self.current_window
     d["clients"] = [x.name for x in self.clients]
     return d
示例#3
0
文件: stack.py 项目: Dieterbe/qtile
 def info(self):
     d = Layout.info(self)
     d["stacks"] = [i.info() for i in self.stacks]
     d["current_stack"] = self.currentStackOffset
     return d
示例#4
0
 def info(self):
     d = Layout.info(self)
     d["stacks"] = [i.info() for i in self.stacks]
     d["current_stack"] = self.currentStackOffset
     d["clients"] = [c.name for c in self.clients]
     return d
示例#5
0
 def info(self):
     d = Layout.info(self)
     d["clients"] = [x.name for x in self.clients]
     return d
示例#6
0
文件: floating.py 项目: Echota/qtile
 def info(self):
     d = Layout.info(self)
     d["clients"] = [i.name for i in self.clients]
     return d
示例#7
0
 def info(self):
     d = Layout.info(self)
     d["stacks"] = [i.info() for i in self.stacks]
     d["current_stack"] = self.currentStackOffset
     return d
示例#8
0
文件: tree.py 项目: bl4ckb1rd/qtile
 def info(self):
     d = Layout.info(self)
     d["clients"] = [i.name for i in self._nodes]
     d["sections"] = [i.title for i in self._tree.children]
     return d