comp • gb.sdl2 • window • .close

Event Window.Close (gb.sdl2)

Event Close ( )

This event is raised just before the window is closed, either explicitly (with the Close method) or implicitly (by clicking on the window close button).

If the event is stopped, the window will not be closed.