Penguin
Blame: SDL_QuitEvent(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_QuitEvent(3) version 2, including all changes. View license author blame.
Rev Author # Line
2 perry 1 SDL_!QuitEvent
2 !!!SDL_!QuitEvent
1 perry 3 NAME
4 STRUCTURE DEFINITION
5 STRUCTURE DATA
6 DESCRIPTION
7 SEE ALSO
8 ----
9 !!NAME
10
11
2 perry 12 SDL_!QuitEvent- Quit requested event
1 perry 13 !!STRUCTURE DEFINITION
14
15
16 typedef struct{
17 Uint8 type
2 perry 18 } SDL_!QuitEvent;
1 perry 19 !!STRUCTURE DATA
20
21
22 __type SDL_QUIT__
23 !!DESCRIPTION
24
25
2 perry 26 __SDL_!QuitEvent__ is a member of the __SDL_Event__
1 perry 27 union and is used whan an event of type __SDL_QUIT__ is
28 reported.
29
30
2 perry 31 As can be seen, the SDL_!QuitEvent structure serves no useful
1 perry 32 purpose. The event itself, on the other hand, is very
33 important. If you filter out or ignore a quit event then it
34 is impossible for the user to close the window. On the other
35 hand, if you do accept a quit event then the application
36 window will be closed, and screen updates will still report
37 success event though the application will no longer be
38 visible.
39
40
41 __Note:__
42
43
2 perry 44 The macro __SDL_!QuitRequested__ will return non-zero if a
1 perry 45 quit event is pending
46 !!SEE ALSO
47
48
2 perry 49 __SDL_Event__, __SDL_!SetEventFilter__
1 perry 50 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.