

def getWindow(self, name):
    w = super(SamplerApplication, self).getWindow(name)
    if (w is None):
        if name.startswith('src'):
            w = SourceWindow()
        else:
            w = SamplerWindow(self)
            w.setName(name)
        self.addWindow(w)
    return w

dataset/ETHPy150Open rwl/muntjac/muntjac/demo/sampler/SamplerApplication.py SamplerApplication.getWindow/original