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