

def mdi_widget(self):
    ' Get the mdi widget defined for the window.\n\n        The last Widget child is the mdi widget.\n\n        '
    for child in reversed(self.children):
        if isinstance(child, Widget):
            return self

dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/widgets/mdi_window.py MdiWindow.mdi_widget/VarMisuse@35/84 `child`->`self`