def setWidget(self, widget):
        widget.removeFromParent()
        widget.setParent(self)
        self.widget = widget
        DOM.appendChild(self.getElement(), widget.getElement())
Add child widget
dataset/ETHPy150Open anandology/pyjamas/library/gwt/ui/Anchor.py/Anchor.setWidget