(self, autoresize)
Must be called on the highest ancestor in one given orientation
Must be called on the highest ancestor in one given orientation
Must be called on the highest ancestor in one given orientation
def set_autoresize(self, autoresize):
        """Must be called on the highest ancestor in one given orientation"""
        """TODO write some better doc :)"""
        maker = Factory()
        children = self.get_children()
        self.child_set_property(children[0], 'resize', False)
        self.child_set_property(children[1], 'resize', not autoresize)
        for child in children:
            if maker.type(child) == maker.type(self):
                child.set_autoresize(autoresize)
def set_autoresize ( self , autoresize ) : """TODO write some better doc :)""" maker = Factory ( ) children = self . get_children ( ) self . child_set_property ( children [ 0 ] , 'resize' , False ) self . child_set_property ( children [ 1 ] , 'resize' , not autoresize ) for child in children : if maker . type ( child ) == maker . type ( self ) : child . set_autoresize ( autoresize )