equal
deleted
inserted
replaced
7 |
7 |
8 import logging |
8 import logging |
9 |
9 |
10 class Window(AnchorLayout): |
10 class Window(AnchorLayout): |
11 |
11 |
12 '''Window widget. |
12 """Window widget. |
13 |
13 |
14 It represents part of screen with border, close button and contents. |
14 Represents part of screen with border, close button and contents. |
15 Window can be moved, resized or closed by user.''' |
15 Window can be moved, resized or closed by user. |
|
16 |
|
17 """ |
16 |
18 |
17 def __init__(self, inner_layout=AnchorLayout): |
19 def __init__(self, inner_layout=AnchorLayout): |
18 '''Create window of requested size.''' |
20 '''Create window of requested size.''' |
19 AnchorLayout.__init__(self) |
21 AnchorLayout.__init__(self) |
20 self.sizemin.update(8, 3) |
22 self.sizemin.update(8, 3) |