

def raise_app(self, app):
    app_zi = self.window_zindex[app.identifier]
    for t in self.window_zindex.keys():
        w = self.window[t]
        zi = self.window_zindex[t]
        if (zi > app_zi):
            self.set_app_zindex(t, (zi - 1))
    app_zi = (len(app_zi.window) - 1)
    self.set_app_zindex(app.identifier, app_zi)

dataset/ETHPy150Open anandology/pyjamas/examples/shell/Screen.py Screen.raise_app/VarMisuse@83/108 `self`->`app_zi`