Пиглет на близком

@window.event       
def on_close():
    print("Window has been closed")
Distinct Dotterel