

def remove(self, widget):
    (idx, subwin) = self._widget_to_index(widget)
    if (subwin is not None):
        self.children.remove(subwin)
        self.cur_index = (- 1)
        frame = subwin.frame
        super(MDIWidget, self).remove(frame)
        subwin.unparent()

dataset/ETHPy150Open ejeschke/ginga/ginga/gtkw/GtkHelp.py MDIWidget.remove/VarMisuse@71/83 `widget`->`subwin`