code: def child_removed(self, child):
          
          super(UiKitView, self).child_removed(child)
          if child.widget is not None:
              child.widget.removeFromSuperview()
docs: Handle the child removed event from the declaration.
  
          This handler will unparent the child toolkit widget. Subclasses
          which need more control should reimplement this method.