changeset 36 | caf927c3f10b |
parent 34 | e3beacd5e536 |
child 38 | c6e170452c7f |
--- a/tuikit/container.py Sun Dec 16 21:04:03 2012 +0100 +++ b/tuikit/container.py Mon Dec 17 00:24:34 2012 +0100 @@ -82,7 +82,6 @@ if keyname == 'tab': return self.focusnext() - def on_resize(self): super().on_resize() for child in self.children: @@ -90,6 +89,12 @@ def draw(self, driver, x, y): + """Draw the container and its children. + + This method should not be overriden by subclasses, + use on_draw instead. + + """ if self.hidden: return True