def __init__(self, parent=None): ''' Initialise the list of children to an empty list. ''' VirtualPanel.__init__(self) self._parent = parent self._children = []