Пример #1
0
 def clone(self, group):
     c = Layout.clone(self, group)
     # These are mutable
     c.stacks = [_WinStack() for i in self.stacks]
     for stack in c.stacks:
         if self.autosplit:
             stack.split = True
     return c
Пример #2
0
 def clone(self, group):
     c = Layout.clone(self, group)
     # These are mutable
     c.stacks = [_WinStack() for i in self.stacks]
     return c
Пример #3
0
 def clone(self, group):
     c = Layout.clone(self, group)
     c.clients = []
     return c
Пример #4
0
 def clone(self, group):
     c = Layout.clone(self, group)
     c.windows = []
     return c
Пример #5
0
 def clone(self, group):
     c = Layout.clone(self, group)
     c.windows = []
     return c
Пример #6
0
 def clone(self, group):
     res = Layout.clone(self, group)
     res._slice = self._slice.clone(group)
     res._fallback = self._fallback.clone(group)
     res._window = None
     return res
Пример #7
0
 def clone(self, group):
     c = Layout.clone(self, group)
     c.clients = []
     return c
Пример #8
0
 def clone(self, group):
     c = Layout.clone(self, group)
     # These are mutable
     c.stacks = [_WinStack() for i in self.stacks]
     return c
Пример #9
0
 def clone(self, group):
     res = Layout.clone(self, group)
     res._slice = self._slice.clone(group)
     res._fallback = self._fallback.clone(group)
     res._window = None
     return res
Пример #10
0
 def clone(self, group):
     c = Layout.clone(self, group)
     c._focused = None
     c._panel = None
     c._tree = Root(self.sections)
     return c