Package io.github.libsdl4j.api.quit
Class SdlQuit
- java.lang.Object
-
- io.github.libsdl4j.api.quit.SdlQuit
-
public final class SdlQuit extends Object
Definitions from file SDL_quit.hInclude file for SDL quit event handling.
An
SDL_QUIT
event is generated when the user tries to close the application window. If it is ignored or filtered out, the window will remain open. If it is not ignored or filtered, it is queued normally and the window is allowed to close. When the window is closed, screen updates will complete, but have no effect.SDL_Init() installs signal handlers for SIGINT (keyboard interrupt) and SIGTERM (system termination request), if handlers do not already exist, that generate
SDL_QUIT
events as well. There is no way to determine the cause of anSDL_QUIT
event, but setting a signal handler in your application will override the default generation of quit events for that signal.- See Also:
SDL_Quit()
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
SDL_QuitRequested()
-