tuikit/layout.py
changeset 41 37b7dfc3eae6
parent 40 5faa38c10b67
child 45 43b2279b06e1
equal deleted inserted replaced
40:5faa38c10b67 41:37b7dfc3eae6
    23     @container.setter
    23     @container.setter
    24     def container(self, value):
    24     def container(self, value):
    25         self._container = value
    25         self._container = value
    26         self._container.connect('resize', self._on_container_resize)
    26         self._container.connect('resize', self._on_container_resize)
    27 
    27 
    28     def _on_container_resize(self, eo):
    28     def _on_container_resize(self, ev):
    29         self.resize()
    29         self.resize()
    30 
    30 
    31     def _getchildren(self):
    31     def _getchildren(self):
    32         return [child for child in self.container.children
    32         return [child for child in self.container.children
    33             if child.allow_layout and not child.hidden]
    33             if child.allow_layout and not child.hidden]