Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
SDL_ActiveEvent(3) | SDL API Reference | SDL_ActiveEvent(3) |
NAME
SDL_ActiveEvent - Application visibility event structureSTRUCTURE DATA
- type
- SDL_ACTIVEEVENT.
- gain
- 0 if the event is a loss or 1 if it is a gain.
- state
- SDL_APPMOUSEFOCUS if mouse focus was gained or lost, SDL_APPINPUTFOCUS if input focus was gained or lost, or SDL_APPACTIVE if the application was iconified (gain=0) or restored(gain=1).
DESCRIPTION
SDL_ActiveEvent is a member of the SDL_Event union and is used when an event of type SDL_ACTIVEEVENT is reported.
Note:
This event does not occur when an application window is first created.
SEE ALSO
SDL_Event, SDL_GetAppStateTue 11 Sep 2001, 22:59 | SDL |