Quit requested event
For a list of all members of this type, see Sdl.SDL_QuitEvent Members.
System.Object
System.ValueType
Tao.Sdl.Sdl.SDL_QuitEvent
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
SDL_QuitEvent is a member of the Sdl.SDL_Event union and is used whan an event of type SDL_QUIT is reported.
As can be seen, the SDL_QuitEvent structure serves no useful purpose. The event itself, on the other hand, is very important. If you filter out or ignore a quit event then it is impossible for the user to close the window. On the other hand, if you do accept a quit event then the application window will be closed, and screen updates will still report success event though the application will no longer be visible.
Note: The macro SDL_QuitRequested will return non-zero if a quit event is pending
Struct in SDL_events.h
typedef struct{ Uint8 type } SDL_QuitEvent;
Namespace: Tao.Sdl
Assembly: Tao.Sdl (in Tao.Sdl.dll)
Sdl.SDL_QuitEvent Members | Tao.Sdl Namespace | Sdl.SDL_Event | SDL_SetEventFilter