new file:   appwindow.py