Class: SDL2::Event::Quit
- Inherits:
-
SDL2::Event
- Object
- SDL2::Event
- SDL2::Event::Quit
- Defined in:
- event.c,
event.c
Overview
This class represents the quit requested event.
This event occurs when a user try to close window, command-Q on OS X, or any other quit request by a user. Normally if your application receive this event, the application should exit. But the application can query something to the users like “save”, or ignore it.