'Remove the given child canvas widget.  ``child``\'s parent will
be set ot None.
:type child: CanvasWidget
:param child: The child canvas widget to remove.'

def remove_child(self, child):

    index = self._children.index(child)
    del self._children[index]
    self._remove_child_widget(child)
    if (len(self._children) > 0):
        self.update(self._children[0])
