GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SDL_QUITEVENT (3)

NAME

SDL_QuitEvent - Quit requested event

CONTENTS

STRUCTURE DEFINITION

typedef struct{
  Uint8 type
} SDL_QuitEvent;

STRUCTURE DATA

type SDL_QUIT

DESCRIPTION

SDL_QuitEvent is a member of the 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

SEE ALSO

SDL_Event, SDL_SetEventFilter

Search for    or go to Top of page |  Section 3 |  Main Index


SDL SDL_QUITEVENT (3) Tue 11 Sep 2001, 22:59

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.