

def remove(self, widget):
    if isinstance(widget, int):
        widget = self.getWidget(widget)
    if (widget.getParent() != widget):
        return False
    td = DOM.getParent(widget.getElement())
    DOM.removeChild(self.tableRow, td)
    CellPanel.remove(self, widget)
    return True

dataset/ETHPy150Open anandology/pyjamas/library/gwt/ui/HorizontalPanel.py HorizontalPanel.remove/VarMisuse@40/44 `self`->`widget`