MCPcopy
hub / github.com/qtile/qtile / __init__

Method __init__

libqtile/layout/stack.py:64–70  ·  view source on GitHub ↗
(self, **config)

Source from the content-addressed store, hash-verified

62 ]
63
64 def __init__(self, **config):
65 Layout.__init__(self, **config)
66 self.add_defaults(Stack.defaults)
67 if self.num_stacks <= 0:
68 # Catch stupid mistakes early and generate a useful message
69 raise ValueError("num_stacks must be at least 1")
70 self.stacks = [_WinStack(autosplit=self.autosplit) for i in range(self.num_stacks)]
71
72 @property
73 def current_stack(self):

Callers 1

__init__Method · 0.45

Calls 2

_WinStackClass · 0.85
add_defaultsMethod · 0.80

Tested by

no test coverage detected