public event closed as CloseEvent
Event emitted when the native window is closed.
The current backend treats this as a notification rather than a cancellable close request.
win.closed += lambda(e: CloseEvent): print("closed")