code: def remove_child(self, child):
          
          self.children.remove(child)
          child.parent = None
  
          if self.view and self.view.is_loaded:
              self.view.dispatch({
                  'name': 'remove',
                  'selector': '#' + child.id
              })
docs: Remove a child widget from this widget.
  
          :param child: Object inheriting :class:`BaseElement`